Ad Request API

Last updated on June 14, 2017

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 defines the ad space where you want to display ads. When you place ad tags in your inventory, they send ad requests to OpenX, which sends delivery responses to serve ads. Each ad tag includes parameters describing the inventoryAd space available on a website or app. The basic unit of inventory for OpenX is an ad unit. that advertising campaigns can target. You can customize ad requests to support your particular implementation using the OpenX ad requestCommunication from a web browser or app to an ad server to display an ad. API.

To get started, see Structured ad requests.

Note that for individual ad units ("standalone") or ad unit groupA collection of ad units where related ads display together at the same time. requests, you can typically generate ad tags through the OpenX UI. Use JavaScript ad tags for multi-ad unitThe smallest inventory component that represents the space on a site where ads display. requests as well as standalone and ad unit group requests.