Associate Ad Sets with Assets

You can associate ad sets with videos, live streams, and remote assets. For information about creating ad sets, refer to the Backlot User Guide.

Note: For more information about Backlot REST API commands, see the Backlot API Reference.

Associate Ad Set

[PUT]/v2/assets/asset_id/ad_set/ad_set_id

Get Ad Set for an Asset

[GET]/v2/assets/asset_id/ad_set

Remove Ad Set from Asset

[DELETE]/v2/assets/asset_id/ad_set

Examples

This example associates the PROoCi9B2BwPROoCi9B2Bw123 ad set with the IzNnllMjphu2XF3_UgPROoCi9B2rtWs asset:

[PUT]/v2/assets/IzNnllMjphu2XF3_UgPROoCi9B2rtWs/ad_set/PROoCi9B2BwPROoCi9B2Bw123

Backlot returns a 200 response.

Note:

Try out the code samples using your account credentials in the Ooyala Scratchpad. For information about using the Scratchpad, see Practice Making Requests with the Scratchpad. To launch the scratchpad, go to Ooyala API Scratchpad.

Was this article helpful?