Appearance
TrueX Ad Non-FEP Integration
TrueX ads can also run outside of FEP - integrated through Infillion's publisher-driven JavaScript ad API for websites, AKA client.js. Where FEP integrations deliver ads through your ad server into video ad pods, client.js lets your application code request a TrueX engagement ad directly and render it into your own container, with the reward defined and handled by you.
The ad itself is the same opt-in TrueX product as on FEP: the reward event fires only after the user spends at least 30 seconds on the ad and interacts with it at least once, so user attention is guaranteed. The choice card is an FEP-only feature - on a website, the opt-in is your site's own UI.
Typical use cases: view an ad to get free access to content or a game, earn site tokens, and similar rewarded-access experiences. It is primarily a desktop site integration.
How it works
- Create a client.js instance and check whether Infillion has an ad to show for the current user
- Decide whether to show it, based on your own internal logic
- Create a placeholder container and call
client.loadAdIntoContainer(ad, container) - Handle the TrueX reward event and grant the reward yourself - unlock the content, credit the tokens, etc.
Documentation
For complete integration documentation, please refer to:
Reference Apps
- JSAPIRefApp (iOS & Android)
- JSAPIReferenceApp-iOS
Migration Notice
Full client.js integration documentation will be migrated to this site in a future update. For now, please refer to the links above.

