post https://api.freewheel.tv/services/v4/inventory_packages
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"
}
]
}
}
}
}