v4

latestOpenAPI 3.1.0MIT2026-08-02128224900.7 KB
Advertising Units

Create Advertising Unit

Create a new advertising unit

post/advertising_units

Request body

titlestring required

The title of the advertising unit.

descriptionstring

A description of the advertising unit.

behaviorstring

The behavior type of the advertising unit.

urlstring

The URL for the advertising unit's landing page.

priceinteger nullable

The price in the smallest currency unit.

allows_htmlboolean

Whether the advertising unit accepts HTML content.

allows_imageboolean

Whether the advertising unit accepts an image.

max_charactersinteger nullable

Maximum number of characters allowed for the ad content.

submission_deadline_daysinteger

Number of days before the slot date that content must be submitted.

Response

Created

idstring required

A unique TypeID associated with the object.

creation_datestring date-time required

The date and time at which the object was first created.

status'active' | 'inactive' required

An enumeration.

titlestring required

The title of the advertising unit.

descriptionstring required

A description of the advertising unit.

behaviorstring required

The behavior type of the advertising unit.

urlstring required

The URL for the advertising unit's landing page.

priceinteger nullable

The price in the smallest currency unit, or null if not set.

allows_htmlboolean required

Whether the advertising unit accepts HTML content.

allows_imageboolean required

Whether the advertising unit accepts an image.

max_charactersinteger nullable

Maximum number of characters allowed for the ad content.

submission_deadline_daysinteger required

Number of days before the slot date that content must be submitted.