GuidesAPI ReferenceRelease Notes
HomeLog InHome
Guides

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 SDK 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"
}

Banner campaign

Banner campaign: an ad unit that serves a static display banner from GAM. Assign it on publish to the Stories or Moments where you want a banner. Unlike IMA and Native campaigns, a banner isn't an ad break — it sits in the player next to the content, for as long as that Story or Moment is on screen.

{
  "name": "BannerDemo",
  "adUnitId": "/22623971234/BannerAdUnit",
  "size": "Banner"
}

size is Banner (320×50). See GAM banner format for the GAM-side setup and Banner ad specs for creative limits.


Did this page help you?