AI Search

Get Ad Type

This metadata API returns the list of ad types supported by InMobi, along with their internal id, name, and broad externalName classification. These IDs are required for configuring ad type targeting in deals.

API Endpoint

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

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-type" \
-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": 0,
      "name": "Banner/Interstitial",
      "externalName": "Display"
    },
    {
      "id": 1,
      "name": "Interstitial Video",
      "externalName": "Video"
    },
    {
      "id": 6,
      "name": "Native",
      "externalName": "Native"
    },
    {
      "id": 10,
      "name": "Audio Banner",
      "externalName": "Audio"
    }
    // ...more ad types
  ]
}

On This Page

Last Updated on: 18 Jul, 2025