Update placement
PUT
/placement/:placementId
Use this method to update your placement.
Path Parameters
Name
Type
Description
placementId
Number
ID of the placement
Headers
Name
Value
Authorization
Basic <token>
Body
{
name?: string,
is_archived?: boolean,
tag_id?: { // Default tagId
id: string;
},
mappings?: {
tag_id: {
id : string,
name?: string,
},
mapping: {
adunit_code?: string[],
device?: string[], // desktop | mobile | tablet | tv | other
domain?: string[],
gpid?: string[],
size?: {
w: number,
h: number
},
}
}
}
Response
{
"id": number,
"external_id": string,
"name": string,
"is_archived": boolean,
"tag_id": {
"id": string,
"name": string
},
"account": {
"id": number,
"name": string
},
"mappings": {
"tag_id": {
"id" : string,
"name": string,
},
"mapping": {
"adunit_code": string[],
"device": string[],
"domain": string[],
"gpid": string[],
"size": {
"w": number,
"h": number
},
}
}
}
Last updated
Was this helpful?