You are here: Developers > Ad Request API > Mobile ad requests > Passing mobile parameters via JavaScript ad tags

Passing mobile parameters via JavaScript ad tags

Last updated on September 30, 2016

Some ad servers do not provide macrosFor OpenX, a command enclosed in curly braces {} that dynamically inserts attributes into your HTML or third-party ad creatives and click-through URLs when OpenX serves an ad. Other macros, like from your video player, may have alternate formatting. for passing certain information, such as device and location data. OpenX can help you monetize if you pass the following types of information from your app to an OpenX JavaScript tag via your ad serverA complete digital advertising platform where publishers sell, manage, and deliver their advertising inventory across all digital formats.'s SDK:

  • Advertising ID

  • App bundle ID

  • App name

  • App store URL

  • Device ID

  • Location (latitude and longitude)

For example, you can pass parameters from custom apps by Android and iOS devices using the MoPub or DFP JavaScript tag integrations.

Feedback form