Last updated on July 20, 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 Ad Exchange, 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 videoA video ad or ad unit that typically appears in a video player before (pre-roll), after (post-roll), or during a break (mid-roll) in the streamed content. In addition to the in-stream format, linear video ad units may include interstitial, out-stream, and opt-in formats. They may also be accompanied by companion ads and include interactive components. 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.