List targeting sets

Ad Product ID


Show Hidden


200 Normal Response

A normal response containing a JSON object of existing targeting set IDs to their JSON representation.


Example cURL Request

curl --request GET \  
     --url 'https://api.kevel.co/v1/forecaster/ad-products/adProductId/targeting-sets?showHidden=false' \  
     --header 'accept: application/json'  

Response Object

{  
  "additionalProp": {  
    "name": "Awesome targeting set",  
    "enabled": true,  
    "priorityId": 221170,  
    "rate": {  
      "rateType": 1,  
      "price": 100  
    },  
    "keywordTargeting": "keyword1,keyword2\nkeyword3\n!keyword1,keyword2",  
    "frequencyCap": {  
      "type": 2,  
      "duration": 1,  
      "value": 5  
    },  
    "siteZoneTargeting": [  
      null,  
      null  
    ],  
    "geoTargeting": [  
      {  
        "CountryCode": "US",  
        "Region": "NY",  
        "MetroCode": "10001",  
        "IsExclude": true  
      }  
    ],  
    "distanceTargeting": [  
      {  
        "distance": 20,  
        "latitude": 41.40338,  
        "longitude": 2.17403  
      }  
    ],  
    "customTargeting": "[\"order_confirmation\"] contains screen",  
    "duplicateMode": 1,  
    "adTypes": [  
      4649  
    ],  
    "searchTerms": [  
      {  
        "term": "running shoes",  
        "matchType": "broad",  
        "isExclude": false  
      }  
    ],  
    "bidModifiers": [  
      {  
        "match": {  
          "Keyword": "string",  
          "Site": 0,  
          "Zone": 0,  
          "Segment": 0,  
          "SearchTerm": {  
            "Term": "string"  
          }  
        },  
        "price": 7.5,  
        "multiplier": 1.5  
      }  
    ]  
  }  
}