AdsApp.FrequencyCap
Stay organized with collections
Save and categorize content based on your preferences.
Represents a Google Ads frequency cap.
Methods:
Member | Type | Description |
getEntityType |
String |
Returns the type of this entity as a String , in this case,
"FrequencyCap" . |
getEventType |
String |
Returns type of event that the cap applies to. |
getLevel |
String |
Returns the level on which the cap is to be applied. |
getLimit |
long |
Returns the cap number for the frequency cap. |
getTimeUnit |
String |
Returns the unit of time the cap is defined at. |
getEntityType()
Returns the type of this entity as a
String
, in this case,
"FrequencyCap"
.
Return values:
Type | Description |
String |
Type of this entity: "FrequencyCap" . |
getEventType()
Returns type of event that the cap applies to. Possible return values:
IMPRESSION, VIDEO_VIEW
Return values:
Type | Description |
String |
The type of event that the cap applies to. |
getLevel()
Returns the level on which the cap is to be applied. Possible return
values:
CAMPAIGN, AD_GROUP, AD_GROUP_CREATIVE
Return values:
Type | Description |
String |
The level on which the cap is to be applied. |
getLimit()
Returns the cap number for the frequency cap.
Return values:
Type | Description |
long |
The cap number for the frequency cap. |
getTimeUnit()
Returns the unit of time the cap is defined at. Possible return values:
DAY, WEEK, MONTH
Return values:
Type | Description |
String |
The unit of time the cap is defined at. |
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 2025-01-28 UTC.
[[["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 2025-01-28 UTC."],[[["Represents a frequency cap in Google Ads, limiting the number of times an ad is shown to a user."],["Defines the cap based on event type (impression or video view), level (campaign, ad group, or creative), and time unit (day, week, or month)."],["Uses `getEventType()`, `getLevel()`, `getLimit()`, and `getTimeUnit()` to access frequency cap settings."],["`getEntityType()` method confirms the entity as \"FrequencyCap\"."]]],[]]