type AudienceSegmentError (v202411)
Stay organized with collections
Save and categorize content based on your preferences.
AI-generated Key Takeaways
The AudienceSegmentError is a service within the Ad Manager API that handles errors related to audience segments.
This service inherits from ApiError and includes various specific error types related to audience segments and other API functions.
Key fields for understanding the error include fieldPath, fieldPathElements, trigger, and errorString, all inherited from ApiError.
The AudienceSegmentError has a specific reason field with numerous possible enumeration values detailing the specific cause of an audience segment related error.
Possible audience segment errors include invalid or duplicate names, descriptions, pageviews, recency, membership expiration, and issues with custom targeting or nested 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 details the `AudienceSegmentService` and its potential errors within the ad manager API. It specifies how `AudienceSegmentError` inherits from `ApiError`, listing various error types like `AuthenticationError`, `InternalApiError`, and `QuotaError`. It outlines key fields for `ApiError`, including `fieldPath`, `trigger`, and `errorString`. The content lists possible reasons for `AudienceSegmentError`, such as `INVALID_AUDIENCE_SEGMENT_RULE` and `DUPLICATE_AUDIENCE_SEGMENT_NAME`, alongside acceptable values for various segment properties.\n"]]