Create

Creates an ad in a project

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

The numeric ID of your project

Body Params

Create ad with custom type

string
enum
Defaults to custom

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.

Allowed:
string
enum

Whether the ad should play before/during/after the audio content. Possible values are pre-roll, mid-roll, or post-roll

Allowed:
string | null

The title of the ad

string | null

The click-through URL of the custom ad to show in the player

string | null

The image URL to show in the player while the ad is playing

string | null

The URL of the audio file of the custom ad to play in the player

string | null

The URL of the video file of the custom ad to play in the player

string | null
enum

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.

Allowed:
dark_theme
object | null

The dark theme colors

light_theme
object | null

The light theme colors

video_theme
object | null

The video theme colors

time_range
object | null

The time range for when the ad should play in the player

Response

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json