Class YieldOptimizationConfiguration
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<YieldOptimizationConfiguration.Builder,YieldOptimizationConfiguration>
Configuration for Yield Optimization, which fills unsold ad inventory in ad breaks with programmatic ads from Amazon Publisher Services (APS).
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final IntegerThe minimum unfilled duration, in seconds, that must remain in an ad break before MediaTailor requests additional ads from Amazon Publisher Services (APS).final StringThe OpenRTB bid request template, in JSON, that MediaTailor sends to Amazon Publisher Services (APS).final StringPublisher ID for an existing Amazon Publisher Services configuration.final ApsRegionregion()The Amazon Publisher Services (APS) region that MediaTailor sends bid requests to.final StringThe Amazon Publisher Services (APS) region that MediaTailor sends bid requests to.static Class<? extends YieldOptimizationConfiguration.Builder> Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
minimumUnfilledDuration
The minimum unfilled duration, in seconds, that must remain in an ad break before MediaTailor requests additional ads from Amazon Publisher Services (APS). For example, if set to 6 seconds, yield optimization triggers only when at least 6 seconds of unfilled time remains after the primary ad server response.
- Returns:
- The minimum unfilled duration, in seconds, that must remain in an ad break before MediaTailor requests additional ads from Amazon Publisher Services (APS). For example, if set to 6 seconds, yield optimization triggers only when at least 6 seconds of unfilled time remains after the primary ad server response.
-
publisherId
Publisher ID for an existing Amazon Publisher Services configuration. This ID must be obtained by registering with APS prior to using the Yield Optimization feature. The Publisher ID identifies your account in the APS system and is required for all bid requests.
- Returns:
- Publisher ID for an existing Amazon Publisher Services configuration. This ID must be obtained by registering with APS prior to using the Yield Optimization feature. The Publisher ID identifies your account in the APS system and is required for all bid requests.
-
region
The Amazon Publisher Services (APS) region that MediaTailor sends bid requests to. Choose the region closest to your primary audience, because the selection affects both latency and the ad inventory available to you. This setting applies to the entire playback configuration, not to individual viewers. If you serve traffic across multiple regions, create a separate playback configuration for each APS region.
If the service returns an enum value that is not available in the current SDK version,
regionwill returnApsRegion.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromregionAsString().- Returns:
- The Amazon Publisher Services (APS) region that MediaTailor sends bid requests to. Choose the region closest to your primary audience, because the selection affects both latency and the ad inventory available to you. This setting applies to the entire playback configuration, not to individual viewers. If you serve traffic across multiple regions, create a separate playback configuration for each APS region.
- See Also:
-
regionAsString
The Amazon Publisher Services (APS) region that MediaTailor sends bid requests to. Choose the region closest to your primary audience, because the selection affects both latency and the ad inventory available to you. This setting applies to the entire playback configuration, not to individual viewers. If you serve traffic across multiple regions, create a separate playback configuration for each APS region.
If the service returns an enum value that is not available in the current SDK version,
regionwill returnApsRegion.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromregionAsString().- Returns:
- The Amazon Publisher Services (APS) region that MediaTailor sends bid requests to. Choose the region closest to your primary audience, because the selection affects both latency and the ad inventory available to you. This setting applies to the entire playback configuration, not to individual viewers. If you serve traffic across multiple regions, create a separate playback configuration for each APS region.
- See Also:
-
openRtbTemplate
The OpenRTB bid request template, in JSON, that MediaTailor sends to Amazon Publisher Services (APS). The template must include an
imparray with one impression specifyingbidfloor, anappobject specifyingbundleandstoreurl, and adeviceobject specifyinguaandip. Use double curly braces (for example,{{player_params.user_agent}}) to insert session variables and player parameters.- Returns:
- The OpenRTB bid request template, in JSON, that MediaTailor sends to Amazon Publisher Services (APS). The
template must include an
imparray with one impression specifyingbidfloor, anappobject specifyingbundleandstoreurl, and adeviceobject specifyinguaandip. Use double curly braces (for example,{{player_params.user_agent}}) to insert session variables and player parameters.
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<YieldOptimizationConfiguration.Builder,YieldOptimizationConfiguration> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-