Ad tags

Last updated on July 20, 2018

An ad tagClosedA 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 serverClosedA 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 unitClosedThe smallest inventory component that represents the space on a site where ads display. type, this means you need to do one of the following:

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.