Set up Open Ad Server as a destination and send Audience Manager data to that platform.
Standards for code placement, supported key-value formats, reports, and the type of segment data sent to OAS.
This destination type requires the following:
get_aamCookie
Function: Code that captures the Audience Manager user ID and cookie data. Place this code on the top of the page or inside the <head>
codeblock.Audience Manager can send segment data to a browser cookie as follows:
x=1&x=2
);x=1&x=2&y=3&y=4
);x=1,2,3
);The amount data passed in to OAS depends on how many segments a particular user qualifies for. For example, say you set up 100 Audience Manager segments. If a site visitor qualifies for five of them, then only those five segments get sent to OAS (not all 100).
Create a cookie-based destination for OAS in Audience Manager.
In Audience Manager, a destination is any other system (ad server, DSP, ad network, etc.) that you want to share data with. Destination Builder provides the tools that let you create and manage these data delivery processes. Audience Manager destination features are located in Audience Data > Destinations. To get started, click Add New Destination and follow the steps below.
To complete the Basic Information section:
To complete the Configuration section:
.mydomain.com
.To add a segment to a cookie destination:
Modify OAS settings to work with Audience Manager segment data.
To set up OAS
Install DIL code across your site.
Create OAS as a cookie destination in Audience Manager.
Place the get_aamCookie
function at the top of the page, ideally within the <head>
codeblock. The get_aamCookie
code is available here.
Modify your ad tag to call the get_aamCookie
function and include the cookie name you provided when setting up the OAS destination. For example, if you named the cookie test_cookie
, then the ad tag should call get_aamCookie
and reference the cookie name.
Your ad tag could look similar to the example below.
<a href= "https://client.adserver.net/?" + get_aamCookie('test_cookie') +
"&etc&u=" + get_aamCookie('aam_uuid')
Remember to include the u=
variable. It holds the actual unique user ID (UUID) passed in during an ad call.