Set a placement's Open RTB settings
Sets what the console's Open RTB card on a placement sets: the IAB categories sent for it in bid requests (iabCategories), the IAB categories whose ads it refuses (blockedIabCategories), the banner (creative) attributes it blocks (blockedBannerAttributes) and its custom OpenRTB tag id (customOpenRtb
https://YOUR-NETWORK-DOMAIN/rest-api/placements/{placementId}/openrtb.do Sets what the console's Open RTB card on a placement sets: the IAB categories sent for it in bid requests (iabCategories), the IAB categories whose ads it refuses (blockedIabCategories), the banner (creative) attributes it blocks (blockedBannerAttributes) and its custom OpenRTB tag id (customOpenRtbTagId). A category is named by its id or its IAB code, e.g. IAB1_2 (IAB1-2 is read the same); a banner attribute by its name or OpenRTB id. Only the fields sent change; send one empty to clear it. Needs the Open RTB permission and update rights on the placement's site.
Path Params
placementId integer required
Placement id
4001 Form Params
iabCategories array<string>
IAB categories sent for the placement in bid requests, by id or IAB code, comma-separated; empty to clear
IAB1,IAB19_18 blockedIabCategories array<string>
IAB categories whose ads the placement refuses, by id or IAB code, comma-separated; empty to clear
IAB7_39 blockedBannerAttributes array<string>
Banner (creative) attributes the placement blocks, sent as OpenRTB battr, by name or OpenRTB id, comma-separated; empty to clear: AUDIO_AD_AUTO_PLAY (1), AUDIO_AD_USER_INITIATED (2), EXPANDABLE_AUTOMATIC (3), EXPANDABLE_USER_INITIATED_CLICK (4), EXPANDABLE_USER_INITIATED_ROLLOVER (5), IN_BANNER_VIDEO_AD_AUTO_PLAY (6), IN_BANNER_VIDEO_AD_USER_INITIATED (7), POP (8), PROVOCATIVE_OR_SUGGESTIVE_IMAGERY (9), SHAKY_FLASHING_FLICKERING_EXTREME_ANIMATION_SMILEYS (10), SURVEYS (11), TEXT_ONLY (12), USER_INTERACTIVE (13), WINDOWS_DIALOG_OR_ALERT_STYLE (14), HAS_AUDIO_ON_OFF_BUTTON (15), AD_CAN_BE_SKIPPED (16)
POP,AUDIO_AD_AUTO_PLAY customOpenRtbTagId string
Custom OpenRTB tag id sent as imp.tagid instead of the placement key, up to 256 characters; empty to clear
homepage-top-728 Responses
200
The placement's Open RTB settings after the save, in the shape of the GET
400
Nothing sent, a value that is no IAB category or banner attribute, or a custom tag id over 256 characters
401
Authentication error
403
The Open RTB permission is off, or no update rights on the placement's site
404
The placement does not exist or is deleted