Last updated on March 14, 2018
An ad tagA small piece of code that defines the ad space where ads display on a website. It includes parameters that describe the inventory advertising campaigns can target, which may in turn display ads in the ad space. is a small piece of code that includes parameters describing the ad space where you want to display ads.
App video example: When your app requests an ad, the ad tag for a specific demand source will be called based on your mediation setup to return a video ad.
Web example: When a user visits a webpage, ad tags direct their browser to call the ad serverA complete digital advertising platform where publishers sell, manage, and deliver their advertising inventory across all digital formats., which replies with the selected ads in an HTML delivery response, which the user's browser renders.
After you set up ad units for your app or website, you need to retrieve and implement the ad tags so that ads can be served to your ad space. Depending on the ad unitThe smallest inventory component that represents the space on a site where ads display. type, this means you need to do one of the following:
Copy your ad tags and paste them into the source code for your website or app.
- For Video in the Exchange (in Beta), configure and export your VAST ad tagsSynonymous with VAST URL. An HTTP-based URL that enables communication between video players and ad servers. Publishers configure these tags in order to serve video ads on their sites. for linear videoAn ad or ad unit that displays in sequence with video content in a video player. Sequencing may be pre-roll, mid-roll, or post-roll. Can be accompanied by a companion ad. An example is a video ad that plays before a video starts, though static images may also serve. ad units.
To expedite these tasks and save time, OpenX allows you to export multiple ad tags at once.
Tip: You can also customize the ad requests that OpenX uses to serve ads. For example, if your ad space uses SSL/TLS, specify https instead of http in your ad tag's URLs.