enum GenericTargetingError.Reason (v202502)
Stay organized with collections
Save and categorize content based on your preferences.
Page Summary
GenericTargetingError.Reason provides reasons for targeting errors within various services like AdjustmentService, ForecastService, and LineItemService.
Specific reasons for targeting errors include conflicts with including/excluding sibling criteria and including descendants of excluded criteria.
An 'UNKNOWN' reason is used when the actual error value is not available in 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 provided content details the `GenericTargetingError.Reason` enumeration within the Google Ad Manager API (v202502). It outlines potential targeting errors, including `CONFLICTING_INCLUSION_OR_EXCLUSION_OF_SIBLINGS`, which disallows both including and excluding sibling criteria, and `INCLUDING_DESCENDANTS_OF_EXCLUDED_CRITERIA`, which prohibits including descendants of excluded criteria. `UNKNOWN` is used for unexposed values. The error reasons are associated with various services like Adjustment, Forecast, LineItem, and TargetingPreset services.\n"]]