Class GoogleDaiConfiguration
-
- All Implemented Interfaces:
public abstract class GoogleDaiConfiguration extends SsaiDescription
The common Google DAI configuration.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public abstract classGoogleDaiConfiguration.BuilderThe builder for the Google DAI configuration.
-
Field Summary
Fields Modifier and Type Field Description public StreamTypeavailabilityTypepublic StringapiKeypublic StringauthTokenpublic StringstreamActivityMonitorIDpublic Map<String, String>adTagParameterspublic Stringformatpublic final SsaiIntegrationintegration
-
Constructor Summary
Constructors Constructor Description GoogleDaiConfiguration(StreamType availabilityType, String apiKey, String authToken, String streamActivityMonitorID, Map<String, String> adTagParameters, SourceType sourceType)
-
Method Summary
Modifier and Type Method Description StreamTypegetAvailabilityType()The type of the requested stream. StringgetApiKey()The API key for the stream request. StringgetAuthToken()The authorization token for the stream request. StringgetStreamActivityMonitorID()The identifier for a stream activity monitor session. Map<String, String>getAdTagParameters()The ad tag parameters added to stream request. StringgetFormat()The format of the stream. booleanequals(Object o)inthashCode()-
-
Constructor Detail
-
GoogleDaiConfiguration
GoogleDaiConfiguration(StreamType availabilityType, String apiKey, String authToken, String streamActivityMonitorID, Map<String, String> adTagParameters, SourceType sourceType)
-
-
Method Detail
-
getAvailabilityType
@NonNull() StreamType getAvailabilityType()
The type of the requested stream.
- Returns:
The StreamType. (NonNull)
-
getApiKey
@NonNull() String getApiKey()
The API key for the stream request. (NonNull)
- This key is used to verify applications that are attempting to access the content.
- This key is configured through the Google Ad Manager UI.
-
getAuthToken
@Nullable() String getAuthToken()
The authorization token for the stream request. (Nullable)
- This token is used for stricter content authorization.
- The publisher can control individual content streams authorizations based on this token.
-
getStreamActivityMonitorID
@Nullable() String getStreamActivityMonitorID()
The identifier for a stream activity monitor session. (Nullable)
-
getAdTagParameters
@Nullable() Map<String, String> getAdTagParameters()
The ad tag parameters added to stream request.
- Each entry contains the parameter name with associated value.
- Returns:
Map of ad tag parameters. (Nullable)
-
hashCode
int hashCode()
-
-
-
-