public final class VastRedirectCreativeDetails extends GeneratedMessage implements VastRedirectCreativeDetailsOrBuilder
A Creative that points to an externally hosted VAST ad and is served via
VAST XML as a VAST Wrapper.
Protobuf type google.ads.admanager.v1.VastRedirectCreativeDetails
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
Static Fields
AUDIO_FIELD_NUMBER
public static final int AUDIO_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
DESTINATION_URL_FIELD_NUMBER
public static final int DESTINATION_URL_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
DESTINATION_URL_TYPE_FIELD_NUMBER
public static final int DESTINATION_URL_TYPE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
DURATION_FIELD_NUMBER
public static final int DURATION_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
PROGRAMMATIC_DEMAND_SOURCE_FIELD_NUMBER
public static final int PROGRAMMATIC_DEMAND_SOURCE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
SERVER_SIDE_UNWRAPPING_DISABLED_FIELD_NUMBER
public static final int SERVER_SIDE_UNWRAPPING_DISABLED_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
TRACKING_URLS_FIELD_NUMBER
public static final int TRACKING_URLS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
VAST_PREVIEW_URL_FIELD_NUMBER
public static final int VAST_PREVIEW_URL_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
VAST_PRICING_ENABLED_FIELD_NUMBER
public static final int VAST_PRICING_ENABLED_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
VAST_REDIRECT_TYPE_FIELD_NUMBER
public static final int VAST_REDIRECT_TYPE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
VAST_XML_URL_FIELD_NUMBER
public static final int VAST_XML_URL_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static VastRedirectCreativeDetails getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static VastRedirectCreativeDetails.Builder newBuilder()
newBuilder(VastRedirectCreativeDetails prototype)
public static VastRedirectCreativeDetails.Builder newBuilder(VastRedirectCreativeDetails prototype)
public static VastRedirectCreativeDetails parseDelimitedFrom(InputStream input)
public static VastRedirectCreativeDetails parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static VastRedirectCreativeDetails parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static VastRedirectCreativeDetails parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static VastRedirectCreativeDetails parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static VastRedirectCreativeDetails parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static VastRedirectCreativeDetails parseFrom(CodedInputStream input)
public static VastRedirectCreativeDetails parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static VastRedirectCreativeDetails parseFrom(InputStream input)
public static VastRedirectCreativeDetails parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static VastRedirectCreativeDetails parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static VastRedirectCreativeDetails parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<VastRedirectCreativeDetails> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getAudio()
public boolean getAudio()
Optional. Whether the 3rd party VAST XML points to an audio ad. When true,
size will always be 1x1.
optional bool audio = 21 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
boolean |
The audio.
|
getDefaultInstanceForType()
public VastRedirectCreativeDetails getDefaultInstanceForType()
getDestinationUrl()
public String getDestinationUrl()
Optional. The URL that the user is directed to if they click on the
creative. This attribute is required unless the destinationUrlType is
NONE, and has a maximum length of 1024 characters.
optional string destination_url = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
String |
The destinationUrl.
|
getDestinationUrlBytes()
public ByteString getDestinationUrlBytes()
Optional. The URL that the user is directed to if they click on the
creative. This attribute is required unless the destinationUrlType is
NONE, and has a maximum length of 1024 characters.
optional string destination_url = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
ByteString |
The bytes for destinationUrl.
|
getDestinationUrlType()
public CreativeDestinationUrlTypeEnum.CreativeDestinationUrlType getDestinationUrlType()
Optional. The action that should be performed if the user clicks on the
creative. This attribute defaults to CLICK_TO_WEB.
optional .google.ads.admanager.v1.CreativeDestinationUrlTypeEnum.CreativeDestinationUrlType destination_url_type = 3 [(.google.api.field_behavior) = OPTIONAL];
getDestinationUrlTypeValue()
public int getDestinationUrlTypeValue()
Optional. The action that should be performed if the user clicks on the
creative. This attribute defaults to CLICK_TO_WEB.
optional .google.ads.admanager.v1.CreativeDestinationUrlTypeEnum.CreativeDestinationUrlType destination_url_type = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
int |
The enum numeric value on the wire for destinationUrlType.
|
getDuration()
public Duration getDuration()
Required. The duration of the VAST ad.
.google.protobuf.Duration duration = 5 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
Duration |
The duration.
|
getDurationOrBuilder()
public DurationOrBuilder getDurationOrBuilder()
Required. The duration of the VAST ad.
.google.protobuf.Duration duration = 5 [(.google.api.field_behavior) = REQUIRED];
getParserForType()
public Parser<VastRedirectCreativeDetails> getParserForType()
Overrides
getProgrammaticDemandSource()
public boolean getProgrammaticDemandSource()
Optional. Whether this is a redirect to a programmatic demand source.
optional bool programmatic_demand_source = 9 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
boolean |
The programmaticDemandSource.
|
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
getServerSideUnwrappingDisabled()
public boolean getServerSideUnwrappingDisabled()
Optional. Whether server-side unwrapping is disabled.
optional bool server_side_unwrapping_disabled = 10 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
boolean |
The serverSideUnwrappingDisabled.
|
getTrackingUrls(int index)
public VideoTrackingUrl getTrackingUrls(int index)
Optional. URLs that will be pinged when conversion events happen.
repeated .google.ads.admanager.v1.VideoTrackingUrl tracking_urls = 12 [(.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
index |
int
|
getTrackingUrlsCount()
public int getTrackingUrlsCount()
Optional. URLs that will be pinged when conversion events happen.
repeated .google.ads.admanager.v1.VideoTrackingUrl tracking_urls = 12 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
int |
|
getTrackingUrlsList()
public List<VideoTrackingUrl> getTrackingUrlsList()
Optional. URLs that will be pinged when conversion events happen.
repeated .google.ads.admanager.v1.VideoTrackingUrl tracking_urls = 12 [(.google.api.field_behavior) = OPTIONAL];
getTrackingUrlsOrBuilder(int index)
public VideoTrackingUrlOrBuilder getTrackingUrlsOrBuilder(int index)
Optional. URLs that will be pinged when conversion events happen.
repeated .google.ads.admanager.v1.VideoTrackingUrl tracking_urls = 12 [(.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
index |
int
|
getTrackingUrlsOrBuilderList()
public List<? extends VideoTrackingUrlOrBuilder> getTrackingUrlsOrBuilderList()
Optional. URLs that will be pinged when conversion events happen.
repeated .google.ads.admanager.v1.VideoTrackingUrl tracking_urls = 12 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
List<? extends com.google.ads.admanager.v1.VideoTrackingUrlOrBuilder> |
|
getVastPreviewUrl()
public String getVastPreviewUrl()
Output only. An ad tag URL that will return a preview of the VAST XML
response specific to this creative.
optional string vast_preview_url = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
String |
The vastPreviewUrl.
|
getVastPreviewUrlBytes()
public ByteString getVastPreviewUrlBytes()
Output only. An ad tag URL that will return a preview of the VAST XML
response specific to this creative.
optional string vast_preview_url = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
ByteString |
The bytes for vastPreviewUrl.
|
getVastPricingEnabled()
public boolean getVastPricingEnabled()
Optional. Whether pricing information from the VAST response will be used
during ad selection.
optional bool vast_pricing_enabled = 8 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
boolean |
The vastPricingEnabled.
|
getVastRedirectType()
public VastRedirectTypeEnum.VastRedirectType getVastRedirectType()
Required. The type of VAST ad that this redirects to.
optional .google.ads.admanager.v1.VastRedirectTypeEnum.VastRedirectType vast_redirect_type = 4 [(.google.api.field_behavior) = REQUIRED];
getVastRedirectTypeValue()
public int getVastRedirectTypeValue()
Required. The type of VAST ad that this redirects to.
optional .google.ads.admanager.v1.VastRedirectTypeEnum.VastRedirectType vast_redirect_type = 4 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
int |
The enum numeric value on the wire for vastRedirectType.
|
getVastXmlUrl()
public String getVastXmlUrl()
Required. The URL where the 3rd party VAST XML is hosted.
optional string vast_xml_url = 22 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
String |
The vastXmlUrl.
|
getVastXmlUrlBytes()
public ByteString getVastXmlUrlBytes()
Required. The URL where the 3rd party VAST XML is hosted.
optional string vast_xml_url = 22 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
ByteString |
The bytes for vastXmlUrl.
|
hasAudio()
public boolean hasAudio()
Optional. Whether the 3rd party VAST XML points to an audio ad. When true,
size will always be 1x1.
optional bool audio = 21 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
boolean |
Whether the audio field is set.
|
hasDestinationUrl()
public boolean hasDestinationUrl()
Optional. The URL that the user is directed to if they click on the
creative. This attribute is required unless the destinationUrlType is
NONE, and has a maximum length of 1024 characters.
optional string destination_url = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
boolean |
Whether the destinationUrl field is set.
|
hasDestinationUrlType()
public boolean hasDestinationUrlType()
Optional. The action that should be performed if the user clicks on the
creative. This attribute defaults to CLICK_TO_WEB.
optional .google.ads.admanager.v1.CreativeDestinationUrlTypeEnum.CreativeDestinationUrlType destination_url_type = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
boolean |
Whether the destinationUrlType field is set.
|
hasDuration()
public boolean hasDuration()
Required. The duration of the VAST ad.
.google.protobuf.Duration duration = 5 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
boolean |
Whether the duration field is set.
|
hasProgrammaticDemandSource()
public boolean hasProgrammaticDemandSource()
Optional. Whether this is a redirect to a programmatic demand source.
optional bool programmatic_demand_source = 9 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
boolean |
Whether the programmaticDemandSource field is set.
|
hasServerSideUnwrappingDisabled()
public boolean hasServerSideUnwrappingDisabled()
Optional. Whether server-side unwrapping is disabled.
optional bool server_side_unwrapping_disabled = 10 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
boolean |
Whether the serverSideUnwrappingDisabled field is set.
|
hasVastPreviewUrl()
public boolean hasVastPreviewUrl()
Output only. An ad tag URL that will return a preview of the VAST XML
response specific to this creative.
optional string vast_preview_url = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
boolean |
Whether the vastPreviewUrl field is set.
|
hasVastPricingEnabled()
public boolean hasVastPricingEnabled()
Optional. Whether pricing information from the VAST response will be used
during ad selection.
optional bool vast_pricing_enabled = 8 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
boolean |
Whether the vastPricingEnabled field is set.
|
hasVastRedirectType()
public boolean hasVastRedirectType()
Required. The type of VAST ad that this redirects to.
optional .google.ads.admanager.v1.VastRedirectTypeEnum.VastRedirectType vast_redirect_type = 4 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
boolean |
Whether the vastRedirectType field is set.
|
hasVastXmlUrl()
public boolean hasVastXmlUrl()
Required. The URL where the 3rd party VAST XML is hosted.
optional string vast_xml_url = 22 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
boolean |
Whether the vastXmlUrl field is set.
|
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public VastRedirectCreativeDetails.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected VastRedirectCreativeDetails.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public VastRedirectCreativeDetails.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides