Targeting

Add and View Targeting

Add and view targeting

post/targeting

Request

Request body

strategy_idinteger[] required

Example request

{
  "strategy_id": [
    87
  ],
  "targeting": {
    "audience": {
      "include": [
        {
          "audience_segment_ids": [
            32
          ]
        }
      ],
      "exclude": [
        {
          "audience_segment_ids": [
            32
          ]
        }
      ]
    },
    "contextual": {
      "include": [
        {
          "target_value_ids": [
            33
          ]
        }
      ],
      "exclude": [
        {
          "target_value_ids": [
            3
          ]
        }
      ]
    },
    "my_data": {
      "include": {
        "pixel_bundle_ids": [
          88
        ]
      },
      "exclude": {
        "pixel_bundle_ids": [
          32
        ]
      }
    },
    "location": {
      "include": [
        {
          "target_value_ids": [
            33
          ]
        }
      ],
      "exclude": [
        {
          "target_value_ids": [
            3
          ]
        }
      ]
    },
    "technology": {
      "include": [
        {
          "target_value_ids": [
            33
          ]
        }
      ],
      "exclude": [
        {
          "target_value_ids": [
            3
          ]
        }
      ]
    },
    "day_parts": [
      {
        "start_hour": 1,
        "end_hour": 5,
        "days": [
          "M",
          "T",
          "W",
          "S",
          "U"
        ]
      }
    ]
  }
}

Response

Add and view response

Changes

No recorded changes to this operation across all 1 revision of this API.