Skip to content

SDK 4.x Examples ​

Upcoming: not released yet

TruexAdRenderer-tvOS 4.x is not released yet. The reference app below is built against a pre-release build of the SDK.

The truex-tvos-reference-app repository contains a Swift tvOS app that integrates TrueX and IDVx ads with Google Ad Manager. Each integration is a standalone screen in the app's home menu.

ExampleAd sourceAd break behavior
SSAI + Google Ad ManagerA Google IMA DAI VOD streamGoogle DAI returns one stream with stitched ad breaks. The app detects the Infillion ad by its adSystem, starts TruexAdRenderer, and skips or seeks past the ad break when the renderer is done

The app resolves adParameters from the generic tag (traffickingParameters) first, and from a companion ad second.

NOTE

The app starts the renderer for every ad whose adSystem is truex or idvx, and does not check the ad's position in the pod. In your app, play a TrueX ad that is not the first ad in the pod as a regular linear ad, as described in Resolving adParameters.

Requirements: Xcode 16.1 or later and tvOS 17 or later. Open InfillionAdsRefAppTvOS.xcodeproj in Xcode; Swift Package Manager resolves the dependencies.

For the flow your app has to implement around the renderer, see Integration Flow.

Integration documentation for Infillion Ads