The Display & Video 360 API now supports Demand Gen resource management. See our
new guide to learn how to build and run a Demand Gen ad campaign.
Send feedback
FrequencyCap
Stay organized with collections
Save and categorize content based on your preferences.
outlined_flag
Display & Video 360 API v2 has sunset.
Frequency capping controls the number of times a user sees the same ad within a given time period.
The frequency cap can be unlimited or defined by a time unit, time unit count, and maximum impressions or views.
Fields like timeUnit, timeUnitCount, maxImpressions, and maxViews are used to configure the frequency cap when it is not unlimited.
Display & Video 360 API v2 has sunset.
Settings that control the number of times a user may be shown with the same ad during a given time period.
JSON representation
{
"unlimited" : boolean ,
"timeUnit" : enum (TimeUnit ) ,
"timeUnitCount" : integer ,
"maxImpressions" : integer ,
"maxViews" : integer
}
Fields
unlimited
boolean
Whether unlimited frequency capping is applied. When this field is set to true, the remaining frequency cap fields are not applicable.
timeUnit
enum (TimeUnit )
The time unit in which the frequency cap will be applied.
Required when unlimited is false.
timeUnitCount
integer
The number of timeUnit the frequency cap will last.
Required when unlimited is false. The following restrictions apply based on the value of timeUnit :
TIME_UNIT_LIFETIME - this field is output only and will default to 1
TIME_UNIT_MONTHS - must be between 1 and 2
TIME_UNIT_WEEKS - must be between 1 and 4
TIME_UNIT_DAYS - must be between 1 and 6
TIME_UNIT_HOURS - must be between 1 and 23
TIME_UNIT_MINUTES - must be between 1 and 59
maxImpressions
integer
The maximum number of times a user may be shown the same ad during this period. Must be greater than 0.
Required when unlimited is false and maxViews is not set.
maxViews
integer
The maximum number of times a user may click-through or fully view an ad during this period until it is no longer served to them. Must be greater than 0.
Only applicable to YouTube and Partners resources.
Required when unlimited is false and maxImpressions is not set.
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-18 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-18 UTC."],[],[]]