public static interface Extension.VideoExtensionsOrBuilder extends com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<Extension.VideoExtensions>
| Modifier and Type | Method and Description |
|---|---|
Extension.VideoExtensions.PlacementType |
getPlacementType()
optional .openrtb.VideoExtensions.PlacementType placement_type = 3 [default = IN_STREAM]; |
String |
getPlayerSize()
player_size can be one of ["S", "M"., "L", "XL", "NA"].
|
com.google.protobuf.ByteString |
getPlayerSizeBytes()
player_size can be one of ["S", "M"., "L", "XL", "NA"].
|
OpenrtbCommon.CreativeAttribute |
getRequiredAttrs(int index)
Creative attributes that are required by the request.
|
int |
getRequiredAttrsCount()
Creative attributes that are required by the request.
|
List<OpenrtbCommon.CreativeAttribute> |
getRequiredAttrsList()
Creative attributes that are required by the request.
|
boolean |
getRewarded()
Some exchanges support "rewarded videos".
|
int |
getSkipOffset()
Number of seconds into the video ad when the skip button appears.
|
boolean |
hasPlacementType()
optional .openrtb.VideoExtensions.PlacementType placement_type = 3 [default = IN_STREAM]; |
boolean |
hasPlayerSize()
player_size can be one of ["S", "M"., "L", "XL", "NA"].
|
boolean |
hasRewarded()
Some exchanges support "rewarded videos".
|
boolean |
hasSkipOffset()
Number of seconds into the video ad when the skip button appears.
|
getDefaultInstanceForType, getExtension, getExtension, getExtension, getExtension, getExtension, getExtension, getExtensionCount, getExtensionCount, getExtensionCount, hasExtension, hasExtension, hasExtensionboolean hasPlayerSize()
player_size can be one of ["S", "M"., "L", "XL", "NA"]. Computed by the LocalAugmentor in Stinger.
optional string player_size = 1;String getPlayerSize()
player_size can be one of ["S", "M"., "L", "XL", "NA"]. Computed by the LocalAugmentor in Stinger.
optional string player_size = 1;com.google.protobuf.ByteString getPlayerSizeBytes()
player_size can be one of ["S", "M"., "L", "XL", "NA"]. Computed by the LocalAugmentor in Stinger.
optional string player_size = 1;List<OpenrtbCommon.CreativeAttribute> getRequiredAttrsList()
Creative attributes that are required by the request. For e.g. Adx requests that require skippable ads are modeled as having required_attr = AD_CAN_BE_SKIPPED
repeated .openrtb.CreativeAttribute required_attrs = 2;int getRequiredAttrsCount()
Creative attributes that are required by the request. For e.g. Adx requests that require skippable ads are modeled as having required_attr = AD_CAN_BE_SKIPPED
repeated .openrtb.CreativeAttribute required_attrs = 2;OpenrtbCommon.CreativeAttribute getRequiredAttrs(int index)
Creative attributes that are required by the request. For e.g. Adx requests that require skippable ads are modeled as having required_attr = AD_CAN_BE_SKIPPED
repeated .openrtb.CreativeAttribute required_attrs = 2;boolean hasPlacementType()
optional .openrtb.VideoExtensions.PlacementType placement_type = 3 [default = IN_STREAM];Extension.VideoExtensions.PlacementType getPlacementType()
optional .openrtb.VideoExtensions.PlacementType placement_type = 3 [default = IN_STREAM];boolean hasSkipOffset()
Number of seconds into the video ad when the skip button appears. This is only applicable to skippable video ads. Some inventory sources such as Google Ad Exchange do not specify this skip offset explicity in the bid request. For such sources, skip_offset of 5 seconds is a safe default.
optional int32 skip_offset = 4 [default = 5];int getSkipOffset()
Number of seconds into the video ad when the skip button appears. This is only applicable to skippable video ads. Some inventory sources such as Google Ad Exchange do not specify this skip offset explicity in the bid request. For such sources, skip_offset of 5 seconds is a safe default.
optional int32 skip_offset = 4 [default = 5];boolean hasRewarded()
Some exchanges support "rewarded videos". This signifies that an end user
will recieve a reward for interacting with the ad. E.g. if the user watches
the whole video, they get game currency in a phone game.
Two things to note:
1. Protobufs sets bools false by default. Unless this field exists and
is explicitly set to true, a video is considered "nonrewarded".
2. No exchange actually defines this field here, it is a generalization
of the different ways that exchanges denote rewarded videos.
optional bool rewarded = 5;boolean getRewarded()
Some exchanges support "rewarded videos". This signifies that an end user
will recieve a reward for interacting with the ad. E.g. if the user watches
the whole video, they get game currency in a phone game.
Two things to note:
1. Protobufs sets bools false by default. Unless this field exists and
is explicitly set to true, a video is considered "nonrewarded".
2. No exchange actually defines this field here, it is a generalization
of the different ways that exchanges denote rewarded videos.
optional bool rewarded = 5;Copyright © 2017. All rights reserved.