---
title: "Get Ad (Legacy)"
method: GET
path: "/v1/flight/{FlightID}/creative/{AdID}"
---

# Get Ad (Legacy)

`GET /v1/flight/{FlightID}/creative/{AdID}`

## Request

- Base URL: `https://api.kevel.co`
- URL: `https://api.kevel.co/v1/flight/{FlightID}/creative/{AdID}`
- Auth: API key in header `X-Adzerk-ApiKey`

## Path parameters

- `FlightID` integer, required
- `AdID` integer, required

## Response `200`

200

- object
  - `Id` integer
  - `CampaignId` integer
  - `FlightId` integer
  - `ZoneId` integer
  - `SiteId` integer
  - `Iframe` unknown
  - `Impressions` integer
  - `Percentage` integer
  - `DistributionType` integer
  - `IsDeleted` boolean
  - `IsActive` boolean
  - `Creative` object
    - `Id` integer
    - `Title` string
    - `ImageName` string
    - `Url` string
    - `Body` string
    - `AdvertiserId` integer
    - `IsActive` unknown
    - `AdTypeId` integer
    - `Alt` string
    - `IsDeleted` unknown
    - `IsSync` unknown
    - `IsHTMLJS` boolean
    - `ScriptBody` string
    - `Metadata` unknown
    - `ImageLink` string
    - `IsNoTrack` boolean
    - `IsNetworkAd` boolean
  - `CustomTargeting` string
  - `FreqCap` integer
  - `FreqCapDuration` integer
  - `FreqCapType` integer
  - `StartDate` string
  - `EndDate` string
  - `GoalType` integer
  - `Goal` integer
  - `Price` integer
  - `IsGoalOverride` boolean
  - `IsStartEndDateOverride` boolean
  - `ActiveKeywords` string[]
  - `RtbCustomFields` unknown
  - `CategoryTargeting` object[]: The category targeting rules saved on the Ad itself, each with an `Id` and `IsExclude`. An Ad with no rules of its own uses its Flight's rules, and they do not appear here. Left out when category targeting is not enabled for your network.
    - `Id` string: The category the rule matches.
    - `IsExclude` boolean: `true` for an exclude rule, `false` for an include rule.

---

[API](https://skmtc.dev/kevel/apis/management-api-2.md) - [All operations](https://skmtc.dev/kevel/apis/management-api-2/llms.txt) - [OpenAPI document](https://skmtc.dev/kevel/apis/management-api-2/revisions/fe6c8716ca08?raw)
