Interface ImageRedirectCreativeDetailsOrBuilder (0.62.0)

public interface ImageRedirectCreativeDetailsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAltText()

public abstract String getAltText()

Optional. Alternative text to be rendered along with the creative used mainly for accessibility. This field has a maximum length of 500 characters.

optional string alt_text = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The altText.

getAltTextBytes()

public abstract ByteString getAltTextBytes()

Optional. Alternative text to be rendered along with the creative used mainly for accessibility. This field has a maximum length of 500 characters.

optional string alt_text = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for altText.

getDestinationUrl()

public abstract 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 = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The destinationUrl.

getDestinationUrlBytes()

public abstract 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 = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for destinationUrl.

getDestinationUrlType()

public abstract 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 = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
CreativeDestinationUrlTypeEnum.CreativeDestinationUrlType

The destinationUrlType.

getDestinationUrlTypeValue()

public abstract 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 = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for destinationUrlType.

getImageUrl()

public abstract String getImageUrl()

Required. The URL where the actual asset resides. This field has a maximum length of 1024 characters.

optional string image_url = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The imageUrl.

getImageUrlBytes()

public abstract ByteString getImageUrlBytes()

Required. The URL where the actual asset resides. This field has a maximum length of 1024 characters.

optional string image_url = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for imageUrl.

getThirdPartyImpressionTrackingUrls(int index)

public abstract String getThirdPartyImpressionTrackingUrls(int index)

Optional. Impression tracking URLs to ping when this creative is displayed. Each string has a maximum length of 1024 characters.

repeated string third_party_impression_tracking_urls = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The thirdPartyImpressionTrackingUrls at the given index.

getThirdPartyImpressionTrackingUrlsBytes(int index)

public abstract ByteString getThirdPartyImpressionTrackingUrlsBytes(int index)

Optional. Impression tracking URLs to ping when this creative is displayed. Each string has a maximum length of 1024 characters.

repeated string third_party_impression_tracking_urls = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the thirdPartyImpressionTrackingUrls at the given index.

getThirdPartyImpressionTrackingUrlsCount()

public abstract int getThirdPartyImpressionTrackingUrlsCount()

Optional. Impression tracking URLs to ping when this creative is displayed. Each string has a maximum length of 1024 characters.

repeated string third_party_impression_tracking_urls = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The count of thirdPartyImpressionTrackingUrls.

getThirdPartyImpressionTrackingUrlsList()

public abstract List<String> getThirdPartyImpressionTrackingUrlsList()

Optional. Impression tracking URLs to ping when this creative is displayed. Each string has a maximum length of 1024 characters.

repeated string third_party_impression_tracking_urls = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<String>

A list containing the thirdPartyImpressionTrackingUrls.

hasAltText()

public abstract boolean hasAltText()

Optional. Alternative text to be rendered along with the creative used mainly for accessibility. This field has a maximum length of 500 characters.

optional string alt_text = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the altText field is set.

hasDestinationUrl()

public abstract 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 = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the destinationUrl field is set.

hasDestinationUrlType()

public abstract 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 = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the destinationUrlType field is set.

hasImageUrl()

public abstract boolean hasImageUrl()

Required. The URL where the actual asset resides. This field has a maximum length of 1024 characters.

optional string image_url = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the imageUrl field is set.