Stay organized with collections
Save and categorize content based on your preferences.
AI-generated Key Takeaways
AudienceSegmentError represents errors that can occur on audience segment related requests within various services like AudienceSegmentService, ForecastService, and LineItemService.
This error type inherits from ApiError and includes specific fields like reason detailing the cause of the audience segment error.
The reason field provides several specific enumeration values indicating various invalid conditions related to audience segments, such as invalid names, rules, or values.
Audience segment rules have limitations on complexity and the types of segments that can be included.
There are specific error reasons related to purchasing global licenses and policy violations for segments.
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 `AudienceSegmentError` and related errors within the API. It lists services like `AudienceSegmentService`, `ForecastService`, and `ProposalLineItemService`. Key information includes the `ApiError` with its fields (`fieldPath`, `trigger`, etc.). `AudienceSegmentError`'s `reason` details potential issues, like invalid names, rules, or values, unsupported segment types, and policy violations. It specifies that actions can fail for various issues, such as duplicates, length restrictions, or invalid characters. The namespace for the provided content is `https://www.google.com/apis/ads/publisher/v202411`.\n"]]