Creating Ad Sets for Integrating with Ad Sources

Instead of using your own assets, you can work with ad networks.

This section describes a general process for setting up ad sets specific to ad sources, including the following:
  1. Google IMA V3
  2. FreeWheel
  3. LiveRail
  4. Adap.TV
  5. Tremor Media
Note: Although you can use the /v2/ad_sets route to create ad sets, including specifying the ad source name, you must use the Backlot UI to edit the configuration settings for the ad source.
Note: The information required differs from ad source to ad source. Always check your ad source's documentation for exact meaning of a field.
  1. Make a POST request to /v2/ad_sets, as shown below.
    [POST]/v2/ad_sets{  
       "name":"My new Ad Set",
       "default":true
    }
    The Backlot API responds with a response similar to the following.
    {  
        "default":"true",
        "id":"ed4a4c6abdfc4ab8aa3e7b8a05f31ec6",
        "ads":[  
           
       ],
        "name":"My new Ad Set"
    }
  2. Associate an ad from your own assets or from any number of ad sources to an ad set.
    [POST]/v2/ad_sets/ed4a4c6abdfc4ab8aa3e7b8a05f31ec6/ads{  
       "ad_source":"assets",
       "ad_type":"preroll",
       "embed_code":"01M2F0MTr3SWBB9dfAPT5xEsg8Gpy-jP",
       "plays_before":0,
       "plays_between":1,
       "click_url":"http://www.myclickurl.com",
       "tracking_pixel_urls":[  
          "http://www.mytrackingpixel.com"
       ]
    }
  3. With the Backlot UI complete the necessary fields for the specific ad source, as detailed in the Backlot User Guide.

Was this article helpful?