Authorizations
The access token received from the authorization server in the OAuth 2.0 flow.
Path Parameters
The ID of the placement to get
Response
Successful Response
Schema for placement entity.
Retrieves a placement based on the provided ID.
curl --request GET \
--url https://your_a2_service/placements/{id} \
--header 'Authorization: Bearer <token>'
{
"campaign_permission": {
"black": [],
"white": []
},
"created_at": "2023-11-07T05:31:56Z",
"created_by": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"description": "<string>",
"display": {
"clktype": 1,
"displayfmt": {
"ext": {},
"h": 250,
"w": 300
},
"h": 250,
"mime": [],
"nativefmt": {
"ext": {}
},
"w": 300
},
"ext": {
"approval_method": "admin",
"display": {
"enabled": 0
},
"native": {
"enabled": 0
},
"payout": "rates",
"responsive": "fixed",
"target_ecpm": 0,
"video": {
"enabled": 0
}
},
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"is_active": false,
"name": "<string>",
"no": 123,
"updated_at": "2023-11-07T05:31:56Z",
"video": {
"clktype": 1,
"ctype": [
2
],
"delay": 0,
"h": 300,
"linear": 0,
"maxdur": 0,
"mime": [],
"mindur": 0,
"playmethod": [],
"ptype": 1,
"skip": 0,
"skipafter": 0,
"skipmin": 0,
"w": 480
}
}
The access token received from the authorization server in the OAuth 2.0 flow.
The ID of the placement to get
Successful Response
Schema for placement entity.
Was this page helpful?
curl --request GET \
--url https://your_a2_service/placements/{id} \
--header 'Authorization: Bearer <token>'
{
"campaign_permission": {
"black": [],
"white": []
},
"created_at": "2023-11-07T05:31:56Z",
"created_by": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"description": "<string>",
"display": {
"clktype": 1,
"displayfmt": {
"ext": {},
"h": 250,
"w": 300
},
"h": 250,
"mime": [],
"nativefmt": {
"ext": {}
},
"w": 300
},
"ext": {
"approval_method": "admin",
"display": {
"enabled": 0
},
"native": {
"enabled": 0
},
"payout": "rates",
"responsive": "fixed",
"target_ecpm": 0,
"video": {
"enabled": 0
}
},
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"is_active": false,
"name": "<string>",
"no": 123,
"updated_at": "2023-11-07T05:31:56Z",
"video": {
"clktype": 1,
"ctype": [
2
],
"delay": 0,
"h": 300,
"linear": 0,
"maxdur": 0,
"mime": [],
"mindur": 0,
"playmethod": [],
"ptype": 1,
"skip": 0,
"skipafter": 0,
"skipmin": 0,
"w": 480
}
}