enum DaiAuthenticationKeyType (v202408)
Stay organized with collections
Save and categorize content based on your preferences.
Service
DaiAuthenticationKeyService
Key types associated with DaiAuthenticationKey objects.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202408
Enumeration |
Description |
UNKNOWN
|
The value returned if the actual value is not exposed by the requested API version.
|
API
|
Indicates that the key is a standard API key and should be used with the api-key SDK parameter
when authenticating stream create requests.
|
HMAC
|
Indicates that the key is an HMAC key and should be used to generate a signature for the stream
create request with the auth-token SDK parameter.
|
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 manages \u003ccode\u003eDaiAuthenticationKey\u003c/code\u003e objects, which are associated with specific key types.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eDaiAuthenticationKeyType\u003c/code\u003e defines the purpose of a key, such as \u003ccode\u003eAPI\u003c/code\u003e for standard API keys or \u003ccode\u003eHMAC\u003c/code\u003e for generating signatures.\u003c/p\u003e\n"],["\u003cp\u003eKeys are used for authenticating stream create requests within the Dynamic Ad Insertion (DAI) context.\u003c/p\u003e\n"]]],["The content details `DaiAuthenticationKeyType`, which defines the types of keys used with `DaiAuthenticationKey` objects in the `DaiAuthenticationKeyService`. There are three key types: `UNKNOWN`, returned when the API doesn't expose the true value; `API`, a standard API key for authenticating stream creation requests; and `HMAC`, an HMAC key used to generate request signatures for stream creation. The namespace for these objects is `https://www.google.com/apis/ads/publisher/v202408`.\n"],null,["# enum DaiAuthenticationKeyType (v202408)\n\n**Service** \n**DaiAuthenticationKeyService** **Dependencies** \n[DaiAuthenticationKey](/ad-manager/api/reference/v202408/DaiAuthenticationKeyService.DaiAuthenticationKey) \n▼\n**DaiAuthenticationKeyType**\n\nKey types associated with [DaiAuthenticationKey](/ad-manager/api/reference/v202408/DaiAuthenticationKeyService.DaiAuthenticationKey) objects.\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202408`\n\n| Enumeration | Description |\n|-------------|---------------------------------------------------------------------------------------------------------------------------------------------------|\n| `UNKNOWN` | The value returned if the actual value is not exposed by the requested API version. |\n| `API` | Indicates that the key is a standard API key and should be used with the api-key SDK parameter when authenticating stream create requests. |\n| `HMAC` | Indicates that the key is an HMAC key and should be used to generate a signature for the stream create request with the auth-token SDK parameter. |"]]