Skip to main content
POST
Update AdUnits

Body

application/json
code
string
required

Ad unit code identifier.

created_at
string<date-time>
required

The date and time when the ad unit was created.

created_by
string<uuid>
required

The ID of the user who created the ad unit.

id
string<uuid>
required

ID of the ad unit (uuid7)

name
string
required

Name of the ad unit.

path
string
required

Hierarchical path of the ad unit (e.g., "parent_id/child_id").

ad_unit_sizes
object[] | null

Targeting metadata sizes Distinct from display/video.w/h which govern serving and rendering.

description
string | null

Description of the ad unit.

display
object

Placement Subtype Object that indicates that this may be a display placement and provides additional detail related thereto.

ext
object

Additional ad unit-specific extensions. Defaults to the AdUnitExt object.

gpid
string | null

Canonical Placement ID for OpenRTB imp.ext.gpid.

instl
enum<integer>
default:0

Indicates if this is an interstitial placement, where 0 = no, 1 = yes. Applies across display, video, and native.

Available options:
0,
1
is_active
boolean | null

Whether the ad unit is active.

native
object

Based on OpenRTB Native Ads 1.2 Native Markup Request Object, not the AdCOM standard native format

recommendation
object
video
object

Placement Subtype Object that indicates that this may be a video placement and provides additional detail related thereto.

Response

Success