# type AudienceSegmentError (v202608)

**Service** [AudienceSegmentService](https://developers.google.com/ad-manager/api/reference/v202608/AudienceSegmentService.AudienceSegmentError.md.txt) [ForecastService](https://developers.google.com/ad-manager/api/reference/v202608/ForecastService.AudienceSegmentError.md.txt) [LineItemService](https://developers.google.com/ad-manager/api/reference/v202608/LineItemService.AudienceSegmentError.md.txt) [LineItemTemplateService](https://developers.google.com/ad-manager/api/reference/v202608/LineItemTemplateService.AudienceSegmentError.md.txt) [OrderService](https://developers.google.com/ad-manager/api/reference/v202608/OrderService.AudienceSegmentError.md.txt) **ProposalLineItemService** [ProposalService](https://developers.google.com/ad-manager/api/reference/v202608/ProposalService.AudienceSegmentError.md.txt) [PublisherQueryLanguageService](https://developers.google.com/ad-manager/api/reference/v202608/PublisherQueryLanguageService.AudienceSegmentError.md.txt) **Inheritance** [ApiError](https://developers.google.com/ad-manager/api/reference/v202608/ProposalLineItemService.ApiError.md.txt) ▼ [AdProductBookingError](https://developers.google.com/ad-manager/api/reference/v202608/ProposalLineItemService.AdProductBookingError.md.txt) [ApiVersionError](https://developers.google.com/ad-manager/api/reference/v202608/ProposalLineItemService.ApiVersionError.md.txt) **AudienceSegmentError** [AuthenticationError](https://developers.google.com/ad-manager/api/reference/v202608/ProposalLineItemService.AuthenticationError.md.txt) [BillingError](https://developers.google.com/ad-manager/api/reference/v202608/ProposalLineItemService.BillingError.md.txt) [CollectionSizeError](https://developers.google.com/ad-manager/api/reference/v202608/ProposalLineItemService.CollectionSizeError.md.txt) [CommonError](https://developers.google.com/ad-manager/api/reference/v202608/ProposalLineItemService.CommonError.md.txt) [CurrencyCodeError](https://developers.google.com/ad-manager/api/reference/v202608/ProposalLineItemService.CurrencyCodeError.md.txt) [CustomFieldValueError](https://developers.google.com/ad-manager/api/reference/v202608/ProposalLineItemService.CustomFieldValueError.md.txt) [CustomTargetingError](https://developers.google.com/ad-manager/api/reference/v202608/ProposalLineItemService.CustomTargetingError.md.txt) [DateTimeRangeTargetingError](https://developers.google.com/ad-manager/api/reference/v202608/ProposalLineItemService.DateTimeRangeTargetingError.md.txt) [DayPartTargetingError](https://developers.google.com/ad-manager/api/reference/v202608/ProposalLineItemService.DayPartTargetingError.md.txt) [DealError](https://developers.google.com/ad-manager/api/reference/v202608/ProposalLineItemService.DealError.md.txt) [EntityChildrenLimitReachedE...](https://developers.google.com/ad-manager/api/reference/v202608/ProposalLineItemService.EntityChildrenLimitReachedError.md.txt "EntityChildrenLimitReachedError") [EntityLimitReachedError](https://developers.google.com/ad-manager/api/reference/v202608/ProposalLineItemService.EntityLimitReachedError.md.txt) [ExchangeRateError](https://developers.google.com/ad-manager/api/reference/v202608/ProposalLineItemService.ExchangeRateError.md.txt) [FeatureError](https://developers.google.com/ad-manager/api/reference/v202608/ProposalLineItemService.FeatureError.md.txt) [ForecastError](https://developers.google.com/ad-manager/api/reference/v202608/ProposalLineItemService.ForecastError.md.txt) [FrequencyCapError](https://developers.google.com/ad-manager/api/reference/v202608/ProposalLineItemService.FrequencyCapError.md.txt) [GenericTargetingError](https://developers.google.com/ad-manager/api/reference/v202608/ProposalLineItemService.GenericTargetingError.md.txt) [GeoTargetingError](https://developers.google.com/ad-manager/api/reference/v202608/ProposalLineItemService.GeoTargetingError.md.txt) [GrpSettingsError](https://developers.google.com/ad-manager/api/reference/v202608/ProposalLineItemService.GrpSettingsError.md.txt) [InternalApiError](https://developers.google.com/ad-manager/api/reference/v202608/ProposalLineItemService.InternalApiError.md.txt) [InventoryTargetingError](https://developers.google.com/ad-manager/api/reference/v202608/ProposalLineItemService.InventoryTargetingError.md.txt) [LabelEntityAssociationError](https://developers.google.com/ad-manager/api/reference/v202608/ProposalLineItemService.LabelEntityAssociationError.md.txt) [LineItemError](https://developers.google.com/ad-manager/api/reference/v202608/ProposalLineItemService.LineItemError.md.txt) [LineItemFlightDateError](https://developers.google.com/ad-manager/api/reference/v202608/ProposalLineItemService.LineItemFlightDateError.md.txt) [LineItemOperationError](https://developers.google.com/ad-manager/api/reference/v202608/ProposalLineItemService.LineItemOperationError.md.txt) [MobileApplicationTargetingE...](https://developers.google.com/ad-manager/api/reference/v202608/ProposalLineItemService.MobileApplicationTargetingError.md.txt "MobileApplicationTargetingError") [NotNullError](https://developers.google.com/ad-manager/api/reference/v202608/ProposalLineItemService.NotNullError.md.txt) [ParseError](https://developers.google.com/ad-manager/api/reference/v202608/ProposalLineItemService.ParseError.md.txt) [PermissionError](https://developers.google.com/ad-manager/api/reference/v202608/ProposalLineItemService.PermissionError.md.txt) [PrecisionError](https://developers.google.com/ad-manager/api/reference/v202608/ProposalLineItemService.PrecisionError.md.txt) [PreferredDealError](https://developers.google.com/ad-manager/api/reference/v202608/ProposalLineItemService.PreferredDealError.md.txt) [ProgrammaticError](https://developers.google.com/ad-manager/api/reference/v202608/ProposalLineItemService.ProgrammaticError.md.txt) [ProposalActionError](https://developers.google.com/ad-manager/api/reference/v202608/ProposalLineItemService.ProposalActionError.md.txt) [ProposalError](https://developers.google.com/ad-manager/api/reference/v202608/ProposalLineItemService.ProposalError.md.txt) [ProposalLineItemActionError](https://developers.google.com/ad-manager/api/reference/v202608/ProposalLineItemService.ProposalLineItemActionError.md.txt) [ProposalLineItemError](https://developers.google.com/ad-manager/api/reference/v202608/ProposalLineItemService.ProposalLineItemError.md.txt) [ProposalLineItemMakegoodError](https://developers.google.com/ad-manager/api/reference/v202608/ProposalLineItemService.ProposalLineItemMakegoodError.md.txt) [ProposalLineItemProgrammati...](https://developers.google.com/ad-manager/api/reference/v202608/ProposalLineItemService.ProposalLineItemProgrammaticError.md.txt "ProposalLineItemProgrammaticError") [PublisherProvidedSignalsTar...](https://developers.google.com/ad-manager/api/reference/v202608/ProposalLineItemService.PublisherProvidedSignalsTargetingError.md.txt "PublisherProvidedSignalsTargetingError") [PublisherQueryLanguageConte...](https://developers.google.com/ad-manager/api/reference/v202608/ProposalLineItemService.PublisherQueryLanguageContextError.md.txt "PublisherQueryLanguageContextError") [PublisherQueryLanguageSynta...](https://developers.google.com/ad-manager/api/reference/v202608/ProposalLineItemService.PublisherQueryLanguageSyntaxError.md.txt "PublisherQueryLanguageSyntaxError") [QuotaError](https://developers.google.com/ad-manager/api/reference/v202608/ProposalLineItemService.QuotaError.md.txt) [RangeError](https://developers.google.com/ad-manager/api/reference/v202608/ProposalLineItemService.RangeError.md.txt) [RequestError](https://developers.google.com/ad-manager/api/reference/v202608/ProposalLineItemService.RequestError.md.txt) [RequestPlatformTargetingError](https://developers.google.com/ad-manager/api/reference/v202608/ProposalLineItemService.RequestPlatformTargetingError.md.txt) [RequiredCollectionError](https://developers.google.com/ad-manager/api/reference/v202608/ProposalLineItemService.RequiredCollectionError.md.txt) [RequiredError](https://developers.google.com/ad-manager/api/reference/v202608/ProposalLineItemService.RequiredError.md.txt) [RequiredNumberError](https://developers.google.com/ad-manager/api/reference/v202608/ProposalLineItemService.RequiredNumberError.md.txt) [ReservationDetailsError](https://developers.google.com/ad-manager/api/reference/v202608/ProposalLineItemService.ReservationDetailsError.md.txt) [ServerError](https://developers.google.com/ad-manager/api/reference/v202608/ProposalLineItemService.ServerError.md.txt) [StatementError](https://developers.google.com/ad-manager/api/reference/v202608/ProposalLineItemService.StatementError.md.txt) [StringFormatError](https://developers.google.com/ad-manager/api/reference/v202608/ProposalLineItemService.StringFormatError.md.txt) [StringLengthError](https://developers.google.com/ad-manager/api/reference/v202608/ProposalLineItemService.StringLengthError.md.txt) [TeamError](https://developers.google.com/ad-manager/api/reference/v202608/ProposalLineItemService.TeamError.md.txt) [TechnologyTargetingError](https://developers.google.com/ad-manager/api/reference/v202608/ProposalLineItemService.TechnologyTargetingError.md.txt) [TimeZoneError](https://developers.google.com/ad-manager/api/reference/v202608/ProposalLineItemService.TimeZoneError.md.txt) [TypeError](https://developers.google.com/ad-manager/api/reference/v202608/ProposalLineItemService.TypeError.md.txt) [UniqueError](https://developers.google.com/ad-manager/api/reference/v202608/ProposalLineItemService.UniqueError.md.txt) [UserDomainTargetingError](https://developers.google.com/ad-manager/api/reference/v202608/ProposalLineItemService.UserDomainTargetingError.md.txt) [VideoPositionTargetingError](https://developers.google.com/ad-manager/api/reference/v202608/ProposalLineItemService.VideoPositionTargetingError.md.txt)

Errors that could occur on audience segment related requests.

*** ** * ** ***

Namespace
:
    `https://www.google.com/apis/ads/publisher/v202608`

| ## Field ||
|---|---|
| **`ApiError` (inherited)** ||
| ### `fieldPath` | ` xsd:string` The OGNL field path to identify cause of error. |
| ### `fieldPathElements` | ` FieldPathElement[]` 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. |
| **`AudienceSegmentError`** ||
| ### `reason` | ` AudienceSegmentError.Reason ` *** ** * ** *** **Enumerations** `FIRST_PARTY_AUDIENCE_SEGMENT_NOT_SUPPORTED` :   First party audience segment is not supported. `INVALID_AUDIENCE_SEGMENT_RULE` :   Audience segment rule is invalid. `AUDIENCE_SEGMENT_RULE_TOO_LONG` :   Audience segment rule contains too many ad units and/or custom criteria. `INVALID_AUDIENCE_SEGMENT_NAME` :   Audience segment name is invalid. `DUPLICATE_AUDIENCE_SEGMENT_NAME` :   Audience segment with this name already exists. `INVALID_AUDIENCE_SEGMENT_DESCRIPTION` :   Audience segment description is invalid. `INVALID_AUDIENCE_SEGMENT_PAGEVIEWS` :   Audience segment pageviews value is invalid. It must be between 1 and 12. `INVALID_AUDIENCE_SEGMENT_RECENCY` :   Audience segment recency value is invalid. It must be between 1 and 90 if pageviews \> 1. `INVALID_AUDIENCE_SEGMENT_MEMBERSHIP_EXPIRATION` :   Audience segment membership expiration value is invalid. It must be between 1 and 180. `INVALID_AUDIENCE_SEGMENT_CUSTOM_KEY_NAME` :   The given custom key cannot be part of audience segment rule due to unsupported characters. `INVALID_AUDIENCE_SEGMENT_CUSTOM_VALUE_NAME` :   The given custom value cannot be part of audience segment rule due to unsupported characters. `INVALID_AUDIENCE_SEGMENT_CUSTOM_VALUE_MATCH_TYPE` :   Broad-match custom value cannot be part of audience segment rule. `INVALID_NESTED_FIRST_PARTY_AUDIENCE_SEGMENT` :   Audience segment rule cannot contain itself. `SHARED_SELLING_PARTNER_ROOT_CANNOT_BE_INCLUDED` :   Audience segment rule cannot contain shared selling inventory unit. `INVALID_NESTED_THIRD_PARTY_AUDIENCE_SEGMENT` :   Audience segment rule cannot contain a nested third-party segment. `INACTIVE_NESTED_AUDIENCE_SEGMENT` :   Audience segment rule cannot contain a nested inactive segment. `AUDIENCE_SEGMENT_GLOBAL_LICENSE_ERROR` :   An error occurred when purchasing global licenses. `SEGMENT_VIOLATED_POLICY` :   Segment cannot be activated as it violates Google's Platform Policy. `UNKNOWN` :   The value returned if the actual value is not exposed by the requested API version. <br /> |