Stay organized with collections
Save and categorize content based on your preferences.
AI-generated Key Takeaways
AudienceSegmentError indicates errors specifically related to audience segment requests within the Publisher Query Language Service.
It provides reasons for errors such as invalid names, descriptions, or rules, including issues with nesting and custom criteria.
The error also includes information inherited from ApiError, such as the field path and trigger for debugging.
Enumerated reasons cover various scenarios like unsupported segment types, duplicate names, and invalid input values for pageviews, recency, and membership expiration.
Policy violations and global license purchase errors are also listed as possible reasons for an AudienceSegmentError.
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 error handling and service interactions within an ad management API. It details `AudienceSegmentError` which includes reasons like invalid rules, names, descriptions, pageviews, recency, expiration, custom keys/values and other constraints. It covers services such as `AudienceSegmentService`, `ForecastService`, `LineItemService`, and others. The content also lists various error types, such as `ApiError`, `AuthenticationError`, and `QuotaError`, and provide information on how to find the cause of an error.\n"]]