Interface ThirdPartyCreativeDetailsOrBuilder (0.62.0)

public interface ThirdPartyCreativeDetailsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAmpRedirectUrl()

public abstract String getAmpRedirectUrl()

Optional. The URL of the AMP creative.

optional string amp_redirect_url = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The ampRedirectUrl.

getAmpRedirectUrlBytes()

public abstract ByteString getAmpRedirectUrlBytes()

Optional. The URL of the AMP creative.

optional string amp_redirect_url = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for ampRedirectUrl.

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 = 10 [(.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 = 10 [(.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 = 11 [(.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 = 11 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for destinationUrlType.

getExpandedSnippet()

public abstract String getExpandedSnippet()

Output only. The HTML snippet that this creative delivers with macros expanded.

optional string expanded_snippet = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The expandedSnippet.

getExpandedSnippetBytes()

public abstract ByteString getExpandedSnippetBytes()

Output only. The HTML snippet that this creative delivers with macros expanded.

optional string expanded_snippet = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for expandedSnippet.

getLockedOrientation()

public abstract CreativeLockedOrientationEnum.CreativeLockedOrientation getLockedOrientation()

Optional. A locked orientation for this creative to be displayed in.

optional .google.ads.admanager.v1.CreativeLockedOrientationEnum.CreativeLockedOrientation locked_orientation = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
CreativeLockedOrientationEnum.CreativeLockedOrientation

The lockedOrientation.

getLockedOrientationValue()

public abstract int getLockedOrientationValue()

Optional. A locked orientation for this creative to be displayed in.

optional .google.ads.admanager.v1.CreativeLockedOrientationEnum.CreativeLockedOrientation locked_orientation = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for lockedOrientation.

getSafeFrameCompatible()

public abstract boolean getSafeFrameCompatible()

Optional. Whether the Creative is compatible for SafeFrame rendering.

optional bool safe_frame_compatible = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The safeFrameCompatible.

getSnippet()

public abstract String getSnippet()

The HTML snippet that this creative delivers.

optional string snippet = 4;

Returns
Type Description
String

The snippet.

getSnippetBytes()

public abstract ByteString getSnippetBytes()

The HTML snippet that this creative delivers.

optional string snippet = 4;

Returns
Type Description
ByteString

The bytes for snippet.

getSslManualOverride()

public abstract CreativeSslOverrideEnum.CreativeSslOverride getSslManualOverride()

Optional. The manual override for the SSL compatibility of this creative.

optional .google.ads.admanager.v1.CreativeSslOverrideEnum.CreativeSslOverride ssl_manual_override = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
CreativeSslOverrideEnum.CreativeSslOverride

The sslManualOverride.

getSslManualOverrideValue()

public abstract int getSslManualOverrideValue()

Optional. The manual override for the SSL compatibility of this creative.

optional .google.ads.admanager.v1.CreativeSslOverrideEnum.CreativeSslOverride ssl_manual_override = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for sslManualOverride.

getSslScanResult()

public abstract CreativeSslScanResultEnum.CreativeSslScanResult getSslScanResult()

Output only. The SSL compatibility scan result of this creative.

optional .google.ads.admanager.v1.CreativeSslScanResultEnum.CreativeSslScanResult ssl_scan_result = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
CreativeSslScanResultEnum.CreativeSslScanResult

The sslScanResult.

getSslScanResultValue()

public abstract int getSslScanResultValue()

Output only. The SSL compatibility scan result of this creative.

optional .google.ads.admanager.v1.CreativeSslScanResultEnum.CreativeSslScanResult ssl_scan_result = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for sslScanResult.

getThirdPartyImpressionTrackingUrls(int index)

public abstract String getThirdPartyImpressionTrackingUrls(int index)

Optional. A list of impression tracking URLs to ping when this creative is displayed.

repeated string third_party_impression_tracking_urls = 7 [(.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. A list of impression tracking URLs to ping when this creative is displayed.

repeated string third_party_impression_tracking_urls = 7 [(.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. A list of impression tracking URLs to ping when this creative is displayed.

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

Returns
Type Description
int

The count of thirdPartyImpressionTrackingUrls.

getThirdPartyImpressionTrackingUrlsList()

public abstract List<String> getThirdPartyImpressionTrackingUrlsList()

Optional. A list of impression tracking URLs to ping when this creative is displayed.

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

Returns
Type Description
List<String>

A list containing the thirdPartyImpressionTrackingUrls.

hasAmpRedirectUrl()

public abstract boolean hasAmpRedirectUrl()

Optional. The URL of the AMP creative.

optional string amp_redirect_url = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the ampRedirectUrl 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 = 10 [(.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 = 11 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the destinationUrlType field is set.

hasExpandedSnippet()

public abstract boolean hasExpandedSnippet()

Output only. The HTML snippet that this creative delivers with macros expanded.

optional string expanded_snippet = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the expandedSnippet field is set.

hasLockedOrientation()

public abstract boolean hasLockedOrientation()

Optional. A locked orientation for this creative to be displayed in.

optional .google.ads.admanager.v1.CreativeLockedOrientationEnum.CreativeLockedOrientation locked_orientation = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the lockedOrientation field is set.

hasSafeFrameCompatible()

public abstract boolean hasSafeFrameCompatible()

Optional. Whether the Creative is compatible for SafeFrame rendering.

optional bool safe_frame_compatible = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the safeFrameCompatible field is set.

hasSnippet()

public abstract boolean hasSnippet()

The HTML snippet that this creative delivers.

optional string snippet = 4;

Returns
Type Description
boolean

Whether the snippet field is set.

hasSslManualOverride()

public abstract boolean hasSslManualOverride()

Optional. The manual override for the SSL compatibility of this creative.

optional .google.ads.admanager.v1.CreativeSslOverrideEnum.CreativeSslOverride ssl_manual_override = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the sslManualOverride field is set.

hasSslScanResult()

public abstract boolean hasSslScanResult()

Output only. The SSL compatibility scan result of this creative.

optional .google.ads.admanager.v1.CreativeSslScanResultEnum.CreativeSslScanResult ssl_scan_result = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the sslScanResult field is set.