type AudienceSegmentError (v202502)
Stay organized with collections
Save and categorize content based on your preferences.
AI-generated Key Takeaways
AudienceSegmentError is an error type that can occur on audience segment related requests within the Google Ad Manager API.
This error type inherits from ApiError and includes fields such as fieldPath, fieldPathElements, trigger, and errorString.
Specific reasons for AudienceSegmentError include issues like unsupported first-party segments, invalid rules or names, duplicate names, invalid values for pageviews, recency, or membership expiration, and invalid custom key or value names.
Additional reasons for this error include invalid nested segments, inclusion of shared selling partner roots, errors with global licenses, and policy violations.
A parsed copy of the field path. For example, the field path "operations[1].operand"
corresponds to this list: {FieldPathElement(field = "operations", index = 1),
FieldPathElement(field = "operand", index = null)}.
trigger
xsd:string
The data that caused the error.
errorString
xsd:string
A simple string representation of the error and reason.
[[["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 outlines the structure and potential errors within the ad manager API, specifically focusing on `AudienceSegmentError`. It details service interactions like `AudienceSegmentService`, `LineItemService`, and others. Inheritance of the `ApiError` is shown, with several possible error types that are extending it. The `AudienceSegmentError` section enumerates specific reasons for audience segment-related errors, such as invalid rules, duplicate names, and policy violations, it also includes the field paths for the errors.\n"]]