Create Inventory Package

This method uses POST to create inventory package.

Request Example:
{
 "data": {
   "name": "string",
   "description": "string",
   "targeting": {
     "include": {
       "relationship": "string",
       "sets": [
         {
           "relationship": "string",
           "item_sets": [
             {
               "relationship": "string",
               "item_lists": [
                 {
                   "relationship": "string",
                   "items": [
                     {
                       "id": "string",
                       "type": "string"
                     }
                   ]
                 }
               ],
               "targeting_type": "string"
             }
           ]
         }
       ]
     },
     "exclude": {
         "item_sets": [
             {
               "relationship": "string",
               "item_lists": [
                 {
                   "relationship": "string",
                   "items": [
                     {
                       "id": "string",
                       "type": "string"
                     }
                   ]
                 }
               ],
               "targeting_type": "string"
             }
           ]
     }
   },
   "ssp_targeting": {
     "include": {
       "relationship": "string",
       "sets": [
         {
           "relationship": "string",
           "item_sets": [
             {
               "relationship": "string",
               "item_lists": [
                 {
                   "relationship": "string",
                   "items": [
                     {
                       "id": "string",
                       "type": "string"
                     }
                   ]
                 }
               ],
               "targeting_type": "string"
             }
           ]
         }
       ]
     },
     "exclude": {
         "item_sets": [
             {
               "relationship": "string",
               "item_lists": [
                 {
                   "relationship": "string",
                   "items": [
                     {
                       "id": "string",
                       "type": "string"
                     }
                   ]
                 }
               ],
               "targeting_type": "string"
             }
           ]
     }
   }
 }
}
Language
Click Try It! to start a request and see the response here!