Interface YieldOptimizationConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<YieldOptimizationConfiguration.Builder,,YieldOptimizationConfiguration> SdkBuilder<YieldOptimizationConfiguration.Builder,,YieldOptimizationConfiguration> SdkPojo
- Enclosing class:
YieldOptimizationConfiguration
-
Method Summary
Modifier and TypeMethodDescriptionminimumUnfilledDuration(Integer minimumUnfilledDuration) The minimum unfilled duration, in seconds, that must remain in an ad break before MediaTailor requests additional ads from Amazon Publisher Services (APS).openRtbTemplate(String openRtbTemplate) The OpenRTB bid request template, in JSON, that MediaTailor sends to Amazon Publisher Services (APS).publisherId(String publisherId) Publisher ID for an existing Amazon Publisher Services configuration.The Amazon Publisher Services (APS) region that MediaTailor sends bid requests to.The Amazon Publisher Services (APS) region that MediaTailor sends bid requests to.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
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.
- Parameters:
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:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- 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.- Parameters:
openRtbTemplate- The OpenRTB bid request template, in JSON, that MediaTailor sends to Amazon Publisher Services (APS). The template must include animparray 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:
- Returns a reference to this object so that method calls can be chained together.
-