type DistinctError (v202408)
Stay organized with collections
Save and categorize content based on your preferences.
Service
YieldGroupService
- Namespace
-
https://www.google.com/apis/ads/publisher/v202408
Field
|
ApiError (inherited)
|
fieldPath
|
xsd:string
|
fieldPathElements
|
FieldPathElement[]
|
trigger
|
xsd:string
|
errorString
|
xsd:string
|
DistinctError
|
reason
|
DistinctError.Reason
Enumerations
-
DUPLICATE_ELEMENT
-
DUPLICATE_TYPE
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-06 UTC.
[null,null,["Last updated 2025-08-06 UTC."],[[["\u003cp\u003eThis documentation details the \u003ccode\u003eYieldGroupService\u003c/code\u003e, outlining its functionality and potential errors.\u003c/p\u003e\n"],["\u003cp\u003eThe service inherits from \u003ccode\u003eApiError\u003c/code\u003e and includes various error types, such as \u003ccode\u003eDistinctError\u003c/code\u003e, \u003ccode\u003eAuthenticationError\u003c/code\u003e, and \u003ccode\u003eCollectionSizeError\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eEach error type has specific properties, like \u003ccode\u003ereason\u003c/code\u003e for \u003ccode\u003eDistinctError\u003c/code\u003e and common fields inherited from \u003ccode\u003eApiError\u003c/code\u003e such as \u003ccode\u003efieldPath\u003c/code\u003e and \u003ccode\u003eerrorString\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe namespace for this service is \u003ccode\u003ehttps://www.google.com/apis/ads/publisher/v202408\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eDistinctError.Reason\u003c/code\u003e is an enumeration that provides context for the distinct error, with potential values like \u003ccode\u003eDUPLICATE_ELEMENT\u003c/code\u003e and \u003ccode\u003eDUPLICATE_TYPE\u003c/code\u003e.\u003c/p\u003e\n"]]],["The `YieldGroupService` defines various error types under `ApiError`, categorized by their nature. These include issues related to API versions, authentication, data collection size, targeting (custom, date/time, day part, geo, inventory, mobile, request platform, user domain, video position, technology), and others. Specific errors like `DistinctError` indicate duplicate elements or types. Each error has associated details such as a field path, trigger, error string, and specific reason codes for `DistinctError`.\n"],null,["# type DistinctError (v202408)\n\n**Service** \n**YieldGroupService** **Inheritance** \n[ApiError](/ad-manager/api/reference/v202408/YieldGroupService.ApiError) \n▼\n[ApiVersionError](/ad-manager/api/reference/v202408/YieldGroupService.ApiVersionError) [AuthenticationError](/ad-manager/api/reference/v202408/YieldGroupService.AuthenticationError) [CollectionSizeError](/ad-manager/api/reference/v202408/YieldGroupService.CollectionSizeError) [CommonError](/ad-manager/api/reference/v202408/YieldGroupService.CommonError) [CustomTargetingError](/ad-manager/api/reference/v202408/YieldGroupService.CustomTargetingError) [DateTimeRangeTargetingError](/ad-manager/api/reference/v202408/YieldGroupService.DateTimeRangeTargetingError) [DayPartTargetingError](/ad-manager/api/reference/v202408/YieldGroupService.DayPartTargetingError) **DistinctError** [EntityChildrenLimitReachedE...](/ad-manager/api/reference/v202408/YieldGroupService.EntityChildrenLimitReachedError \"EntityChildrenLimitReachedError\") [EntityLimitReachedError](/ad-manager/api/reference/v202408/YieldGroupService.EntityLimitReachedError) [FeatureError](/ad-manager/api/reference/v202408/YieldGroupService.FeatureError) [GenericTargetingError](/ad-manager/api/reference/v202408/YieldGroupService.GenericTargetingError) [GeoTargetingError](/ad-manager/api/reference/v202408/YieldGroupService.GeoTargetingError) [IdError](/ad-manager/api/reference/v202408/YieldGroupService.IdError) [InternalApiError](/ad-manager/api/reference/v202408/YieldGroupService.InternalApiError) [InvalidUrlError](/ad-manager/api/reference/v202408/YieldGroupService.InvalidUrlError) [InventoryTargetingError](/ad-manager/api/reference/v202408/YieldGroupService.InventoryTargetingError) [MobileApplicationTargetingE...](/ad-manager/api/reference/v202408/YieldGroupService.MobileApplicationTargetingError \"MobileApplicationTargetingError\") [NotNullError](/ad-manager/api/reference/v202408/YieldGroupService.NotNullError) [ParseError](/ad-manager/api/reference/v202408/YieldGroupService.ParseError) [PermissionError](/ad-manager/api/reference/v202408/YieldGroupService.PermissionError) [PublisherQueryLanguageConte...](/ad-manager/api/reference/v202408/YieldGroupService.PublisherQueryLanguageContextError \"PublisherQueryLanguageContextError\") [PublisherQueryLanguageSynta...](/ad-manager/api/reference/v202408/YieldGroupService.PublisherQueryLanguageSyntaxError \"PublisherQueryLanguageSyntaxError\") [QuotaError](/ad-manager/api/reference/v202408/YieldGroupService.QuotaError) [RequestPlatformTargetingError](/ad-manager/api/reference/v202408/YieldGroupService.RequestPlatformTargetingError) [RequiredCollectionError](/ad-manager/api/reference/v202408/YieldGroupService.RequiredCollectionError) [RequiredError](/ad-manager/api/reference/v202408/YieldGroupService.RequiredError) [RequiredNumberError](/ad-manager/api/reference/v202408/YieldGroupService.RequiredNumberError) [ServerError](/ad-manager/api/reference/v202408/YieldGroupService.ServerError) [StatementError](/ad-manager/api/reference/v202408/YieldGroupService.StatementError) [StringFormatError](/ad-manager/api/reference/v202408/YieldGroupService.StringFormatError) [StringLengthError](/ad-manager/api/reference/v202408/YieldGroupService.StringLengthError) [TechnologyTargetingError](/ad-manager/api/reference/v202408/YieldGroupService.TechnologyTargetingError) [UniqueError](/ad-manager/api/reference/v202408/YieldGroupService.UniqueError) [UserDomainTargetingError](/ad-manager/api/reference/v202408/YieldGroupService.UserDomainTargetingError) [VideoPositionTargetingError](/ad-manager/api/reference/v202408/YieldGroupService.VideoPositionTargetingError) [YieldError](/ad-manager/api/reference/v202408/YieldGroupService.YieldError)\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202408`\n\n| Field ----- ||\n|-------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| **`ApiError` (inherited)** ||\n| ### `fieldPath` | ` `xsd:`string` \u003cbr /\u003e |\n| ### `fieldPathElements` | ` `[FieldPathElement](/ad-manager/api/reference/v202408/YieldGroupService.FieldPathElement)`[]` \u003cbr /\u003e |\n| ### `trigger` | ` `xsd:`string` \u003cbr /\u003e |\n| ### `errorString` | ` `xsd:`string` \u003cbr /\u003e |\n| **`DistinctError`** ||\n| ### `reason` | ` `[DistinctError.Reason](/ad-manager/api/reference/v202408/YieldGroupService.DistinctError.Reason)` ` *** ** * ** *** **Enumerations** `DUPLICATE_ELEMENT` : `DUPLICATE_TYPE` : \u003cbr /\u003e |"]]