This metadata API returns the list of supported ad slot sizes (width x height) available for inventory targeting. Each ad slot is identified by a unique id and its standard dimension name.
GET https://apis.demand.ssp.inmobi.com/v1/meta/ad-slot
| Field Name | Type | Is mandatory (Y/N)? | Description |
|---|---|---|---|
| Authorization | String | Y | Bearer token for authentication (Bearer <token>) |
| X-USER-ID | String | Y | The ID of the user making the request |
| X-INMOBI-ORG-ID | String | Y | The organization ID associated with the user |
| Content-Type | String | Y | Specifies the media type of the request body. Use: application/json |
curl -X GET "https://apis.demand.ssp.inmobi.com/v1/meta/ad-slot" \
-H "Authorization: Bearer <your bearer token>" \
-H "X-USER-ID: <test app>" \
-H "X-INMOBI-ORG-ID: <your org id>" \
-H "Content-Type: application/json"
{
"data": [
{ "id": 14, "name": "320x480" },
{ "id": 11, "name": "728x90" },
{ "id": 15, "name": "320x50" },
{ "id": 18, "name": "160x600" },
{ "id": 0, "name": "0x0" },
{ "id": 37, "name": "320x100" },
{ "id": 16, "name": "768x1024" },
{ "id": 32, "name": "480x320" },
{ "id": 33, "name": "1024x768" },
{ "id": 10, "name": "300x250" }
]
}
By installing this SDK update, you agree that your Children Privacy Compliance setting remains accurate or that you will update that setting, whenever there is a change in your app's audience. You may update the app's Children Privacy Compliance settings at https://publisher.inmobi.com/my-inventory/app-and-placements.
Support Center