---
updatedAt: 2026-09-29T23:38:36.000Z
agentTools:
  projectIndex: https://dev.kevel.com/llms.txt
---

# Ad Frequency Capping

## Overview

When you set up [frequency capping](https://dev.kevel.com/docs/frequency-capping-1), you set the maximum number of times a given ad can be displayed to any particular person in a particular time period.

> 📘 Note
>
> Set caps by **hour**,  **day**, or **minute**. Max duration is 180 days, 168 hours, or 4400 minutes.

## Setting Up with UI

1. When creating/editing a Creative, in the Delivery Settings --> Distribution section there is a Frequency Capping toggle
2. Add in the required fields and Save

<Image align="center" width="smart" src="https://files.readme.io/e983c88-Screen_Shot_2021-03-23_at_9.26.28_AM.png" />

## Setting Up with API

Use the below parameters in the [Create Ads](https://dev.kevel.com/reference/create-ads) request.

<Table align={["left","left"]}>
  <thead>
    <tr>
      <th>
        Property
      </th>

      <th>
        Description
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `FreqCap`
        (integer)
      </td>

      <td>
        The number of times that you would like the frequency cap to occur
      </td>
    </tr>

    <tr>
      <td>
        `FreqCapDuration`\
        (integer)
      </td>

      <td>
        How often the frequency cap should occur
      </td>
    </tr>

    <tr>
      <td>
        `FreqCapType`\
        (integer)
      </td>

      <td>
        Which unit of time you would like frequency capping to occur. Key:\
        `1 = Hour`\
        `2 = Day`\
        `3 = Minute`
      </td>
    </tr>

    <tr>
      <td>
        `DontAffectParentFreqCap`\
        (boolean)
      </td>

      <td>
        Optional. If `true`, opts-it out of frequency cap settings imposed at advertiser, campaign, or flight level
      </td>
    </tr>
  </tbody>
</Table>

> 📘 Note
>
> To understand frequency capping, use this formula: `Display this advertiser {{FreqCap}} times per {{FreqCapDuration}} {{FreqCapType}}`. For instance: `Display this advertiser 3 times per 6 hours`

Here's an example request for a [Create Ads](https://dev.kevel.com/reference/create-ads) request with frequency cap settings of `10 times per 1 day` and which is opted-out of advertiser/campaign/flight level caps.

```json
creative={
  "CampaignId":123,
  "Creative":{
    "Id":12345
  },
  "FlightId":1234,
  "IsActive":true,
  "FreqCap": 10,
  "FreqCapDuration": 1,
  "FreqCapType": 2,
  "DontAffectParentFreqCap": true
}
```

You can also update the caps with the [Update Ad](https://dev.kevel.com/reference/update-ad) request.