type DaiAuthenticationKeyActionError (v202411)
Stay organized with collections
Save and categorize content based on your preferences.
Service
DaiAuthenticationKeyService
Lists all errors associated with DAI authentication key actions.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202411
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.
|
DaiAuthenticationKeyActionError
|
reason
|
DaiAuthenticationKeyActionE...
Enumerations
-
INVALID_STATUS_TRANSITION
- The operation is not applicable to the current status.
-
CANNOT_DEACTIVATE_IF_USED_BY_ACTIVE_CONTENT_SOURCES
- A DAI authentication key cannot be deactivated if it is used by active content sources.
-
CANNOT_DEACTIVATE_IF_USED_BY_ACTIVE_LIVE_STREAMS
- A DAI authentication key cannot be deactivated if it is used by active live streams.
-
UNKNOWN
- The value returned if the actual value is not exposed by the requested API version.
|
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\u003eThe \u003ccode\u003eDaiAuthenticationKeyService\u003c/code\u003e handles errors related to actions performed on DAI authentication keys in Google Ad Manager.\u003c/p\u003e\n"],["\u003cp\u003eIt provides detailed error information including the field path, trigger, and a human-readable error string.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDaiAuthenticationKeyActionError\u003c/code\u003e specifically addresses errors during actions like activating or deactivating keys, with reasons like invalid status transitions or usage by active content sources.\u003c/p\u003e\n"],["\u003cp\u003eErrors can be categorized by reasons such as \u003ccode\u003eINVALID_STATUS_TRANSITION\u003c/code\u003e, \u003ccode\u003eCANNOT_DEACTIVATE_IF_USED_BY_ACTIVE_CONTENT_SOURCES\u003c/code\u003e, \u003ccode\u003eCANNOT_DEACTIVATE_IF_USED_BY_ACTIVE_LIVE_STREAMS\u003c/code\u003e or \u003ccode\u003eUNKNOWN\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThis service utilizes the namespace \u003ccode\u003ehttps://www.google.com/apis/ads/publisher/v202411\u003c/code\u003e for its operations.\u003c/p\u003e\n"]]],["The `DaiAuthenticationKeyService` outlines various error types inherited from `ApiError`, including `ApiVersionError`, `AuthenticationError`, and `InternalApiError`. It details errors related to DAI authentication key actions, such as `INVALID_STATUS_TRANSITION` and `CANNOT_DEACTIVATE_IF_USED_BY_ACTIVE_CONTENT_SOURCES`. `ApiError` includes fields like `fieldPath`, `fieldPathElements`, `trigger`, and `errorString`. The `DaiAuthenticationKeyActionError` contains a `reason` field with various enumerations, for instance, a key cannot be deactivated if used by active content.\n"],null,["# type DaiAuthenticationKeyActionError (v202411)\n\n**Service** \n**DaiAuthenticationKeyService** **Inheritance** \n[ApiError](/ad-manager/api/reference/v202411/DaiAuthenticationKeyService.ApiError) \n▼\n[ApiVersionError](/ad-manager/api/reference/v202411/DaiAuthenticationKeyService.ApiVersionError) [AuthenticationError](/ad-manager/api/reference/v202411/DaiAuthenticationKeyService.AuthenticationError) [CollectionSizeError](/ad-manager/api/reference/v202411/DaiAuthenticationKeyService.CollectionSizeError) [CommonError](/ad-manager/api/reference/v202411/DaiAuthenticationKeyService.CommonError) **DaiAuthenticationKeyActionE...** [FeatureError](/ad-manager/api/reference/v202411/DaiAuthenticationKeyService.FeatureError) [InternalApiError](/ad-manager/api/reference/v202411/DaiAuthenticationKeyService.InternalApiError) [NotNullError](/ad-manager/api/reference/v202411/DaiAuthenticationKeyService.NotNullError) [ParseError](/ad-manager/api/reference/v202411/DaiAuthenticationKeyService.ParseError) [PermissionError](/ad-manager/api/reference/v202411/DaiAuthenticationKeyService.PermissionError) [PublisherQueryLanguageConte...](/ad-manager/api/reference/v202411/DaiAuthenticationKeyService.PublisherQueryLanguageContextError \"PublisherQueryLanguageContextError\") [PublisherQueryLanguageSynta...](/ad-manager/api/reference/v202411/DaiAuthenticationKeyService.PublisherQueryLanguageSyntaxError \"PublisherQueryLanguageSyntaxError\") [QuotaError](/ad-manager/api/reference/v202411/DaiAuthenticationKeyService.QuotaError) [RequiredCollectionError](/ad-manager/api/reference/v202411/DaiAuthenticationKeyService.RequiredCollectionError) [RequiredError](/ad-manager/api/reference/v202411/DaiAuthenticationKeyService.RequiredError) [ServerError](/ad-manager/api/reference/v202411/DaiAuthenticationKeyService.ServerError) [StatementError](/ad-manager/api/reference/v202411/DaiAuthenticationKeyService.StatementError) [StringFormatError](/ad-manager/api/reference/v202411/DaiAuthenticationKeyService.StringFormatError) [StringLengthError](/ad-manager/api/reference/v202411/DaiAuthenticationKeyService.StringLengthError) [UniqueError](/ad-manager/api/reference/v202411/DaiAuthenticationKeyService.UniqueError)\n\nLists all errors associated with DAI authentication key actions.\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202411`\n\n| Field ----- ||\n|-------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| **`ApiError` (inherited)** ||\n| ### `fieldPath` | ` `xsd:`string` The OGNL field path to identify cause of error. |\n| ### `fieldPathElements` | ` `[FieldPathElement](/ad-manager/api/reference/v202411/DaiAuthenticationKeyService.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)}. |\n| ### `trigger` | ` `xsd:`string` The data that caused the error. |\n| ### `errorString` | ` `xsd:`string` A simple string representation of the error and reason. |\n| **`DaiAuthenticationKeyActionError`** ||\n| ### `reason` | ` `[DaiAuthenticationKeyActionE...](/ad-manager/api/reference/v202411/DaiAuthenticationKeyService.DaiAuthenticationKeyActionError.Reason \"DaiAuthenticationKeyActionError.Reason\")` ` *** ** * ** *** **Enumerations** `INVALID_STATUS_TRANSITION` : The operation is not applicable to the current status. `CANNOT_DEACTIVATE_IF_USED_BY_ACTIVE_CONTENT_SOURCES` : A DAI authentication key cannot be deactivated if it is used by active content sources. `CANNOT_DEACTIVATE_IF_USED_BY_ACTIVE_LIVE_STREAMS` : A DAI authentication key cannot be deactivated if it is used by active live streams. `UNKNOWN` : The value returned if the actual value is not exposed by the requested API version. \u003cbr /\u003e |"]]