List ad products

Ad Products API

Parameters

showComplete

Type: boolean
Defaults to: false

Whether to include the ad products' targeting sets in the response.

showHidden

Type: boolean
Defaults to: false

Whether to filter out ad products that aren't enabled. It will also filter targeting sets if showComplete is true.

Response

HTTP Status Code: 200 - Normal response, containing a JSON object of existing ad product IDs to their JSON representation. It will return the Partial Ad Product when showComplete is false.

Example Request

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

Example Response

{
  "additionalProp": {
    "name": "Awesome ad product",
    "description": "This ad product is awesome and very cool.",
    "enabled": true,
    "id": 4512,
    "targetingSetsCount": {
      "all": 4,
      "enabled": 2
    }
  }
}