List Ad Segment Targeting Rules

AdId

int32
required
The Ad the targeting rule applies to

Response Structure

200 Response

{
  "page": 1,
  "items": [
    {
      "Id": 56789,
      "AdId": 55555,
      "SegmentId": 123456,
      "IsExclude": false,
      "Segment": {
        "Source": "audience",
        "Name": "best customers",
        "Reach": {
          "all_time": 3187463,
          "28d": 387434
        },
        "Description": "top 1% spenders in the last 30 days.",
        "Category": "CRM"
      }
    }
  ],
  "pageSize": 1,
  "totalPages": 1,
  "totalItems": 1
}

400 Response

Updated 10 months ago


Example Request

Curl

curl -X GET -H "X-Adzerk-ApiKey:<APIKEY>" "https://api.kevel.co/v1/ad/{AdId}/segmenttargeting"