Link Search Menu Expand Document

PDF

subtypes service

Platform API


Retrieves the subtypes that can be created for the various object, such as subtypes of the account, lineitem, order, and site objects.

The subtypes service has the following call:

CallDescription
GET /subtypesRetrieves the subtypes that can be created for the various object. See subtypes example below.

Example

GET /subtypes sample response.

Expand sample response
{
  "account": [
    {
      "account": [
        "account.advertiser", 
        "account.publisher", 
        "account.network", 
        "account.agency"
      ], 
      "rule": {
        "type_full": "account.network"
      }
    }, 
    {
      "adproduct": true, 
      "audiencesegment": true, 
      "optimization": true, 
      "rule": {
        "type_full": "account.publisher"
      }
    }, 
    {
      "rule": {
        "type_full": "account.advertiser"
      }
    }
  ], 
  "lineitem": [
    {
      "rule": {
        "delivery_medium": "EMAIL"
      }
    }, 
    {
      "rule": {
        "delivery_medium": "WEB", 
        "type_full": [
          "lineitem.exclusive", 
          "lineitem.house", 
          "lineitem.non_guaranteed", 
          "lineitem.share_of_voice", 
          "lineitem.volume_goal"
        ]
      }
    }, 
    {
      "rule": {
        "delivery_medium": "LINEARVIDEO"
      }
    }, 
    {
      "rule": {
        "delivery_medium": "NONLINEARVIDEO"
      }
    }, 
    {
      "rule": {
        "delivery_medium": "MOBILE", 
        "type_full": [
          "lineitem.exclusive", 
          "lineitem.house", 
          "lineitem.non_guaranteed", 
          "lineitem.share_of_voice", 
          "lineitem.volume_goal"
        ]
      }
    }, 
    {
      "rule": {
        "ad_delivery": "companion", 
        "delivery_medium": "LINEARVIDEO"
      }
    }, 
    {
      "rule": {
        "ad_delivery": "companion", 
        "delivery_medium": "NONLINEARVIDEO"
      }
    }, 
    {
      "rule": {
        "ad_delivery": [
          "equal", 
          "manual"
        ], 
        "delivery_medium": "NONLINEARVIDEO"
      }
    }, 
    {
      "rule": {
        "ad_delivery": [
          "equal", 
          "manual"
        ], 
        "delivery_medium": "LINEARVIDEO"
      }
    }, 
    {
      "rule": {
        "bid_type": "PRICEDBID", 
        "type_full": "lineitem.exchange"
      }
    }, 
    {
      "rule": {
        "bid_type": "SSRTB", 
        "type_full": "lineitem.exchange"
      }
    }, 
    {
      "rule": {
        "bid_type": "SSRTBDEALS", 
        "type_full": "lineitem.exchange"
      }
    }
  ], 
  "order": [
    {
      "rule": {}
    }
  ], 
  "site": [
    {
      "adunitgroup": true, 
      "rule": true, 
      "sitesection": true
    }, 
    {
      "rule": {
        "delivery_medium": [
          "WEB", 
          "LINEARVIDEO", 
          "NONLINEARVIDEO", 
          "EMAIL", 
          "VIDEOCOMPANION", 
          null
        ]
      }
    }, 
    {
      "rule": {
        "delivery_medium": [
          "WEB", 
          "LINEARVIDEO", 
          "NONLINEARVIDEO", 
          "EMAIL", 
          "VIDEOCOMPANION", 
          null
        ]
      }
    }, 
    {
      "rule": {
        "delivery_medium": "MOBILE"
      }
    }
  ]
}