AI Search

Get Ad Slot

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.

API Endpoint

GET https://apis.demand.ssp.inmobi.com/v1/meta/ad-slot

Parameters

Headers

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

Sample Request

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"

Sample Response

{
  "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" }
  ]
}

On This Page

Last Updated on: 18 Jul, 2025