List of Ad Sizes
GET {{campaign_url}}/adSizes?mediaChannel=audio
Retrieve a list of ad size objects
You can retrieve all available ad sizes by sending this GET
request.
Response Body
You can manually copy an ad size ID from the response body and paste it into the value cell for the adSizeId
variable in your environment. This allows you to create new creatives with the same ad size object/ad layout.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
mediaChannel | string | Media channel that the returned ad size objects are supported in. |
Allowed values: display, audio, video, mobile |
RESPONSES
status: OK
{"queryTotal":3,"data":[{"id":"1","resourceType":"adSize","width":1,"height":1,"mediaChannels":["social","display","audio","video"]},{"id":"2","resourceType":"adSize","width":300,"height":223,"mediaChannels":["audio"]},{"id":"3","resourceType":"adSize","width":640,"height":640,"mediaChannels":["display","audio"]}],"errors":[]}