enum AdRuleFrequencyCapError.Reason (v202411)
Stay organized with collections
Save and categorize content based on your preferences.
Describes reason for AdRuleFrequencyCapError
s.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202411
Enumeration |
Description |
NO_FREQUENCY_CAPS_SPECIFIED_WHEN_FREQUENCY_CAPS_TURNED_ON
|
The ad rule specifies that frequency caps should be turned on, but then
none of the frequency caps have actually been set.
|
FREQUENCY_CAPS_SPECIFIED_WHEN_FREQUENCY_CAPS_TURNED_OFF
|
The ad rule specifies that frequency caps should not be turned on, but
then some frequency caps were actually set.
|
UNKNOWN
|
The value returned if the actual value is not exposed by the requested API version.
|
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-08-06 UTC.
[null,null,["Last updated 2025-08-06 UTC."],[[["\u003cp\u003eAdRuleFrequencyCapError outlines reasons for errors related to frequency caps in ad rules.\u003c/p\u003e\n"],["\u003cp\u003eThis error can arise if frequency caps are enabled without specific settings or if settings are present when frequency caps are disabled.\u003c/p\u003e\n"],["\u003cp\u003eIt uses an enumeration with values like \u003ccode\u003eNO_FREQUENCY_CAPS_SPECIFIED_WHEN_FREQUENCY_CAPS_TURNED_ON\u003c/code\u003e and \u003ccode\u003eFREQUENCY_CAPS_SPECIFIED_WHEN_FREQUENCY_CAPS_TURNED_OFF\u003c/code\u003e to detail the error.\u003c/p\u003e\n"],["\u003cp\u003eAdRuleFrequencyCapError is part of the AdRuleService within the Google Ad Manager API.\u003c/p\u003e\n"]]],["The document details `AdRuleFrequencyCapError.Reason`, which explains errors related to ad rule frequency caps. It outlines three possible reasons: `NO_FREQUENCY_CAPS_SPECIFIED_WHEN_FREQUENCY_CAPS_TURNED_ON`, indicating frequency caps are enabled but not defined; `FREQUENCY_CAPS_SPECIFIED_WHEN_FREQUENCY_CAPS_TURNED_OFF`, where frequency caps are set despite being disabled; and `UNKNOWN`, for values not available in the API version. These errors occur within the `AdRuleService` and its `AdRuleFrequencyCapError` dependency.\n"],null,["# enum AdRuleFrequencyCapError.Reason (v202411)\n\n**Service** \n**AdRuleService** **Dependencies** \n[AdRuleFrequencyCapError](/ad-manager/api/reference/v202411/AdRuleService.AdRuleFrequencyCapError) \n▼\n**AdRuleFrequencyCapError.Reason**\n\nDescribes reason for `AdRuleFrequencyCapError`s.\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202411`\n\n| Enumeration | Description |\n|-------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------|\n| `NO_FREQUENCY_CAPS_SPECIFIED_WHEN_FREQUENCY_CAPS_TURNED_ON` | The ad rule specifies that frequency caps should be turned on, but then none of the frequency caps have actually been set. |\n| `FREQUENCY_CAPS_SPECIFIED_WHEN_FREQUENCY_CAPS_TURNED_OFF` | The ad rule specifies that frequency caps should not be turned on, but then some frequency caps were actually set. |\n| `UNKNOWN` | The value returned if the actual value is not exposed by the requested API version. |"]]