GAM ad campaigns
Use campaigns to group ad settings and choose which configuration runs when you publish Stories or Moments in Arena. Attach a campaign as a publish parameter in Rules settings, or when you use Create or Publish content via Clipro.
Campaign types
The Experiences SDK supports multiple campaign types.
IMA (VAST) campaign
IMA campaign: a single VAST tag URL. The Experiences player uses the IMA SDK to request and play the tag. Create a campaign and assign it on publish for Stories where you want VAST ads.
{
"tag": "https://pubads.g.doubleclick.net/gampad/ads?iu=/21775744923/external/single_ad_samples&sz=640x480&cust_params=sample_ct%3Dlinear&ciu_szs=300x250%2C728x90&gdfp_req=1&output=vast&unviewed_position_start=1&env=vp&impl=s&correlator=",
"name": "VASTDemo"
}Native campaign
Native campaign: optional. Use native campaigns to manage multiple ads that vary by content. When the SDK requests an ad from your app, it sends campaign parameters in the request so your app can fetch ads dynamically. Alternatively, you can manage ads in your app and skip campaigns.
Example for mobile custom native
{
"name": "NativeDemo",
"AdUnitId": "/22623971234/NativeAdUnit",
"FormatId": "12289468"
}Example for web custom native
{
"name": "NativeDemo",
"path": "https://securepubads.g.doubleclick.net/tag/js/gpt.js"
}Updated 25 days ago
