## Overview  
**Ad Capping** refers to the automatic stopping of a Flight upon hitting a certain metric.

For instance, you may want to have a Flight stop showing ads once it hits 10M impressions. Or, you may have promised 5K clicks to an advertiser, and want it to automatically turn-off when it hits it.

## What You Can Cap On  
Ad Capping is set at the **Flight** level. The exception is for ad capping using revenue budgets (see below for more info on that).

You set them at the **Daily** and/or **Lifetime** level and can cap by **Impressions**, **Clicks**, **Conversions**, or **Revenue**.

> 👍  
> Lifetime caps apply to the entire history of the ad/flight/etc. If you need to increase the cap of a flight etc. that has hit its cap, you will need to set the new cap as the old cap plus the additional cap amount.

## Setting Caps  
**Cap Type** is where you set the target metric, and **Daily** and **Lifetime** are where you set the target amount.

## Budget Capping  
Budget caps (or revenue caps) will stop an ad from serving once a budget is reached. For example, if a flight is priced at $1.00 CPM and the budget is $1000, the flight will stop serving when Kevel records 1 million impressions.

The budget can be set on advertiser, campaign, or flight objects.

Budget caps also work for second-price auctions and RTB flights where there isn't a steady stream of revenue per event.

> 📘  
> We will respect the most restrictive budgets. For example, if the budget for an advertiser is $5000 but the Flight budget is $1K, we will stop at $1K.

> 📘  
> Budget caps do not work with flat-rate flights. Also, flat-rate prices will be ignored in a campaign or advertiser's overall budget.

> 📘  
> When using daily revenue goals, the daily cap will automatically be calculated on the backend. A manually entered daily budget cap will be ignored.

## Setting a Budget Cap on Advertiser - API  
1. Use the [Create Advertisers](https://dev.kevel.co/v1.0/reference/advertiser#create-advertisers) endpoint  
2. Alongside needed fields, set the `CapType = 4`  
3. Set an integer for a `DailyCapAmount` or a `LifetimeCapAmount` or both

## Setting a Budget Cap on Campaign - API  
1. Use the [Create Campaigns](https://dev.kevel.co/v1.0/reference/campaign#create-campaigns) endpoint  
2. Alongside needed fields, set the `CapType = 4`  
3. Set an integer for a `DailyCapAmount` or a `LifetimeCapAmount` or both

## Setting a Budget Cap on a Flight - API  
1. Use the [Create Flight](https://dev.kevel.co/v1.0/reference/flight#create-flight) endpoint  
2. Alongside needed fields, set the `CapType = 4`  
3. Set an integer for a `DailyCapAmount` or a `LifetimeCapAmount` or both

> 📘  
> Any cap types you do not set will be returned in the response with a value of null.

## Setting a Budget Cap on Advertiser - UI  
1. **Advertisers** --\> **All Advertisers** --\> Advertiser Name --> Settings (Pencil Icon)  
2. Select a Daily revenue cap (in dollars), a Lifetime revenue cap (in dollars), or both  
3. Save

## Setting a Budget Cap on Campaign - UI  
1. **Campaigns** --\> Campaigns --> Campaign Title --> Settings (Pencil icon)  
2. Select a Daily revenue cap (in dollars), a Lifetime revenue cap (in dollars), or both  
3. Save

## Setting a Budget Cap on a Flight - UI  
1. In **Flight General Settings**, select **Budget** under the **Cap Type** drop-down  
2. Set either a Daily cap (in dollars), a Lifetime cap (in dollars), or both  
3. Save

## Viewing Advertiser and Campaign Budget Caps on a Flight  
You can view the budget caps for a flight's advertiser and campaign on the flight settings page. In addition, you can view how much revenue the campaign and advertiser have currently earned toward their cap.

The budget cap data is located in the General Settings section of the flight settings:

To get started using this feature, contact your account manager.

Updated 10 months ago
