ironSource Mobile App VAST Integration
Last updated on July 30, 2020
If you are using the OpenX Ad Exchange and ironSource as a mobile ad server, you can create OpenX VAST ad tags to integrate with ironSource and pass various parameters from custom apps on Android and iOS devices.
The tag you generate by creating a mobile app linear video ad unit in the OpenX user interface (UI) comes with some ironSource macros already appended.
You can include additional ironSource macros in OpenX ad tags to automatically capture other user-specific parameters. However, if you want to define additional inventory-specific parameters, you must do so manually with URL-encoded values.
Sample VAST Ad Tag with ironSource Macros
To view your VAST ad tag, find the linear video ad unit you created in your site Ad Units tab and click the name of the ad unit. You will see the VAST URI for your tag:
The table below summarizes the ironSource macros that OpenX pairs with those parameters. See ironSource’s documentation for macro details (Appendix A).
|Parameter||Macro||This macro dynamically inserts…|
|The app’s App Store or Google Play Store URL.|
|The Google Advertiser Device Identifier or Apple IDFA or from the users’ device.|
|The setting from the user’s device that indicates if private browsing is enabled (if the user has requested not to be tracked).|
|The app’s Bundle ID.|
|The app’s display name.|
|The IP address from the user’s device.|
|The desired ad width.|
|The desired ad height.|
|The service provider of the user’s device.|
|A random integer to avoid browser caching.|
|The device user agent, which typically indicates the app or browser making the request.|
- Paste your new tag into the appropriate location, as described by ironSource’s documentation.
- Set up OpenX selling rules.