---
updatedAt: 2026-08-01T11:27:25.000Z
agentTools:
  projectIndex: https://dev.kevel.com/llms.txt
---

# Get Site/Zone Targeting

## Why Get Site/Zone Targeting?

If you would like to review the properties for a specific site/zone targeting ID before making any changes, you can use the Get Site/Zone Targeting API endpoint to return this information to you. By using the `GET` command, you can return properties and details for a specific site/zone targeting ID using the ID for the Site/Zone Targeting object.

## API Syntax

When using the Get Site/Zone Targeting API endpoint, it is important to understand the syntax required to make the request. Because the Kevel API is a RESTful API, there is a specific request format that must be followed to ensure the endpoint can process the request. The format is:

`GET https://api.kevel.co/v1/flight/{FlightID}/sitezonetargeting/{SiteZoneTargetingID}`

Where:

* `GET` - the type of API request being made.
* `https://api.kevel.co` - the URL for the request.
* `v1` - the API version.
* `flight` - the API endpoint being called.
* `FlightID` - the ID associated with the flight.
* `sitezonetargeting` - the site/zone targeting object.
* `SiteZoneTargetingID` - the ID associated with the Site/Zone Targeting object.

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "management-api-2",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://api.kevel.co"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "apiKey",
        "name": "X-Adzerk-ApiKey",
        "in": "header"
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/v1/flight/{FlightID}/sitezonetargeting/{SiteZoneTargetingID}": {
      "get": {
        "summary": "Get Site/Zone Targeting",
        "description": "",
        "operationId": "get-sitezone-targeting",
        "parameters": [
          {
            "name": "FlightID",
            "in": "path",
            "description": "ID of the Flight",
            "schema": {
              "type": "integer",
              "format": "int32"
            },
            "required": true
          },
          {
            "name": "SiteZoneTargetingID",
            "in": "path",
            "description": "ID of the Site Zone Targeting parameter. You can pull it through the Get Flight endpoint if don't have.",
            "schema": {
              "type": "integer",
              "format": "int32"
            },
            "required": true
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"Id\":98765,\n  \"FlightId\":12345,\n  \"SiteId\":678,\n  \"ZoneId\":910,\n  \"IsExclude\":false\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "Id": {
                      "type": "integer",
                      "example": 98765,
                      "default": 0
                    },
                    "FlightId": {
                      "type": "integer",
                      "example": 12345,
                      "default": 0
                    },
                    "SiteId": {
                      "type": "integer",
                      "example": 678,
                      "default": 0
                    },
                    "ZoneId": {
                      "type": "integer",
                      "example": 910,
                      "default": 0
                    },
                    "IsExclude": {
                      "type": "boolean",
                      "example": false,
                      "default": "false"
                    }
                  }
                }
              }
            }
          }
        },
        "deprecated": false,
        "x-readme": {
          "code-samples": [
            {
              "language": "curl",
              "code": "curl -X GET -H 'X-Adzerk-ApiKey:<APIKEY>' \"https://api.kevel.co/v1/flight/12345/sitezonetargeting/98765\""
            },
            {
              "language": "javascript",
              "code": "const Adzerk = require('@adzerk/management-sdk');\nconst apiKey = process.env.ADZERK_API_KEY;\n\nasync function getSiteZoneTargeting() {\n  let specifications = await Adzerk.fetchSpecifications();\n  let client = await Adzerk.buildClient({apiKey, specifications});\n\n  let siteZoneTargeting = await client.run(\"siteZoneTargeting\", \"get\", {\n    id: 98765,\n    flightId: 12345\n  });\n\n  console.log(siteZoneTargeting);\n}\n\ngetSiteZoneTargeting();"
            },
            {
              "language": "ruby",
              "code": "require \"adzerk\"\n\ndef get_site_zone_targeting()\n    client = Adzerk::Client.new(ENV[\"ADZERK_API_KEY\"])\n    flight_id = 12345\n    id = 67890\n    pp client.sitezonetargetings.get(flight_id, id)\nend\nget_site_zone_targeting()"
            }
          ],
          "samples-languages": [
            "curl",
            "javascript",
            "ruby"
          ]
        }
      }
    }
  },
  "x-readme": {
    "headers": [
      {
        "key": "X-Adzerk-Sdk-Version",
        "value": "Readme.io:ManagementAPI2"
      }
    ],
    "explorer-enabled": false,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```