get
https://developer.dacast.com/v2///ads
List all ads configured on a VOD or live channel (VAST url and/or Dacast vod-id creatives).
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
Returns every ad slot configured on the content.
Response shape: { "ads": [ ... ], "IsDefault": false }. When no ads are set, ads is an empty array.
Each item includes ad-type (pre-roll, mid-roll, or post-roll), and either:
- a VAST
urlyou configured, or vod-idplus a generatedurlonads.dacast.comwhen the creative is a Dacast VOD
Mid-roll slots also include timestamp (integer seconds).
Works for resource_type vod and channel. Use Create ads on content to replace the full set, Add ads to content to append, or Remove ads from content to clear all ads.
