Authorizations
Path Parameters
The numeric ID of your project
Body
- Custom ad
- Vast ad
Create ad with custom type
The type of ad, either custom or vast. Ads of type custom must have title, url and media fields. Ads of type vast must have title and vast_url fields.
custom Whether the ad should play before/during/after the audio content. Possible values are pre-roll, mid-roll, or post-roll
pre-roll, mid-roll, post-roll The title of the ad
The click-through URL of the custom ad to show in the player
2048The image URL to show in the player while the ad is playing
2048The URL of the audio file of the custom ad to play in the player
2048The URL of the video file of the custom ad to play in the player
2048The color theme to use for the ad when it is playing. Possible values are auto, dark, light. The auto theme is based on the user's light/dark mode system preference.
auto, dark, light The dark theme colors
The light theme colors
The video theme colors
The time range for when the ad should play in the player
Response
successful
Unique identifier for the object
The type of ad, either custom or vast. Ads of type custom must have title, url and media fields. Ads of type vast must have title and vast_url fields.
custom, vast Whether the ad will play in the BeyondWords player
Whether the ad should play before/during/after the audio content. Possible values are pre-roll, mid-roll, or post-roll
pre-roll, mid-roll, post-roll A VAST-compliant URL that contains the ads to be played
2048The title of the ad
The click-through URL of the custom ad to show in the player
2048The image URL to show in the player while the ad is playing
2048The URL of the media file of the custom ad to play in the player
2048The URL of the audio file of the custom ad to play in the player
2048The URL of the video file of the custom ad to play in the player
2048The transcoded media of the custom ad to play in the player This is read-only and generated automatically from the media_url.
The transcoded media of the custom ad to play in the player This is read-only and generated automatically from the media_url.
The array of video files.
The color theme to use for the ad when it is playing. Possible values are auto, dark, light. The auto theme is based on the user's light/dark mode system preference.
auto, dark, light The dark theme colors
The light theme colors
The video theme colors
The time range for when the ad should play in the player
Time at which the object was created (ISO 8601)
Time at which the object was updated (ISO 8601)