Attention Measurement
What to do if you don’t use the following adServer: GAM, Smart AdServer, Appnexus.
Natively supported ad servers
The attention measurement of each placement has to be collected during the entire user’s visit.
In order to be synced with the reports provided by your ad server, we listen to the events it produces and start our measurer on the one best fit the moment an ad is rendered on the page.
Supported Ad Servers
Google Ad Manager (via Google Publisher Tag)
slotRenderEnded
Smart AdServer
load
Appnexus (via Xandr)
adLoaded
Integration with other ad servers
The following information explains the generic process to interface not natively supported ad server with Adagio. You need to get in touch with your Adagio Support contact csm@adagio.io in order to validate the setup.
For ad servers who are not natively supported, it is up to the proprietary ad server owner (or the publisher) to provide the signal to start a measurer for a placement when the creative is rendered.
Adagio requires the following information:
a flag which determines if the ad-server response is empty (no creative to render)
the
idattribute of the HTML element in which the creative is rendered. This should match the parameteradUnitElementIdin Adagio’s bidder configuration.the id of the ad server creative
the size of the creative served
To start a measurer, call the Prebid.js adagioBidAdapter function: window.top.ADAGIO.queue.push(queueOptions) (see definitions below).
Definition ADAGIO.queue.push
Type: (options: queueOptions) => void
queueOptions
The AdagioQueue accepts only a few whitelisted actions. The queueOptions object provides the params that are related.
queueOptions.action
Type: string
The Adagio action name to trigger. This name has to be whitelisted by Adagio.
queueOptions.dataType: object
A generic object to pass any data. Each action has a specific data object which fits the needs of the action.
queueOptions.tsType: number
The timestamp on which the push() function is called. It should always be Date.now().
Definition Custom Event detail
The custom event dispatched by the ad server owner (or publisher) must implement the following properties.
detail.isEmpty
Type: boolean
The ad server sent an empty response (no creative to render)
detail.elementId
Type: string
The id attribute of the HTML element in which the creative is rendered. This id should match the parameter adUnitElementId in Adagio’s bidder configuration.
detail.creativeId
Type: string
The id of the ad server creative
detail.creativeSize
Type: string|array
The size of the served creative. Must match the format width x height or [width, height] where both width and height are numbers.E.g. 300x250, [300,250]
Last updated
Was this helpful?

