public static final class ThirdPartyCreativeDetails.Builder extends GeneratedMessage.Builder<ThirdPartyCreativeDetails.Builder> implements ThirdPartyCreativeDetailsOrBuilderA Creative that is served by a 3rd-party vendor.
Protobuf type google.ads.admanager.v1.ThirdPartyCreativeDetails
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ThirdPartyCreativeDetails.BuilderImplements
ThirdPartyCreativeDetailsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllThirdPartyImpressionTrackingUrls(Iterable<String> values)
public ThirdPartyCreativeDetails.Builder addAllThirdPartyImpressionTrackingUrls(Iterable<String> values)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 |
values |
Iterable<String>The thirdPartyImpressionTrackingUrls to add. |
| Returns | |
|---|---|
| Type | Description |
ThirdPartyCreativeDetails.Builder |
This builder for chaining. |
addThirdPartyImpressionTrackingUrls(String value)
public ThirdPartyCreativeDetails.Builder addThirdPartyImpressionTrackingUrls(String value)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 |
value |
StringThe thirdPartyImpressionTrackingUrls to add. |
| Returns | |
|---|---|
| Type | Description |
ThirdPartyCreativeDetails.Builder |
This builder for chaining. |
addThirdPartyImpressionTrackingUrlsBytes(ByteString value)
public ThirdPartyCreativeDetails.Builder addThirdPartyImpressionTrackingUrlsBytes(ByteString value)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 |
value |
ByteStringThe bytes of the thirdPartyImpressionTrackingUrls to add. |
| Returns | |
|---|---|
| Type | Description |
ThirdPartyCreativeDetails.Builder |
This builder for chaining. |
build()
public ThirdPartyCreativeDetails build()| Returns | |
|---|---|
| Type | Description |
ThirdPartyCreativeDetails |
|
buildPartial()
public ThirdPartyCreativeDetails buildPartial()| Returns | |
|---|---|
| Type | Description |
ThirdPartyCreativeDetails |
|
clear()
public ThirdPartyCreativeDetails.Builder clear()| Returns | |
|---|---|
| Type | Description |
ThirdPartyCreativeDetails.Builder |
|
clearAmpRedirectUrl()
public ThirdPartyCreativeDetails.Builder clearAmpRedirectUrl()Optional. The URL of the AMP creative.
optional string amp_redirect_url = 8 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ThirdPartyCreativeDetails.Builder |
This builder for chaining. |
clearDestinationUrl()
public ThirdPartyCreativeDetails.Builder clearDestinationUrl() 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 |
ThirdPartyCreativeDetails.Builder |
This builder for chaining. |
clearDestinationUrlType()
public ThirdPartyCreativeDetails.Builder clearDestinationUrlType() 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 |
ThirdPartyCreativeDetails.Builder |
This builder for chaining. |
clearExpandedSnippet()
public ThirdPartyCreativeDetails.Builder clearExpandedSnippet()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 |
ThirdPartyCreativeDetails.Builder |
This builder for chaining. |
clearLockedOrientation()
public ThirdPartyCreativeDetails.Builder clearLockedOrientation()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 |
ThirdPartyCreativeDetails.Builder |
This builder for chaining. |
clearSafeFrameCompatible()
public ThirdPartyCreativeDetails.Builder clearSafeFrameCompatible()Optional. Whether the Creative is compatible for SafeFrame rendering.
optional bool safe_frame_compatible = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ThirdPartyCreativeDetails.Builder |
This builder for chaining. |
clearSnippet()
public ThirdPartyCreativeDetails.Builder clearSnippet()The HTML snippet that this creative delivers.
optional string snippet = 4;
| Returns | |
|---|---|
| Type | Description |
ThirdPartyCreativeDetails.Builder |
This builder for chaining. |
clearSslManualOverride()
public ThirdPartyCreativeDetails.Builder clearSslManualOverride()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 |
ThirdPartyCreativeDetails.Builder |
This builder for chaining. |
clearSslScanResult()
public ThirdPartyCreativeDetails.Builder clearSslScanResult()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 |
ThirdPartyCreativeDetails.Builder |
This builder for chaining. |
clearThirdPartyImpressionTrackingUrls()
public ThirdPartyCreativeDetails.Builder clearThirdPartyImpressionTrackingUrls()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 |
ThirdPartyCreativeDetails.Builder |
This builder for chaining. |
getAmpRedirectUrl()
public 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 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. |
getDefaultInstanceForType()
public ThirdPartyCreativeDetails getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ThirdPartyCreativeDetails |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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 = 10 [(.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 = 10 [(.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 = 11 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
CreativeDestinationUrlTypeEnum.CreativeDestinationUrlType |
The destinationUrlType. |
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 = 11 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for destinationUrlType. |
getExpandedSnippet()
public 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 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 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 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 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 String getSnippet()The HTML snippet that this creative delivers.
optional string snippet = 4;
| Returns | |
|---|---|
| Type | Description |
String |
The snippet. |
getSnippetBytes()
public ByteString getSnippetBytes()The HTML snippet that this creative delivers.
optional string snippet = 4;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for snippet. |
getSslManualOverride()
public 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 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 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 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 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 |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The thirdPartyImpressionTrackingUrls at the given index. |
getThirdPartyImpressionTrackingUrlsBytes(int index)
public 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 |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the thirdPartyImpressionTrackingUrls at the given index. |
getThirdPartyImpressionTrackingUrlsCount()
public 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 ProtocolStringList 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 |
ProtocolStringList |
A list containing the thirdPartyImpressionTrackingUrls. |
hasAmpRedirectUrl()
public 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 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 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 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 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 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 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 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 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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ThirdPartyCreativeDetails other)
public ThirdPartyCreativeDetails.Builder mergeFrom(ThirdPartyCreativeDetails other)| Parameter | |
|---|---|
| Name | Description |
other |
ThirdPartyCreativeDetails |
| Returns | |
|---|---|
| Type | Description |
ThirdPartyCreativeDetails.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ThirdPartyCreativeDetails.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ThirdPartyCreativeDetails.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ThirdPartyCreativeDetails.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ThirdPartyCreativeDetails.Builder |
|
setAmpRedirectUrl(String value)
public ThirdPartyCreativeDetails.Builder setAmpRedirectUrl(String value)Optional. The URL of the AMP creative.
optional string amp_redirect_url = 8 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe ampRedirectUrl to set. |
| Returns | |
|---|---|
| Type | Description |
ThirdPartyCreativeDetails.Builder |
This builder for chaining. |
setAmpRedirectUrlBytes(ByteString value)
public ThirdPartyCreativeDetails.Builder setAmpRedirectUrlBytes(ByteString value)Optional. The URL of the AMP creative.
optional string amp_redirect_url = 8 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for ampRedirectUrl to set. |
| Returns | |
|---|---|
| Type | Description |
ThirdPartyCreativeDetails.Builder |
This builder for chaining. |
setDestinationUrl(String value)
public ThirdPartyCreativeDetails.Builder setDestinationUrl(String value) 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];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe destinationUrl to set. |
| Returns | |
|---|---|
| Type | Description |
ThirdPartyCreativeDetails.Builder |
This builder for chaining. |
setDestinationUrlBytes(ByteString value)
public ThirdPartyCreativeDetails.Builder setDestinationUrlBytes(ByteString value) 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];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for destinationUrl to set. |
| Returns | |
|---|---|
| Type | Description |
ThirdPartyCreativeDetails.Builder |
This builder for chaining. |
setDestinationUrlType(CreativeDestinationUrlTypeEnum.CreativeDestinationUrlType value)
public ThirdPartyCreativeDetails.Builder setDestinationUrlType(CreativeDestinationUrlTypeEnum.CreativeDestinationUrlType value) 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];
| Parameter | |
|---|---|
| Name | Description |
value |
CreativeDestinationUrlTypeEnum.CreativeDestinationUrlTypeThe destinationUrlType to set. |
| Returns | |
|---|---|
| Type | Description |
ThirdPartyCreativeDetails.Builder |
This builder for chaining. |
setDestinationUrlTypeValue(int value)
public ThirdPartyCreativeDetails.Builder setDestinationUrlTypeValue(int value) 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];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for destinationUrlType to set. |
| Returns | |
|---|---|
| Type | Description |
ThirdPartyCreativeDetails.Builder |
This builder for chaining. |
setExpandedSnippet(String value)
public ThirdPartyCreativeDetails.Builder setExpandedSnippet(String value)Output only. The HTML snippet that this creative delivers with macros expanded.
optional string expanded_snippet = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe expandedSnippet to set. |
| Returns | |
|---|---|
| Type | Description |
ThirdPartyCreativeDetails.Builder |
This builder for chaining. |
setExpandedSnippetBytes(ByteString value)
public ThirdPartyCreativeDetails.Builder setExpandedSnippetBytes(ByteString value)Output only. The HTML snippet that this creative delivers with macros expanded.
optional string expanded_snippet = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for expandedSnippet to set. |
| Returns | |
|---|---|
| Type | Description |
ThirdPartyCreativeDetails.Builder |
This builder for chaining. |
setLockedOrientation(CreativeLockedOrientationEnum.CreativeLockedOrientation value)
public ThirdPartyCreativeDetails.Builder setLockedOrientation(CreativeLockedOrientationEnum.CreativeLockedOrientation value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
CreativeLockedOrientationEnum.CreativeLockedOrientationThe lockedOrientation to set. |
| Returns | |
|---|---|
| Type | Description |
ThirdPartyCreativeDetails.Builder |
This builder for chaining. |
setLockedOrientationValue(int value)
public ThirdPartyCreativeDetails.Builder setLockedOrientationValue(int value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for lockedOrientation to set. |
| Returns | |
|---|---|
| Type | Description |
ThirdPartyCreativeDetails.Builder |
This builder for chaining. |
setSafeFrameCompatible(boolean value)
public ThirdPartyCreativeDetails.Builder setSafeFrameCompatible(boolean value)Optional. Whether the Creative is compatible for SafeFrame rendering.
optional bool safe_frame_compatible = 6 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe safeFrameCompatible to set. |
| Returns | |
|---|---|
| Type | Description |
ThirdPartyCreativeDetails.Builder |
This builder for chaining. |
setSnippet(String value)
public ThirdPartyCreativeDetails.Builder setSnippet(String value)The HTML snippet that this creative delivers.
optional string snippet = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe snippet to set. |
| Returns | |
|---|---|
| Type | Description |
ThirdPartyCreativeDetails.Builder |
This builder for chaining. |
setSnippetBytes(ByteString value)
public ThirdPartyCreativeDetails.Builder setSnippetBytes(ByteString value)The HTML snippet that this creative delivers.
optional string snippet = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for snippet to set. |
| Returns | |
|---|---|
| Type | Description |
ThirdPartyCreativeDetails.Builder |
This builder for chaining. |
setSslManualOverride(CreativeSslOverrideEnum.CreativeSslOverride value)
public ThirdPartyCreativeDetails.Builder setSslManualOverride(CreativeSslOverrideEnum.CreativeSslOverride value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
CreativeSslOverrideEnum.CreativeSslOverrideThe sslManualOverride to set. |
| Returns | |
|---|---|
| Type | Description |
ThirdPartyCreativeDetails.Builder |
This builder for chaining. |
setSslManualOverrideValue(int value)
public ThirdPartyCreativeDetails.Builder setSslManualOverrideValue(int value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for sslManualOverride to set. |
| Returns | |
|---|---|
| Type | Description |
ThirdPartyCreativeDetails.Builder |
This builder for chaining. |
setSslScanResult(CreativeSslScanResultEnum.CreativeSslScanResult value)
public ThirdPartyCreativeDetails.Builder setSslScanResult(CreativeSslScanResultEnum.CreativeSslScanResult value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
CreativeSslScanResultEnum.CreativeSslScanResultThe sslScanResult to set. |
| Returns | |
|---|---|
| Type | Description |
ThirdPartyCreativeDetails.Builder |
This builder for chaining. |
setSslScanResultValue(int value)
public ThirdPartyCreativeDetails.Builder setSslScanResultValue(int value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for sslScanResult to set. |
| Returns | |
|---|---|
| Type | Description |
ThirdPartyCreativeDetails.Builder |
This builder for chaining. |
setThirdPartyImpressionTrackingUrls(int index, String value)
public ThirdPartyCreativeDetails.Builder setThirdPartyImpressionTrackingUrls(int index, String value)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];
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe thirdPartyImpressionTrackingUrls to set. |
| Returns | |
|---|---|
| Type | Description |
ThirdPartyCreativeDetails.Builder |
This builder for chaining. |