Last updated on May 3, 2017
Note: Some features mentioned here may not be available in your region or based on your user roleA grouping of user capabilities that describe the tasks a user can perform in OpenX.. For more information, please contact your OpenX representative.
The purpose of ad units
After you set up your sites, you can create ad units, which represent the specific areas to display ads. Read Getting started: Ad units for ad unitIn OpenX, the smallest inventory component that represents the space on a site where ads display. basics.
You must create an ad unit for each ad size and location on your website or app. You set attributes in the UI that are used to generate 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. for making real-time ad requests.
About ad tags
Each ad unit you create belongs to a single siteAn OpenX component that represents top-level domains or sub-domains and is used to organize ad units. Sites enable you to target and report on inventory performance. and generates an ad tag with a unique identifier, called an ad unit ID, or "auid." Below is an example ad tag, where the blurred section is a placeholder for your instance name.:
For web-based ad units, place this ad tag code in the source code of your sites. For mobile and video ad units, configure your app or video player to communicate the ad requestCommunication from a web browser or app to an ad server to display an ad. to OpenX. For more information on tag types, read about the Ad Request API.
Ad unit type
One of the attributes that you must specify for each ad unit is Ad Unit Type, which defines the delivery mediumThe manner in which an end-user is exposed to ad inventory, such as web or mobile. for the ad unit. Learn more about supported ad unit types in Creating ad units.
For web and email ad units, you must also specify the Tag Type setting, which describes the type of code to use to display ads in your ad space. Available tag types depend on the selected Ad Unit Type setting. That is:
If the Ad Unit Type is Email, then you must use image ad tags to serve ads.
If the Ad Unit Type is Mobile, then you must use structured ad tags to serve ads.