enum AdRuleTargetingError.Reason (v202502)
Stay organized with collections
Save and categorize content based on your preferences.
Page Summary
AdRuleTargetingError.Reason describes reasons for ad rule targeting errors.
Specific reasons include not being allowed to target video positions and requiring exact custom value matching for session ad rules due to COPPA requirements.
An UNKNOWN value is returned if the actual value is not exposed by the requested API version.
[[["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-08-06 UTC."],[],["The content details `AdRuleTargetingError.Reason`, an enumeration within the `AdRuleService` for Ad Manager API v202502. It outlines potential errors when targeting ad rules. Key information includes reasons: `VIDEO_POSITION_TARGETING_NOT_ALLOWED` for when video positions cannot be targeted, `EXACT_CUSTOM_VALUE_TARGETING_REQUIRED` indicating a COPPA compliance requirement for precise custom value targeting in session ad rules, and `UNKNOWN` for unexposed API version values. The namespace for these definitions is also provided.\n"]]