enum AdRuleTargetingError.Reason (v202411)
Stay organized with collections
Save and categorize content based on your preferences.
AI-generated Key Takeaways
AdRuleTargetingError.Reason describes reasons for ad rule targeting errors within the AdRuleService.
Specific reasons for errors include not being allowed to target video positions and the requirement for exact custom value matching for session ad rules due to COPPA.
An UNKNOWN value is returned if the actual error reason 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 `AdRuleTargetingError.Reason` enumeration defines potential errors when targeting ad rules within the `AdRuleService`. Key information includes: `VIDEO_POSITION_TARGETING_NOT_ALLOWED` indicates that targeting video positions is prohibited. `EXACT_CUSTOM_VALUE_TARGETING_REQUIRED` means session ad rules need precise custom value matching due to COPPA. `UNKNOWN` represents cases where the actual error reason is not available in the current API version. These are the possible error types associated with targeting issues.\n"]]