AdUnit
Update Ad Unit
Updates the editable fields of an ad unit. code and parent_id cannot be changed.
Access Control:
Admin and Operator accounts have full access (create/read/update/delete) to ad unit resources.
Advertiser accounts have no access to this endpoint — see GET /ad-units/targets for the
lightweight, allocation-target-selection view available to advertisers.
PATCH
Update Ad Unit
Authorizations
Body
application/json
Request body for PATCH /ad-units/{id}.
codeis immutable — not accepted.is_activeis managed via /activate and /deactivate — not accepted.- When
partial_safe_update_only=True, only safe fields are applied: name, description, ext.target_ecpm, ext.default_cpa, ext.default_cpc, ext.bcat.
Response
Successful Response
Response schema for AdUnit mutation operations (create/patch).
