Class Creative.Builder (0.62.0)

public static final class Creative.Builder extends GeneratedMessage.Builder<Creative.Builder> implements CreativeOrBuilder

The Creative resource.

Protobuf type google.ads.admanager.v1.Creative

Implements

CreativeOrBuilder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllAppliedLabels(Iterable<? extends AppliedLabel> values)

public Creative.Builder addAllAppliedLabels(Iterable<? extends AppliedLabel> values)

Optional. The set of labels applied directly to this creative.

repeated .google.ads.admanager.v1.AppliedLabel applied_labels = 56 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
values Iterable<? extends com.google.ads.admanager.v1.AppliedLabel>
Returns
Type Description
Creative.Builder

addAllCustomFieldValues(Iterable<? extends CustomFieldValue> values)

public Creative.Builder addAllCustomFieldValues(Iterable<? extends CustomFieldValue> values)

Optional. The values of the custom fields associated with this creative.

repeated .google.ads.admanager.v1.CustomFieldValue custom_field_values = 76 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
values Iterable<? extends com.google.ads.admanager.v1.CustomFieldValue>
Returns
Type Description
Creative.Builder

addAppliedLabels(AppliedLabel value)

public Creative.Builder addAppliedLabels(AppliedLabel value)

Optional. The set of labels applied directly to this creative.

repeated .google.ads.admanager.v1.AppliedLabel applied_labels = 56 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value AppliedLabel
Returns
Type Description
Creative.Builder

addAppliedLabels(AppliedLabel.Builder builderForValue)

public Creative.Builder addAppliedLabels(AppliedLabel.Builder builderForValue)

Optional. The set of labels applied directly to this creative.

repeated .google.ads.admanager.v1.AppliedLabel applied_labels = 56 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue AppliedLabel.Builder
Returns
Type Description
Creative.Builder

addAppliedLabels(int index, AppliedLabel value)

public Creative.Builder addAppliedLabels(int index, AppliedLabel value)

Optional. The set of labels applied directly to this creative.

repeated .google.ads.admanager.v1.AppliedLabel applied_labels = 56 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
value AppliedLabel
Returns
Type Description
Creative.Builder

addAppliedLabels(int index, AppliedLabel.Builder builderForValue)

public Creative.Builder addAppliedLabels(int index, AppliedLabel.Builder builderForValue)

Optional. The set of labels applied directly to this creative.

repeated .google.ads.admanager.v1.AppliedLabel applied_labels = 56 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
builderForValue AppliedLabel.Builder
Returns
Type Description
Creative.Builder

addAppliedLabelsBuilder()

public AppliedLabel.Builder addAppliedLabelsBuilder()

Optional. The set of labels applied directly to this creative.

repeated .google.ads.admanager.v1.AppliedLabel applied_labels = 56 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AppliedLabel.Builder

addAppliedLabelsBuilder(int index)

public AppliedLabel.Builder addAppliedLabelsBuilder(int index)

Optional. The set of labels applied directly to this creative.

repeated .google.ads.admanager.v1.AppliedLabel applied_labels = 56 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
AppliedLabel.Builder

addCustomFieldValues(CustomFieldValue value)

public Creative.Builder addCustomFieldValues(CustomFieldValue value)

Optional. The values of the custom fields associated with this creative.

repeated .google.ads.admanager.v1.CustomFieldValue custom_field_values = 76 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value CustomFieldValue
Returns
Type Description
Creative.Builder

addCustomFieldValues(CustomFieldValue.Builder builderForValue)

public Creative.Builder addCustomFieldValues(CustomFieldValue.Builder builderForValue)

Optional. The values of the custom fields associated with this creative.

repeated .google.ads.admanager.v1.CustomFieldValue custom_field_values = 76 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue CustomFieldValue.Builder
Returns
Type Description
Creative.Builder

addCustomFieldValues(int index, CustomFieldValue value)

public Creative.Builder addCustomFieldValues(int index, CustomFieldValue value)

Optional. The values of the custom fields associated with this creative.

repeated .google.ads.admanager.v1.CustomFieldValue custom_field_values = 76 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
value CustomFieldValue
Returns
Type Description
Creative.Builder

addCustomFieldValues(int index, CustomFieldValue.Builder builderForValue)

public Creative.Builder addCustomFieldValues(int index, CustomFieldValue.Builder builderForValue)

Optional. The values of the custom fields associated with this creative.

repeated .google.ads.admanager.v1.CustomFieldValue custom_field_values = 76 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
builderForValue CustomFieldValue.Builder
Returns
Type Description
Creative.Builder

addCustomFieldValuesBuilder()

public CustomFieldValue.Builder addCustomFieldValuesBuilder()

Optional. The values of the custom fields associated with this creative.

repeated .google.ads.admanager.v1.CustomFieldValue custom_field_values = 76 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
CustomFieldValue.Builder

addCustomFieldValuesBuilder(int index)

public CustomFieldValue.Builder addCustomFieldValuesBuilder(int index)

Optional. The values of the custom fields associated with this creative.

repeated .google.ads.admanager.v1.CustomFieldValue custom_field_values = 76 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
CustomFieldValue.Builder

build()

public Creative build()
Returns
Type Description
Creative

buildPartial()

public Creative buildPartial()
Returns
Type Description
Creative

clear()

public Creative.Builder clear()
Returns
Type Description
Creative.Builder
Overrides

clearAdBadgingEnabled()

public Creative.Builder clearAdBadgingEnabled()

Optional. Non-empty default. Whether the creative has ad badging enabled.

Defaults to false for VastRedirectCreative, ThirdPartyCreative, AudioRedirectCreative, ProgrammaticCreative, LegacyDfpMobileCreative, FlashOverlayCreative, GraphicalInterstitialCreative, LegacyDfpCreative, MobileAdNetworkCreative, MobileVideoInterstitialCreative, SdkMediationCreative, and FlashCreative types.

Defaults to true for all other creative types.

optional bool ad_badging_enabled = 17 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = NON_EMPTY_DEFAULT];

Returns
Type Description
Creative.Builder

This builder for chaining.

clearAdExchangeCreative()

public Creative.Builder clearAdExchangeCreative()

Optional. An Ad Exchange dynamic allocation creative.

.google.ads.admanager.v1.AdExchangeCreativeDetails ad_exchange_creative = 20 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Creative.Builder

clearAdSenseCreative()

public Creative.Builder clearAdSenseCreative()

Optional. An AdSense dynamic allocation creative.

.google.ads.admanager.v1.AdSenseCreativeDetails ad_sense_creative = 22 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Creative.Builder

clearAdvertiser()

public Creative.Builder clearAdvertiser()

Required. The resource name of the Company, which is of type Company.Type.ADVERTISER, to which this Creative belongs. Format: "networks/{network_code}/companies/{company_id}"

optional string advertiser = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
Creative.Builder

This builder for chaining.

clearAppliedLabels()

public Creative.Builder clearAppliedLabels()

Optional. The set of labels applied directly to this creative.

repeated .google.ads.admanager.v1.AppliedLabel applied_labels = 56 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Creative.Builder

clearAspectRatioImageCreative()

public Creative.Builder clearAspectRatioImageCreative()

Optional. A Creative intended for mobile platforms that displays an image, whose size is defined as an aspect ratio. It can have multiple images whose dimensions conform to that aspect ratio.

.google.ads.admanager.v1.AspectRatioImageCreativeDetails aspect_ratio_image_creative = 23 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Creative.Builder

clearAudioCreative()

public Creative.Builder clearAudioCreative()

Optional. A Creative that contains Ad Manager hosted audio ads and is served via VAST XML.

.google.ads.admanager.v1.AudioCreativeDetails audio_creative = 24 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Creative.Builder

clearAudioRedirectCreative()

public Creative.Builder clearAudioRedirectCreative()

Optional. A Creative that contains externally hosted audio ads and is served via VAST XML.

.google.ads.admanager.v1.AudioRedirectCreativeDetails audio_redirect_creative = 25 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Creative.Builder

clearBuyerPlacementConfig()

public Creative.Builder clearBuyerPlacementConfig()

Optional. The buyer placement configuration for this creative.

.google.ads.admanager.v1.BuyerPlacementConfig buyer_placement_config = 81 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Creative.Builder

clearClickTrackingCreative()

public Creative.Builder clearClickTrackingCreative()

Optional. A creative that is used for tracking clicks on ads that are served directly from the customers' web servers or media servers. NOTE: The size attribute is not used for click tracking creative and it will not be persisted upon save.

.google.ads.admanager.v1.ClickTrackingCreativeDetails click_tracking_creative = 26 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Creative.Builder

clearCustomCreative()

public Creative.Builder clearCustomCreative()

Optional. A Creative that contains a custom HTML snippet and file assets.

.google.ads.admanager.v1.CustomCreativeDetails custom_creative = 18 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Creative.Builder

clearCustomFieldValues()

public Creative.Builder clearCustomFieldValues()

Optional. The values of the custom fields associated with this creative.

repeated .google.ads.admanager.v1.CustomFieldValue custom_field_values = 76 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Creative.Builder

clearDetails()

public Creative.Builder clearDetails()
Returns
Type Description
Creative.Builder

clearDisplayName()

public Creative.Builder clearDisplayName()

Required. Display name of the Creative. This attribute has a maximum length of 255 characters.

optional string display_name = 8 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Creative.Builder

This builder for chaining.

clearHtml5Creative()

public Creative.Builder clearHtml5Creative()

Optional. A Creative that contains a zipped HTML5 bundle asset, a list of third party impression trackers, and a third party click tracker.

.google.ads.admanager.v1.Html5CreativeDetails html5_creative = 33 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Creative.Builder

clearImageCreative()

public Creative.Builder clearImageCreative()

Optional. A Creative that displays an image.

.google.ads.admanager.v1.ImageCreativeDetails image_creative = 19 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Creative.Builder

clearImageOverlayCreative()

public Creative.Builder clearImageOverlayCreative()

Optional. An overlay Creative that displays an image and is served via VAST 2.0 XML. Overlays cover part of the video content they are displayed on top of.

.google.ads.admanager.v1.ImageOverlayCreativeDetails image_overlay_creative = 35 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Creative.Builder

clearImageRedirectCreative()

public Creative.Builder clearImageRedirectCreative()

Optional. A Creative that loads an image asset from a specified URL.

.google.ads.admanager.v1.ImageRedirectCreativeDetails image_redirect_creative = 36 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Creative.Builder

clearImageRedirectOverlayCreative()

public Creative.Builder clearImageRedirectOverlayCreative()

Optional. An overlay Creative that loads an image asset from a specified URL and is served via VAST XML. Overlays cover part of the video content they are displayed on top of. This creative is read only.

.google.ads.admanager.v1.ImageRedirectOverlayCreativeDetails image_redirect_overlay_creative = 37 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Creative.Builder

clearInternalRedirectCreative()

public Creative.Builder clearInternalRedirectCreative()

Optional. A Creative hosted by Campaign Manager 360.

Similar to third-party creatives, a Campaign Manager 360 tag is used to retrieve a creative asset. However, Campaign Manager 360 tags are not sent to the user's browser. Instead, they are processed internally within the Google Marketing Platform system.

.google.ads.admanager.v1.InternalRedirectCreativeDetails internal_redirect_creative = 38 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Creative.Builder

clearLegacyDfpCreative()

public Creative.Builder clearLegacyDfpCreative()

Optional. A Creative that isn't supported by Google DFP, but was migrated from DART. Creatives of this type cannot be created or modified.

.google.ads.admanager.v1.LegacyDfpCreativeDetails legacy_dfp_creative = 39 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Creative.Builder

clearName()

public Creative.Builder clearName()

Identifier. The resource name of the Creative. Format: networks/{network_code}/creatives/{creative_id}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
Creative.Builder

This builder for chaining.

clearPreviewUrl()

public Creative.Builder clearPreviewUrl()

Output only. The URL of the creative for previewing the media.

optional string preview_url = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Creative.Builder

This builder for chaining.

clearProgrammaticCreative()

public Creative.Builder clearProgrammaticCreative()

Optional. A Creative used for programmatic trafficking. This creative will be auto-created with the right approval from the buyer. This creative cannot be created through the API. This creative can be updated.

.google.ads.admanager.v1.ProgrammaticCreativeDetails programmatic_creative = 42 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Creative.Builder

clearRichMediaStudioCreative()

public Creative.Builder clearRichMediaStudioCreative()

Optional. A Creative that is created by a Rich Media Studio. You cannot create this creative, but you can update some fields of this creative.

.google.ads.admanager.v1.RichMediaStudioCreativeDetails rich_media_studio_creative = 43 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Creative.Builder

clearSelfDeclaredEuropeanUnionPoliticalContent()

public Creative.Builder clearSelfDeclaredEuropeanUnionPoliticalContent()

Optional. Whether this creative contains self-declared European Union political content.

optional bool self_declared_european_union_political_content = 13 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Creative.Builder

This builder for chaining.

clearSetTopBoxCreative()

public Creative.Builder clearSetTopBoxCreative()

Optional. A Creative that will be served into cable set-top boxes. There are no assets for this creative type, as they are hosted by external cable systems.

.google.ads.admanager.v1.SetTopBoxCreativeDetails set_top_box_creative = 46 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Creative.Builder

clearSize()

public Creative.Builder clearSize()

Required. Immutable. The Size of the creative.

.google.ads.admanager.v1.Size size = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
Creative.Builder

clearTemplateCreative()

public Creative.Builder clearTemplateCreative()

Optional. A Creative that is created by the specified creative template.

.google.ads.admanager.v1.TemplateCreativeDetails template_creative = 47 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Creative.Builder

clearThirdPartyCreative()

public Creative.Builder clearThirdPartyCreative()

Optional. A Creative that is served by a 3rd-party vendor.

.google.ads.admanager.v1.ThirdPartyCreativeDetails third_party_creative = 48 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Creative.Builder

clearThirdPartyDataDeclaration()

public Creative.Builder clearThirdPartyDataDeclaration()

Optional. The third party companies associated with this creative. This is distinct from any associated companies that Google may detect programmatically.

.google.ads.admanager.v1.ThirdPartyDataDeclaration third_party_data_declaration = 59 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Creative.Builder

clearThirdPartyDataDeclarationStatus()

public Creative.Builder clearThirdPartyDataDeclarationStatus()

Output only. The status of the publisher's ThirdPartyDataDeclaration, when compared with the set of third party companies detected via automated scanning.

For example, if automated scanning detects more companies than have been declared, this status will be CreativeThirdPartyDataDeclarationStatus.INCOMPLETE.

optional .google.ads.admanager.v1.CreativeThirdPartyDataDeclarationStatusEnum.CreativeThirdPartyDataDeclarationStatus third_party_data_declaration_status = 60 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Creative.Builder

This builder for chaining.

clearUpdateTime()

public Creative.Builder clearUpdateTime()

Output only. The instant this Creative was last modified.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Creative.Builder

clearVastRedirectCreative()

public Creative.Builder clearVastRedirectCreative()

Optional. A Creative that points to an externally hosted VAST ad and is served via VAST XML as a VAST Wrapper.

.google.ads.admanager.v1.VastRedirectCreativeDetails vast_redirect_creative = 49 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Creative.Builder

clearVideoCreative()

public Creative.Builder clearVideoCreative()

Optional. A Creative that contains Ad Manager hosted video ads and is served via VAST XML.

.google.ads.admanager.v1.VideoCreativeDetails video_creative = 51 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Creative.Builder

clearVideoRedirectCreative()

public Creative.Builder clearVideoRedirectCreative()

Optional. A Creative that contains externally hosted video ads and is served via VAST XML.

.google.ads.admanager.v1.VideoRedirectCreativeDetails video_redirect_creative = 53 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Creative.Builder

getAdBadgingEnabled()

public boolean getAdBadgingEnabled()

Optional. Non-empty default. Whether the creative has ad badging enabled.

Defaults to false for VastRedirectCreative, ThirdPartyCreative, AudioRedirectCreative, ProgrammaticCreative, LegacyDfpMobileCreative, FlashOverlayCreative, GraphicalInterstitialCreative, LegacyDfpCreative, MobileAdNetworkCreative, MobileVideoInterstitialCreative, SdkMediationCreative, and FlashCreative types.

Defaults to true for all other creative types.

optional bool ad_badging_enabled = 17 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = NON_EMPTY_DEFAULT];

Returns
Type Description
boolean

The adBadgingEnabled.

getAdExchangeCreative()

public AdExchangeCreativeDetails getAdExchangeCreative()

Optional. An Ad Exchange dynamic allocation creative.

.google.ads.admanager.v1.AdExchangeCreativeDetails ad_exchange_creative = 20 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AdExchangeCreativeDetails

The adExchangeCreative.

getAdExchangeCreativeBuilder()

public AdExchangeCreativeDetails.Builder getAdExchangeCreativeBuilder()

Optional. An Ad Exchange dynamic allocation creative.

.google.ads.admanager.v1.AdExchangeCreativeDetails ad_exchange_creative = 20 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AdExchangeCreativeDetails.Builder

getAdExchangeCreativeOrBuilder()

public AdExchangeCreativeDetailsOrBuilder getAdExchangeCreativeOrBuilder()

Optional. An Ad Exchange dynamic allocation creative.

.google.ads.admanager.v1.AdExchangeCreativeDetails ad_exchange_creative = 20 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AdExchangeCreativeDetailsOrBuilder

getAdSenseCreative()

public AdSenseCreativeDetails getAdSenseCreative()

Optional. An AdSense dynamic allocation creative.

.google.ads.admanager.v1.AdSenseCreativeDetails ad_sense_creative = 22 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AdSenseCreativeDetails

The adSenseCreative.

getAdSenseCreativeBuilder()

public AdSenseCreativeDetails.Builder getAdSenseCreativeBuilder()

Optional. An AdSense dynamic allocation creative.

.google.ads.admanager.v1.AdSenseCreativeDetails ad_sense_creative = 22 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AdSenseCreativeDetails.Builder

getAdSenseCreativeOrBuilder()

public AdSenseCreativeDetailsOrBuilder getAdSenseCreativeOrBuilder()

Optional. An AdSense dynamic allocation creative.

.google.ads.admanager.v1.AdSenseCreativeDetails ad_sense_creative = 22 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AdSenseCreativeDetailsOrBuilder

getAdvertiser()

public String getAdvertiser()

Required. The resource name of the Company, which is of type Company.Type.ADVERTISER, to which this Creative belongs. Format: "networks/{network_code}/companies/{company_id}"

optional string advertiser = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The advertiser.

getAdvertiserBytes()

public ByteString getAdvertiserBytes()

Required. The resource name of the Company, which is of type Company.Type.ADVERTISER, to which this Creative belongs. Format: "networks/{network_code}/companies/{company_id}"

optional string advertiser = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for advertiser.

getAppliedLabels(int index)

public AppliedLabel getAppliedLabels(int index)

Optional. The set of labels applied directly to this creative.

repeated .google.ads.admanager.v1.AppliedLabel applied_labels = 56 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
AppliedLabel

getAppliedLabelsBuilder(int index)

public AppliedLabel.Builder getAppliedLabelsBuilder(int index)

Optional. The set of labels applied directly to this creative.

repeated .google.ads.admanager.v1.AppliedLabel applied_labels = 56 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
AppliedLabel.Builder

getAppliedLabelsBuilderList()

public List<AppliedLabel.Builder> getAppliedLabelsBuilderList()

Optional. The set of labels applied directly to this creative.

repeated .google.ads.admanager.v1.AppliedLabel applied_labels = 56 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<Builder>

getAppliedLabelsCount()

public int getAppliedLabelsCount()

Optional. The set of labels applied directly to this creative.

repeated .google.ads.admanager.v1.AppliedLabel applied_labels = 56 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getAppliedLabelsList()

public List<AppliedLabel> getAppliedLabelsList()

Optional. The set of labels applied directly to this creative.

repeated .google.ads.admanager.v1.AppliedLabel applied_labels = 56 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<AppliedLabel>

getAppliedLabelsOrBuilder(int index)

public AppliedLabelOrBuilder getAppliedLabelsOrBuilder(int index)

Optional. The set of labels applied directly to this creative.

repeated .google.ads.admanager.v1.AppliedLabel applied_labels = 56 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
AppliedLabelOrBuilder

getAppliedLabelsOrBuilderList()

public List<? extends AppliedLabelOrBuilder> getAppliedLabelsOrBuilderList()

Optional. The set of labels applied directly to this creative.

repeated .google.ads.admanager.v1.AppliedLabel applied_labels = 56 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<? extends com.google.ads.admanager.v1.AppliedLabelOrBuilder>

getAspectRatioImageCreative()

public AspectRatioImageCreativeDetails getAspectRatioImageCreative()

Optional. A Creative intended for mobile platforms that displays an image, whose size is defined as an aspect ratio. It can have multiple images whose dimensions conform to that aspect ratio.

.google.ads.admanager.v1.AspectRatioImageCreativeDetails aspect_ratio_image_creative = 23 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AspectRatioImageCreativeDetails

The aspectRatioImageCreative.

getAspectRatioImageCreativeBuilder()

public AspectRatioImageCreativeDetails.Builder getAspectRatioImageCreativeBuilder()

Optional. A Creative intended for mobile platforms that displays an image, whose size is defined as an aspect ratio. It can have multiple images whose dimensions conform to that aspect ratio.

.google.ads.admanager.v1.AspectRatioImageCreativeDetails aspect_ratio_image_creative = 23 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AspectRatioImageCreativeDetails.Builder

getAspectRatioImageCreativeOrBuilder()

public AspectRatioImageCreativeDetailsOrBuilder getAspectRatioImageCreativeOrBuilder()

Optional. A Creative intended for mobile platforms that displays an image, whose size is defined as an aspect ratio. It can have multiple images whose dimensions conform to that aspect ratio.

.google.ads.admanager.v1.AspectRatioImageCreativeDetails aspect_ratio_image_creative = 23 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AspectRatioImageCreativeDetailsOrBuilder

getAudioCreative()

public AudioCreativeDetails getAudioCreative()

Optional. A Creative that contains Ad Manager hosted audio ads and is served via VAST XML.

.google.ads.admanager.v1.AudioCreativeDetails audio_creative = 24 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AudioCreativeDetails

The audioCreative.

getAudioCreativeBuilder()

public AudioCreativeDetails.Builder getAudioCreativeBuilder()

Optional. A Creative that contains Ad Manager hosted audio ads and is served via VAST XML.

.google.ads.admanager.v1.AudioCreativeDetails audio_creative = 24 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AudioCreativeDetails.Builder

getAudioCreativeOrBuilder()

public AudioCreativeDetailsOrBuilder getAudioCreativeOrBuilder()

Optional. A Creative that contains Ad Manager hosted audio ads and is served via VAST XML.

.google.ads.admanager.v1.AudioCreativeDetails audio_creative = 24 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AudioCreativeDetailsOrBuilder

getAudioRedirectCreative()

public AudioRedirectCreativeDetails getAudioRedirectCreative()

Optional. A Creative that contains externally hosted audio ads and is served via VAST XML.

.google.ads.admanager.v1.AudioRedirectCreativeDetails audio_redirect_creative = 25 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AudioRedirectCreativeDetails

The audioRedirectCreative.

getAudioRedirectCreativeBuilder()

public AudioRedirectCreativeDetails.Builder getAudioRedirectCreativeBuilder()

Optional. A Creative that contains externally hosted audio ads and is served via VAST XML.

.google.ads.admanager.v1.AudioRedirectCreativeDetails audio_redirect_creative = 25 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AudioRedirectCreativeDetails.Builder

getAudioRedirectCreativeOrBuilder()

public AudioRedirectCreativeDetailsOrBuilder getAudioRedirectCreativeOrBuilder()

Optional. A Creative that contains externally hosted audio ads and is served via VAST XML.

.google.ads.admanager.v1.AudioRedirectCreativeDetails audio_redirect_creative = 25 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AudioRedirectCreativeDetailsOrBuilder

getBuyerPlacementConfig()

public BuyerPlacementConfig getBuyerPlacementConfig()

Optional. The buyer placement configuration for this creative.

.google.ads.admanager.v1.BuyerPlacementConfig buyer_placement_config = 81 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
BuyerPlacementConfig

The buyerPlacementConfig.

getBuyerPlacementConfigBuilder()

public BuyerPlacementConfig.Builder getBuyerPlacementConfigBuilder()

Optional. The buyer placement configuration for this creative.

.google.ads.admanager.v1.BuyerPlacementConfig buyer_placement_config = 81 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
BuyerPlacementConfig.Builder

getBuyerPlacementConfigOrBuilder()

public BuyerPlacementConfigOrBuilder getBuyerPlacementConfigOrBuilder()

Optional. The buyer placement configuration for this creative.

.google.ads.admanager.v1.BuyerPlacementConfig buyer_placement_config = 81 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
BuyerPlacementConfigOrBuilder

getClickTrackingCreative()

public ClickTrackingCreativeDetails getClickTrackingCreative()

Optional. A creative that is used for tracking clicks on ads that are served directly from the customers' web servers or media servers. NOTE: The size attribute is not used for click tracking creative and it will not be persisted upon save.

.google.ads.admanager.v1.ClickTrackingCreativeDetails click_tracking_creative = 26 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ClickTrackingCreativeDetails

The clickTrackingCreative.

getClickTrackingCreativeBuilder()

public ClickTrackingCreativeDetails.Builder getClickTrackingCreativeBuilder()

Optional. A creative that is used for tracking clicks on ads that are served directly from the customers' web servers or media servers. NOTE: The size attribute is not used for click tracking creative and it will not be persisted upon save.

.google.ads.admanager.v1.ClickTrackingCreativeDetails click_tracking_creative = 26 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ClickTrackingCreativeDetails.Builder

getClickTrackingCreativeOrBuilder()

public ClickTrackingCreativeDetailsOrBuilder getClickTrackingCreativeOrBuilder()

Optional. A creative that is used for tracking clicks on ads that are served directly from the customers' web servers or media servers. NOTE: The size attribute is not used for click tracking creative and it will not be persisted upon save.

.google.ads.admanager.v1.ClickTrackingCreativeDetails click_tracking_creative = 26 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ClickTrackingCreativeDetailsOrBuilder

getCustomCreative()

public CustomCreativeDetails getCustomCreative()

Optional. A Creative that contains a custom HTML snippet and file assets.

.google.ads.admanager.v1.CustomCreativeDetails custom_creative = 18 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
CustomCreativeDetails

The customCreative.

getCustomCreativeBuilder()

public CustomCreativeDetails.Builder getCustomCreativeBuilder()

Optional. A Creative that contains a custom HTML snippet and file assets.

.google.ads.admanager.v1.CustomCreativeDetails custom_creative = 18 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
CustomCreativeDetails.Builder

getCustomCreativeOrBuilder()

public CustomCreativeDetailsOrBuilder getCustomCreativeOrBuilder()

Optional. A Creative that contains a custom HTML snippet and file assets.

.google.ads.admanager.v1.CustomCreativeDetails custom_creative = 18 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
CustomCreativeDetailsOrBuilder

getCustomFieldValues(int index)

public CustomFieldValue getCustomFieldValues(int index)

Optional. The values of the custom fields associated with this creative.

repeated .google.ads.admanager.v1.CustomFieldValue custom_field_values = 76 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
CustomFieldValue

getCustomFieldValuesBuilder(int index)

public CustomFieldValue.Builder getCustomFieldValuesBuilder(int index)

Optional. The values of the custom fields associated with this creative.

repeated .google.ads.admanager.v1.CustomFieldValue custom_field_values = 76 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
CustomFieldValue.Builder

getCustomFieldValuesBuilderList()

public List<CustomFieldValue.Builder> getCustomFieldValuesBuilderList()

Optional. The values of the custom fields associated with this creative.

repeated .google.ads.admanager.v1.CustomFieldValue custom_field_values = 76 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<Builder>

getCustomFieldValuesCount()

public int getCustomFieldValuesCount()

Optional. The values of the custom fields associated with this creative.

repeated .google.ads.admanager.v1.CustomFieldValue custom_field_values = 76 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getCustomFieldValuesList()

public List<CustomFieldValue> getCustomFieldValuesList()

Optional. The values of the custom fields associated with this creative.

repeated .google.ads.admanager.v1.CustomFieldValue custom_field_values = 76 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<CustomFieldValue>

getCustomFieldValuesOrBuilder(int index)

public CustomFieldValueOrBuilder getCustomFieldValuesOrBuilder(int index)

Optional. The values of the custom fields associated with this creative.

repeated .google.ads.admanager.v1.CustomFieldValue custom_field_values = 76 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
CustomFieldValueOrBuilder

getCustomFieldValuesOrBuilderList()

public List<? extends CustomFieldValueOrBuilder> getCustomFieldValuesOrBuilderList()

Optional. The values of the custom fields associated with this creative.

repeated .google.ads.admanager.v1.CustomFieldValue custom_field_values = 76 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<? extends com.google.ads.admanager.v1.CustomFieldValueOrBuilder>

getDefaultInstanceForType()

public Creative getDefaultInstanceForType()
Returns
Type Description
Creative

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getDetailsCase()

public Creative.DetailsCase getDetailsCase()
Returns
Type Description
Creative.DetailsCase

getDisplayName()

public String getDisplayName()

Required. Display name of the Creative. This attribute has a maximum length of 255 characters.

optional string display_name = 8 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

Required. Display name of the Creative. This attribute has a maximum length of 255 characters.

optional string display_name = 8 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for displayName.

getHtml5Creative()

public Html5CreativeDetails getHtml5Creative()

Optional. A Creative that contains a zipped HTML5 bundle asset, a list of third party impression trackers, and a third party click tracker.

.google.ads.admanager.v1.Html5CreativeDetails html5_creative = 33 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Html5CreativeDetails

The html5Creative.

getHtml5CreativeBuilder()

public Html5CreativeDetails.Builder getHtml5CreativeBuilder()

Optional. A Creative that contains a zipped HTML5 bundle asset, a list of third party impression trackers, and a third party click tracker.

.google.ads.admanager.v1.Html5CreativeDetails html5_creative = 33 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Html5CreativeDetails.Builder

getHtml5CreativeOrBuilder()

public Html5CreativeDetailsOrBuilder getHtml5CreativeOrBuilder()

Optional. A Creative that contains a zipped HTML5 bundle asset, a list of third party impression trackers, and a third party click tracker.

.google.ads.admanager.v1.Html5CreativeDetails html5_creative = 33 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Html5CreativeDetailsOrBuilder

getImageCreative()

public ImageCreativeDetails getImageCreative()

Optional. A Creative that displays an image.

.google.ads.admanager.v1.ImageCreativeDetails image_creative = 19 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ImageCreativeDetails

The imageCreative.

getImageCreativeBuilder()

public ImageCreativeDetails.Builder getImageCreativeBuilder()

Optional. A Creative that displays an image.

.google.ads.admanager.v1.ImageCreativeDetails image_creative = 19 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ImageCreativeDetails.Builder

getImageCreativeOrBuilder()

public ImageCreativeDetailsOrBuilder getImageCreativeOrBuilder()

Optional. A Creative that displays an image.

.google.ads.admanager.v1.ImageCreativeDetails image_creative = 19 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ImageCreativeDetailsOrBuilder

getImageOverlayCreative()

public ImageOverlayCreativeDetails getImageOverlayCreative()

Optional. An overlay Creative that displays an image and is served via VAST 2.0 XML. Overlays cover part of the video content they are displayed on top of.

.google.ads.admanager.v1.ImageOverlayCreativeDetails image_overlay_creative = 35 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ImageOverlayCreativeDetails

The imageOverlayCreative.

getImageOverlayCreativeBuilder()

public ImageOverlayCreativeDetails.Builder getImageOverlayCreativeBuilder()

Optional. An overlay Creative that displays an image and is served via VAST 2.0 XML. Overlays cover part of the video content they are displayed on top of.

.google.ads.admanager.v1.ImageOverlayCreativeDetails image_overlay_creative = 35 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ImageOverlayCreativeDetails.Builder

getImageOverlayCreativeOrBuilder()

public ImageOverlayCreativeDetailsOrBuilder getImageOverlayCreativeOrBuilder()

Optional. An overlay Creative that displays an image and is served via VAST 2.0 XML. Overlays cover part of the video content they are displayed on top of.

.google.ads.admanager.v1.ImageOverlayCreativeDetails image_overlay_creative = 35 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ImageOverlayCreativeDetailsOrBuilder

getImageRedirectCreative()

public ImageRedirectCreativeDetails getImageRedirectCreative()

Optional. A Creative that loads an image asset from a specified URL.

.google.ads.admanager.v1.ImageRedirectCreativeDetails image_redirect_creative = 36 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ImageRedirectCreativeDetails

The imageRedirectCreative.

getImageRedirectCreativeBuilder()

public ImageRedirectCreativeDetails.Builder getImageRedirectCreativeBuilder()

Optional. A Creative that loads an image asset from a specified URL.

.google.ads.admanager.v1.ImageRedirectCreativeDetails image_redirect_creative = 36 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ImageRedirectCreativeDetails.Builder

getImageRedirectCreativeOrBuilder()

public ImageRedirectCreativeDetailsOrBuilder getImageRedirectCreativeOrBuilder()

Optional. A Creative that loads an image asset from a specified URL.

.google.ads.admanager.v1.ImageRedirectCreativeDetails image_redirect_creative = 36 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ImageRedirectCreativeDetailsOrBuilder

getImageRedirectOverlayCreative()

public ImageRedirectOverlayCreativeDetails getImageRedirectOverlayCreative()

Optional. An overlay Creative that loads an image asset from a specified URL and is served via VAST XML. Overlays cover part of the video content they are displayed on top of. This creative is read only.

.google.ads.admanager.v1.ImageRedirectOverlayCreativeDetails image_redirect_overlay_creative = 37 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ImageRedirectOverlayCreativeDetails

The imageRedirectOverlayCreative.

getImageRedirectOverlayCreativeBuilder()

public ImageRedirectOverlayCreativeDetails.Builder getImageRedirectOverlayCreativeBuilder()

Optional. An overlay Creative that loads an image asset from a specified URL and is served via VAST XML. Overlays cover part of the video content they are displayed on top of. This creative is read only.

.google.ads.admanager.v1.ImageRedirectOverlayCreativeDetails image_redirect_overlay_creative = 37 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ImageRedirectOverlayCreativeDetails.Builder

getImageRedirectOverlayCreativeOrBuilder()

public ImageRedirectOverlayCreativeDetailsOrBuilder getImageRedirectOverlayCreativeOrBuilder()

Optional. An overlay Creative that loads an image asset from a specified URL and is served via VAST XML. Overlays cover part of the video content they are displayed on top of. This creative is read only.

.google.ads.admanager.v1.ImageRedirectOverlayCreativeDetails image_redirect_overlay_creative = 37 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ImageRedirectOverlayCreativeDetailsOrBuilder

getInternalRedirectCreative()

public InternalRedirectCreativeDetails getInternalRedirectCreative()

Optional. A Creative hosted by Campaign Manager 360.

Similar to third-party creatives, a Campaign Manager 360 tag is used to retrieve a creative asset. However, Campaign Manager 360 tags are not sent to the user's browser. Instead, they are processed internally within the Google Marketing Platform system.

.google.ads.admanager.v1.InternalRedirectCreativeDetails internal_redirect_creative = 38 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
InternalRedirectCreativeDetails

The internalRedirectCreative.

getInternalRedirectCreativeBuilder()

public InternalRedirectCreativeDetails.Builder getInternalRedirectCreativeBuilder()

Optional. A Creative hosted by Campaign Manager 360.

Similar to third-party creatives, a Campaign Manager 360 tag is used to retrieve a creative asset. However, Campaign Manager 360 tags are not sent to the user's browser. Instead, they are processed internally within the Google Marketing Platform system.

.google.ads.admanager.v1.InternalRedirectCreativeDetails internal_redirect_creative = 38 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
InternalRedirectCreativeDetails.Builder

getInternalRedirectCreativeOrBuilder()

public InternalRedirectCreativeDetailsOrBuilder getInternalRedirectCreativeOrBuilder()

Optional. A Creative hosted by Campaign Manager 360.

Similar to third-party creatives, a Campaign Manager 360 tag is used to retrieve a creative asset. However, Campaign Manager 360 tags are not sent to the user's browser. Instead, they are processed internally within the Google Marketing Platform system.

.google.ads.admanager.v1.InternalRedirectCreativeDetails internal_redirect_creative = 38 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
InternalRedirectCreativeDetailsOrBuilder

getLegacyDfpCreative()

public LegacyDfpCreativeDetails getLegacyDfpCreative()

Optional. A Creative that isn't supported by Google DFP, but was migrated from DART. Creatives of this type cannot be created or modified.

.google.ads.admanager.v1.LegacyDfpCreativeDetails legacy_dfp_creative = 39 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
LegacyDfpCreativeDetails

The legacyDfpCreative.

getLegacyDfpCreativeBuilder()

public LegacyDfpCreativeDetails.Builder getLegacyDfpCreativeBuilder()

Optional. A Creative that isn't supported by Google DFP, but was migrated from DART. Creatives of this type cannot be created or modified.

.google.ads.admanager.v1.LegacyDfpCreativeDetails legacy_dfp_creative = 39 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
LegacyDfpCreativeDetails.Builder

getLegacyDfpCreativeOrBuilder()

public LegacyDfpCreativeDetailsOrBuilder getLegacyDfpCreativeOrBuilder()

Optional. A Creative that isn't supported by Google DFP, but was migrated from DART. Creatives of this type cannot be created or modified.

.google.ads.admanager.v1.LegacyDfpCreativeDetails legacy_dfp_creative = 39 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
LegacyDfpCreativeDetailsOrBuilder

getName()

public String getName()

Identifier. The resource name of the Creative. Format: networks/{network_code}/creatives/{creative_id}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Identifier. The resource name of the Creative. Format: networks/{network_code}/creatives/{creative_id}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
ByteString

The bytes for name.

getPreviewUrl()

public String getPreviewUrl()

Output only. The URL of the creative for previewing the media.

optional string preview_url = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The previewUrl.

getPreviewUrlBytes()

public ByteString getPreviewUrlBytes()

Output only. The URL of the creative for previewing the media.

optional string preview_url = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for previewUrl.

getProgrammaticCreative()

public ProgrammaticCreativeDetails getProgrammaticCreative()

Optional. A Creative used for programmatic trafficking. This creative will be auto-created with the right approval from the buyer. This creative cannot be created through the API. This creative can be updated.

.google.ads.admanager.v1.ProgrammaticCreativeDetails programmatic_creative = 42 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ProgrammaticCreativeDetails

The programmaticCreative.

getProgrammaticCreativeBuilder()

public ProgrammaticCreativeDetails.Builder getProgrammaticCreativeBuilder()

Optional. A Creative used for programmatic trafficking. This creative will be auto-created with the right approval from the buyer. This creative cannot be created through the API. This creative can be updated.

.google.ads.admanager.v1.ProgrammaticCreativeDetails programmatic_creative = 42 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ProgrammaticCreativeDetails.Builder

getProgrammaticCreativeOrBuilder()

public ProgrammaticCreativeDetailsOrBuilder getProgrammaticCreativeOrBuilder()

Optional. A Creative used for programmatic trafficking. This creative will be auto-created with the right approval from the buyer. This creative cannot be created through the API. This creative can be updated.

.google.ads.admanager.v1.ProgrammaticCreativeDetails programmatic_creative = 42 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ProgrammaticCreativeDetailsOrBuilder

getRichMediaStudioCreative()

public RichMediaStudioCreativeDetails getRichMediaStudioCreative()

Optional. A Creative that is created by a Rich Media Studio. You cannot create this creative, but you can update some fields of this creative.

.google.ads.admanager.v1.RichMediaStudioCreativeDetails rich_media_studio_creative = 43 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
RichMediaStudioCreativeDetails

The richMediaStudioCreative.

getRichMediaStudioCreativeBuilder()

public RichMediaStudioCreativeDetails.Builder getRichMediaStudioCreativeBuilder()

Optional. A Creative that is created by a Rich Media Studio. You cannot create this creative, but you can update some fields of this creative.

.google.ads.admanager.v1.RichMediaStudioCreativeDetails rich_media_studio_creative = 43 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
RichMediaStudioCreativeDetails.Builder

getRichMediaStudioCreativeOrBuilder()

public RichMediaStudioCreativeDetailsOrBuilder getRichMediaStudioCreativeOrBuilder()

Optional. A Creative that is created by a Rich Media Studio. You cannot create this creative, but you can update some fields of this creative.

.google.ads.admanager.v1.RichMediaStudioCreativeDetails rich_media_studio_creative = 43 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
RichMediaStudioCreativeDetailsOrBuilder

getSelfDeclaredEuropeanUnionPoliticalContent()

public boolean getSelfDeclaredEuropeanUnionPoliticalContent()

Optional. Whether this creative contains self-declared European Union political content.

optional bool self_declared_european_union_political_content = 13 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The selfDeclaredEuropeanUnionPoliticalContent.

getSetTopBoxCreative()

public SetTopBoxCreativeDetails getSetTopBoxCreative()

Optional. A Creative that will be served into cable set-top boxes. There are no assets for this creative type, as they are hosted by external cable systems.

.google.ads.admanager.v1.SetTopBoxCreativeDetails set_top_box_creative = 46 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SetTopBoxCreativeDetails

The setTopBoxCreative.

getSetTopBoxCreativeBuilder()

public SetTopBoxCreativeDetails.Builder getSetTopBoxCreativeBuilder()

Optional. A Creative that will be served into cable set-top boxes. There are no assets for this creative type, as they are hosted by external cable systems.

.google.ads.admanager.v1.SetTopBoxCreativeDetails set_top_box_creative = 46 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SetTopBoxCreativeDetails.Builder

getSetTopBoxCreativeOrBuilder()

public SetTopBoxCreativeDetailsOrBuilder getSetTopBoxCreativeOrBuilder()

Optional. A Creative that will be served into cable set-top boxes. There are no assets for this creative type, as they are hosted by external cable systems.

.google.ads.admanager.v1.SetTopBoxCreativeDetails set_top_box_creative = 46 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SetTopBoxCreativeDetailsOrBuilder

getSize()

public Size getSize()

Required. Immutable. The Size of the creative.

.google.ads.admanager.v1.Size size = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
Size

The size.

getSizeBuilder()

public Size.Builder getSizeBuilder()

Required. Immutable. The Size of the creative.

.google.ads.admanager.v1.Size size = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
Size.Builder

getSizeOrBuilder()

public SizeOrBuilder getSizeOrBuilder()

Required. Immutable. The Size of the creative.

.google.ads.admanager.v1.Size size = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
SizeOrBuilder

getTemplateCreative()

public TemplateCreativeDetails getTemplateCreative()

Optional. A Creative that is created by the specified creative template.

.google.ads.admanager.v1.TemplateCreativeDetails template_creative = 47 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
TemplateCreativeDetails

The templateCreative.

getTemplateCreativeBuilder()

public TemplateCreativeDetails.Builder getTemplateCreativeBuilder()

Optional. A Creative that is created by the specified creative template.

.google.ads.admanager.v1.TemplateCreativeDetails template_creative = 47 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
TemplateCreativeDetails.Builder

getTemplateCreativeOrBuilder()

public TemplateCreativeDetailsOrBuilder getTemplateCreativeOrBuilder()

Optional. A Creative that is created by the specified creative template.

.google.ads.admanager.v1.TemplateCreativeDetails template_creative = 47 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
TemplateCreativeDetailsOrBuilder

getThirdPartyCreative()

public ThirdPartyCreativeDetails getThirdPartyCreative()

Optional. A Creative that is served by a 3rd-party vendor.

.google.ads.admanager.v1.ThirdPartyCreativeDetails third_party_creative = 48 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ThirdPartyCreativeDetails

The thirdPartyCreative.

getThirdPartyCreativeBuilder()

public ThirdPartyCreativeDetails.Builder getThirdPartyCreativeBuilder()

Optional. A Creative that is served by a 3rd-party vendor.

.google.ads.admanager.v1.ThirdPartyCreativeDetails third_party_creative = 48 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ThirdPartyCreativeDetails.Builder

getThirdPartyCreativeOrBuilder()

public ThirdPartyCreativeDetailsOrBuilder getThirdPartyCreativeOrBuilder()

Optional. A Creative that is served by a 3rd-party vendor.

.google.ads.admanager.v1.ThirdPartyCreativeDetails third_party_creative = 48 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ThirdPartyCreativeDetailsOrBuilder

getThirdPartyDataDeclaration()

public ThirdPartyDataDeclaration getThirdPartyDataDeclaration()

Optional. The third party companies associated with this creative. This is distinct from any associated companies that Google may detect programmatically.

.google.ads.admanager.v1.ThirdPartyDataDeclaration third_party_data_declaration = 59 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ThirdPartyDataDeclaration

The thirdPartyDataDeclaration.

getThirdPartyDataDeclarationBuilder()

public ThirdPartyDataDeclaration.Builder getThirdPartyDataDeclarationBuilder()

Optional. The third party companies associated with this creative. This is distinct from any associated companies that Google may detect programmatically.

.google.ads.admanager.v1.ThirdPartyDataDeclaration third_party_data_declaration = 59 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ThirdPartyDataDeclaration.Builder

getThirdPartyDataDeclarationOrBuilder()

public ThirdPartyDataDeclarationOrBuilder getThirdPartyDataDeclarationOrBuilder()

Optional. The third party companies associated with this creative. This is distinct from any associated companies that Google may detect programmatically.

.google.ads.admanager.v1.ThirdPartyDataDeclaration third_party_data_declaration = 59 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ThirdPartyDataDeclarationOrBuilder

getThirdPartyDataDeclarationStatus()

public CreativeThirdPartyDataDeclarationStatusEnum.CreativeThirdPartyDataDeclarationStatus getThirdPartyDataDeclarationStatus()

Output only. The status of the publisher's ThirdPartyDataDeclaration, when compared with the set of third party companies detected via automated scanning.

For example, if automated scanning detects more companies than have been declared, this status will be CreativeThirdPartyDataDeclarationStatus.INCOMPLETE.

optional .google.ads.admanager.v1.CreativeThirdPartyDataDeclarationStatusEnum.CreativeThirdPartyDataDeclarationStatus third_party_data_declaration_status = 60 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
CreativeThirdPartyDataDeclarationStatusEnum.CreativeThirdPartyDataDeclarationStatus

The thirdPartyDataDeclarationStatus.

getThirdPartyDataDeclarationStatusValue()

public int getThirdPartyDataDeclarationStatusValue()

Output only. The status of the publisher's ThirdPartyDataDeclaration, when compared with the set of third party companies detected via automated scanning.

For example, if automated scanning detects more companies than have been declared, this status will be CreativeThirdPartyDataDeclarationStatus.INCOMPLETE.

optional .google.ads.admanager.v1.CreativeThirdPartyDataDeclarationStatusEnum.CreativeThirdPartyDataDeclarationStatus third_party_data_declaration_status = 60 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for thirdPartyDataDeclarationStatus.

getUpdateTime()

public Timestamp getUpdateTime()

Output only. The instant this Creative was last modified.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The updateTime.

getUpdateTimeBuilder()

public Timestamp.Builder getUpdateTimeBuilder()

Output only. The instant this Creative was last modified.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. The instant this Creative was last modified.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getVastRedirectCreative()

public VastRedirectCreativeDetails getVastRedirectCreative()

Optional. A Creative that points to an externally hosted VAST ad and is served via VAST XML as a VAST Wrapper.

.google.ads.admanager.v1.VastRedirectCreativeDetails vast_redirect_creative = 49 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
VastRedirectCreativeDetails

The vastRedirectCreative.

getVastRedirectCreativeBuilder()

public VastRedirectCreativeDetails.Builder getVastRedirectCreativeBuilder()

Optional. A Creative that points to an externally hosted VAST ad and is served via VAST XML as a VAST Wrapper.

.google.ads.admanager.v1.VastRedirectCreativeDetails vast_redirect_creative = 49 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
VastRedirectCreativeDetails.Builder

getVastRedirectCreativeOrBuilder()

public VastRedirectCreativeDetailsOrBuilder getVastRedirectCreativeOrBuilder()

Optional. A Creative that points to an externally hosted VAST ad and is served via VAST XML as a VAST Wrapper.

.google.ads.admanager.v1.VastRedirectCreativeDetails vast_redirect_creative = 49 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
VastRedirectCreativeDetailsOrBuilder

getVideoCreative()

public VideoCreativeDetails getVideoCreative()

Optional. A Creative that contains Ad Manager hosted video ads and is served via VAST XML.

.google.ads.admanager.v1.VideoCreativeDetails video_creative = 51 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
VideoCreativeDetails

The videoCreative.

getVideoCreativeBuilder()

public VideoCreativeDetails.Builder getVideoCreativeBuilder()

Optional. A Creative that contains Ad Manager hosted video ads and is served via VAST XML.

.google.ads.admanager.v1.VideoCreativeDetails video_creative = 51 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
VideoCreativeDetails.Builder

getVideoCreativeOrBuilder()

public VideoCreativeDetailsOrBuilder getVideoCreativeOrBuilder()

Optional. A Creative that contains Ad Manager hosted video ads and is served via VAST XML.

.google.ads.admanager.v1.VideoCreativeDetails video_creative = 51 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
VideoCreativeDetailsOrBuilder

getVideoRedirectCreative()

public VideoRedirectCreativeDetails getVideoRedirectCreative()

Optional. A Creative that contains externally hosted video ads and is served via VAST XML.

.google.ads.admanager.v1.VideoRedirectCreativeDetails video_redirect_creative = 53 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
VideoRedirectCreativeDetails

The videoRedirectCreative.

getVideoRedirectCreativeBuilder()

public VideoRedirectCreativeDetails.Builder getVideoRedirectCreativeBuilder()

Optional. A Creative that contains externally hosted video ads and is served via VAST XML.

.google.ads.admanager.v1.VideoRedirectCreativeDetails video_redirect_creative = 53 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
VideoRedirectCreativeDetails.Builder

getVideoRedirectCreativeOrBuilder()

public VideoRedirectCreativeDetailsOrBuilder getVideoRedirectCreativeOrBuilder()

Optional. A Creative that contains externally hosted video ads and is served via VAST XML.

.google.ads.admanager.v1.VideoRedirectCreativeDetails video_redirect_creative = 53 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
VideoRedirectCreativeDetailsOrBuilder

hasAdBadgingEnabled()

public boolean hasAdBadgingEnabled()

Optional. Non-empty default. Whether the creative has ad badging enabled.

Defaults to false for VastRedirectCreative, ThirdPartyCreative, AudioRedirectCreative, ProgrammaticCreative, LegacyDfpMobileCreative, FlashOverlayCreative, GraphicalInterstitialCreative, LegacyDfpCreative, MobileAdNetworkCreative, MobileVideoInterstitialCreative, SdkMediationCreative, and FlashCreative types.

Defaults to true for all other creative types.

optional bool ad_badging_enabled = 17 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = NON_EMPTY_DEFAULT];

Returns
Type Description
boolean

Whether the adBadgingEnabled field is set.

hasAdExchangeCreative()

public boolean hasAdExchangeCreative()

Optional. An Ad Exchange dynamic allocation creative.

.google.ads.admanager.v1.AdExchangeCreativeDetails ad_exchange_creative = 20 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the adExchangeCreative field is set.

hasAdSenseCreative()

public boolean hasAdSenseCreative()

Optional. An AdSense dynamic allocation creative.

.google.ads.admanager.v1.AdSenseCreativeDetails ad_sense_creative = 22 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the adSenseCreative field is set.

hasAdvertiser()

public boolean hasAdvertiser()

Required. The resource name of the Company, which is of type Company.Type.ADVERTISER, to which this Creative belongs. Format: "networks/{network_code}/companies/{company_id}"

optional string advertiser = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
boolean

Whether the advertiser field is set.

hasAspectRatioImageCreative()

public boolean hasAspectRatioImageCreative()

Optional. A Creative intended for mobile platforms that displays an image, whose size is defined as an aspect ratio. It can have multiple images whose dimensions conform to that aspect ratio.

.google.ads.admanager.v1.AspectRatioImageCreativeDetails aspect_ratio_image_creative = 23 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the aspectRatioImageCreative field is set.

hasAudioCreative()

public boolean hasAudioCreative()

Optional. A Creative that contains Ad Manager hosted audio ads and is served via VAST XML.

.google.ads.admanager.v1.AudioCreativeDetails audio_creative = 24 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the audioCreative field is set.

hasAudioRedirectCreative()

public boolean hasAudioRedirectCreative()

Optional. A Creative that contains externally hosted audio ads and is served via VAST XML.

.google.ads.admanager.v1.AudioRedirectCreativeDetails audio_redirect_creative = 25 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the audioRedirectCreative field is set.

hasBuyerPlacementConfig()

public boolean hasBuyerPlacementConfig()

Optional. The buyer placement configuration for this creative.

.google.ads.admanager.v1.BuyerPlacementConfig buyer_placement_config = 81 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the buyerPlacementConfig field is set.

hasClickTrackingCreative()

public boolean hasClickTrackingCreative()

Optional. A creative that is used for tracking clicks on ads that are served directly from the customers' web servers or media servers. NOTE: The size attribute is not used for click tracking creative and it will not be persisted upon save.

.google.ads.admanager.v1.ClickTrackingCreativeDetails click_tracking_creative = 26 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the clickTrackingCreative field is set.

hasCustomCreative()

public boolean hasCustomCreative()

Optional. A Creative that contains a custom HTML snippet and file assets.

.google.ads.admanager.v1.CustomCreativeDetails custom_creative = 18 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the customCreative field is set.

hasDisplayName()

public boolean hasDisplayName()

Required. Display name of the Creative. This attribute has a maximum length of 255 characters.

optional string display_name = 8 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the displayName field is set.

hasHtml5Creative()

public boolean hasHtml5Creative()

Optional. A Creative that contains a zipped HTML5 bundle asset, a list of third party impression trackers, and a third party click tracker.

.google.ads.admanager.v1.Html5CreativeDetails html5_creative = 33 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the html5Creative field is set.

hasImageCreative()

public boolean hasImageCreative()

Optional. A Creative that displays an image.

.google.ads.admanager.v1.ImageCreativeDetails image_creative = 19 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the imageCreative field is set.

hasImageOverlayCreative()

public boolean hasImageOverlayCreative()

Optional. An overlay Creative that displays an image and is served via VAST 2.0 XML. Overlays cover part of the video content they are displayed on top of.

.google.ads.admanager.v1.ImageOverlayCreativeDetails image_overlay_creative = 35 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the imageOverlayCreative field is set.

hasImageRedirectCreative()

public boolean hasImageRedirectCreative()

Optional. A Creative that loads an image asset from a specified URL.

.google.ads.admanager.v1.ImageRedirectCreativeDetails image_redirect_creative = 36 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the imageRedirectCreative field is set.

hasImageRedirectOverlayCreative()

public boolean hasImageRedirectOverlayCreative()

Optional. An overlay Creative that loads an image asset from a specified URL and is served via VAST XML. Overlays cover part of the video content they are displayed on top of. This creative is read only.

.google.ads.admanager.v1.ImageRedirectOverlayCreativeDetails image_redirect_overlay_creative = 37 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the imageRedirectOverlayCreative field is set.

hasInternalRedirectCreative()

public boolean hasInternalRedirectCreative()

Optional. A Creative hosted by Campaign Manager 360.

Similar to third-party creatives, a Campaign Manager 360 tag is used to retrieve a creative asset. However, Campaign Manager 360 tags are not sent to the user's browser. Instead, they are processed internally within the Google Marketing Platform system.

.google.ads.admanager.v1.InternalRedirectCreativeDetails internal_redirect_creative = 38 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the internalRedirectCreative field is set.

hasLegacyDfpCreative()

public boolean hasLegacyDfpCreative()

Optional. A Creative that isn't supported by Google DFP, but was migrated from DART. Creatives of this type cannot be created or modified.

.google.ads.admanager.v1.LegacyDfpCreativeDetails legacy_dfp_creative = 39 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the legacyDfpCreative field is set.

hasPreviewUrl()

public boolean hasPreviewUrl()

Output only. The URL of the creative for previewing the media.

optional string preview_url = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the previewUrl field is set.

hasProgrammaticCreative()

public boolean hasProgrammaticCreative()

Optional. A Creative used for programmatic trafficking. This creative will be auto-created with the right approval from the buyer. This creative cannot be created through the API. This creative can be updated.

.google.ads.admanager.v1.ProgrammaticCreativeDetails programmatic_creative = 42 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the programmaticCreative field is set.

hasRichMediaStudioCreative()

public boolean hasRichMediaStudioCreative()

Optional. A Creative that is created by a Rich Media Studio. You cannot create this creative, but you can update some fields of this creative.

.google.ads.admanager.v1.RichMediaStudioCreativeDetails rich_media_studio_creative = 43 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the richMediaStudioCreative field is set.

hasSelfDeclaredEuropeanUnionPoliticalContent()

public boolean hasSelfDeclaredEuropeanUnionPoliticalContent()

Optional. Whether this creative contains self-declared European Union political content.

optional bool self_declared_european_union_political_content = 13 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the selfDeclaredEuropeanUnionPoliticalContent field is set.

hasSetTopBoxCreative()

public boolean hasSetTopBoxCreative()

Optional. A Creative that will be served into cable set-top boxes. There are no assets for this creative type, as they are hosted by external cable systems.

.google.ads.admanager.v1.SetTopBoxCreativeDetails set_top_box_creative = 46 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the setTopBoxCreative field is set.

hasSize()

public boolean hasSize()

Required. Immutable. The Size of the creative.

.google.ads.admanager.v1.Size size = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
boolean

Whether the size field is set.

hasTemplateCreative()

public boolean hasTemplateCreative()

Optional. A Creative that is created by the specified creative template.

.google.ads.admanager.v1.TemplateCreativeDetails template_creative = 47 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the templateCreative field is set.

hasThirdPartyCreative()

public boolean hasThirdPartyCreative()

Optional. A Creative that is served by a 3rd-party vendor.

.google.ads.admanager.v1.ThirdPartyCreativeDetails third_party_creative = 48 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the thirdPartyCreative field is set.

hasThirdPartyDataDeclaration()

public boolean hasThirdPartyDataDeclaration()

Optional. The third party companies associated with this creative. This is distinct from any associated companies that Google may detect programmatically.

.google.ads.admanager.v1.ThirdPartyDataDeclaration third_party_data_declaration = 59 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the thirdPartyDataDeclaration field is set.

hasThirdPartyDataDeclarationStatus()

public boolean hasThirdPartyDataDeclarationStatus()

Output only. The status of the publisher's ThirdPartyDataDeclaration, when compared with the set of third party companies detected via automated scanning.

For example, if automated scanning detects more companies than have been declared, this status will be CreativeThirdPartyDataDeclarationStatus.INCOMPLETE.

optional .google.ads.admanager.v1.CreativeThirdPartyDataDeclarationStatusEnum.CreativeThirdPartyDataDeclarationStatus third_party_data_declaration_status = 60 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the thirdPartyDataDeclarationStatus field is set.

hasUpdateTime()

public boolean hasUpdateTime()

Output only. The instant this Creative was last modified.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the updateTime field is set.

hasVastRedirectCreative()

public boolean hasVastRedirectCreative()

Optional. A Creative that points to an externally hosted VAST ad and is served via VAST XML as a VAST Wrapper.

.google.ads.admanager.v1.VastRedirectCreativeDetails vast_redirect_creative = 49 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the vastRedirectCreative field is set.

hasVideoCreative()

public boolean hasVideoCreative()

Optional. A Creative that contains Ad Manager hosted video ads and is served via VAST XML.

.google.ads.admanager.v1.VideoCreativeDetails video_creative = 51 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the videoCreative field is set.

hasVideoRedirectCreative()

public boolean hasVideoRedirectCreative()

Optional. A Creative that contains externally hosted video ads and is served via VAST XML.

.google.ads.admanager.v1.VideoRedirectCreativeDetails video_redirect_creative = 53 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the videoRedirectCreative field is set.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeAdExchangeCreative(AdExchangeCreativeDetails value)

public Creative.Builder mergeAdExchangeCreative(AdExchangeCreativeDetails value)

Optional. An Ad Exchange dynamic allocation creative.

.google.ads.admanager.v1.AdExchangeCreativeDetails ad_exchange_creative = 20 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value AdExchangeCreativeDetails
Returns
Type Description
Creative.Builder

mergeAdSenseCreative(AdSenseCreativeDetails value)

public Creative.Builder mergeAdSenseCreative(AdSenseCreativeDetails value)

Optional. An AdSense dynamic allocation creative.

.google.ads.admanager.v1.AdSenseCreativeDetails ad_sense_creative = 22 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value AdSenseCreativeDetails
Returns
Type Description
Creative.Builder

mergeAspectRatioImageCreative(AspectRatioImageCreativeDetails value)

public Creative.Builder mergeAspectRatioImageCreative(AspectRatioImageCreativeDetails value)

Optional. A Creative intended for mobile platforms that displays an image, whose size is defined as an aspect ratio. It can have multiple images whose dimensions conform to that aspect ratio.

.google.ads.admanager.v1.AspectRatioImageCreativeDetails aspect_ratio_image_creative = 23 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value AspectRatioImageCreativeDetails
Returns
Type Description
Creative.Builder

mergeAudioCreative(AudioCreativeDetails value)

public Creative.Builder mergeAudioCreative(AudioCreativeDetails value)

Optional. A Creative that contains Ad Manager hosted audio ads and is served via VAST XML.

.google.ads.admanager.v1.AudioCreativeDetails audio_creative = 24 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value AudioCreativeDetails
Returns
Type Description
Creative.Builder

mergeAudioRedirectCreative(AudioRedirectCreativeDetails value)

public Creative.Builder mergeAudioRedirectCreative(AudioRedirectCreativeDetails value)

Optional. A Creative that contains externally hosted audio ads and is served via VAST XML.

.google.ads.admanager.v1.AudioRedirectCreativeDetails audio_redirect_creative = 25 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value AudioRedirectCreativeDetails
Returns
Type Description
Creative.Builder

mergeBuyerPlacementConfig(BuyerPlacementConfig value)

public Creative.Builder mergeBuyerPlacementConfig(BuyerPlacementConfig value)

Optional. The buyer placement configuration for this creative.

.google.ads.admanager.v1.BuyerPlacementConfig buyer_placement_config = 81 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value BuyerPlacementConfig
Returns
Type Description
Creative.Builder

mergeClickTrackingCreative(ClickTrackingCreativeDetails value)

public Creative.Builder mergeClickTrackingCreative(ClickTrackingCreativeDetails value)

Optional. A creative that is used for tracking clicks on ads that are served directly from the customers' web servers or media servers. NOTE: The size attribute is not used for click tracking creative and it will not be persisted upon save.

.google.ads.admanager.v1.ClickTrackingCreativeDetails click_tracking_creative = 26 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ClickTrackingCreativeDetails
Returns
Type Description
Creative.Builder

mergeCustomCreative(CustomCreativeDetails value)

public Creative.Builder mergeCustomCreative(CustomCreativeDetails value)

Optional. A Creative that contains a custom HTML snippet and file assets.

.google.ads.admanager.v1.CustomCreativeDetails custom_creative = 18 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value CustomCreativeDetails
Returns
Type Description
Creative.Builder

mergeFrom(Creative other)

public Creative.Builder mergeFrom(Creative other)
Parameter
Name Description
other Creative
Returns
Type Description
Creative.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Creative.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Creative.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Creative.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Creative.Builder
Overrides

mergeHtml5Creative(Html5CreativeDetails value)

public Creative.Builder mergeHtml5Creative(Html5CreativeDetails value)

Optional. A Creative that contains a zipped HTML5 bundle asset, a list of third party impression trackers, and a third party click tracker.

.google.ads.admanager.v1.Html5CreativeDetails html5_creative = 33 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value Html5CreativeDetails
Returns
Type Description
Creative.Builder

mergeImageCreative(ImageCreativeDetails value)

public Creative.Builder mergeImageCreative(ImageCreativeDetails value)

Optional. A Creative that displays an image.

.google.ads.admanager.v1.ImageCreativeDetails image_creative = 19 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ImageCreativeDetails
Returns
Type Description
Creative.Builder

mergeImageOverlayCreative(ImageOverlayCreativeDetails value)

public Creative.Builder mergeImageOverlayCreative(ImageOverlayCreativeDetails value)

Optional. An overlay Creative that displays an image and is served via VAST 2.0 XML. Overlays cover part of the video content they are displayed on top of.

.google.ads.admanager.v1.ImageOverlayCreativeDetails image_overlay_creative = 35 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ImageOverlayCreativeDetails
Returns
Type Description
Creative.Builder

mergeImageRedirectCreative(ImageRedirectCreativeDetails value)

public Creative.Builder mergeImageRedirectCreative(ImageRedirectCreativeDetails value)

Optional. A Creative that loads an image asset from a specified URL.

.google.ads.admanager.v1.ImageRedirectCreativeDetails image_redirect_creative = 36 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ImageRedirectCreativeDetails
Returns
Type Description
Creative.Builder

mergeImageRedirectOverlayCreative(ImageRedirectOverlayCreativeDetails value)

public Creative.Builder mergeImageRedirectOverlayCreative(ImageRedirectOverlayCreativeDetails value)

Optional. An overlay Creative that loads an image asset from a specified URL and is served via VAST XML. Overlays cover part of the video content they are displayed on top of. This creative is read only.

.google.ads.admanager.v1.ImageRedirectOverlayCreativeDetails image_redirect_overlay_creative = 37 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ImageRedirectOverlayCreativeDetails
Returns
Type Description
Creative.Builder

mergeInternalRedirectCreative(InternalRedirectCreativeDetails value)

public Creative.Builder mergeInternalRedirectCreative(InternalRedirectCreativeDetails value)

Optional. A Creative hosted by Campaign Manager 360.

Similar to third-party creatives, a Campaign Manager 360 tag is used to retrieve a creative asset. However, Campaign Manager 360 tags are not sent to the user's browser. Instead, they are processed internally within the Google Marketing Platform system.

.google.ads.admanager.v1.InternalRedirectCreativeDetails internal_redirect_creative = 38 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value InternalRedirectCreativeDetails
Returns
Type Description
Creative.Builder

mergeLegacyDfpCreative(LegacyDfpCreativeDetails value)

public Creative.Builder mergeLegacyDfpCreative(LegacyDfpCreativeDetails value)

Optional. A Creative that isn't supported by Google DFP, but was migrated from DART. Creatives of this type cannot be created or modified.

.google.ads.admanager.v1.LegacyDfpCreativeDetails legacy_dfp_creative = 39 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value LegacyDfpCreativeDetails
Returns
Type Description
Creative.Builder

mergeProgrammaticCreative(ProgrammaticCreativeDetails value)

public Creative.Builder mergeProgrammaticCreative(ProgrammaticCreativeDetails value)

Optional. A Creative used for programmatic trafficking. This creative will be auto-created with the right approval from the buyer. This creative cannot be created through the API. This creative can be updated.

.google.ads.admanager.v1.ProgrammaticCreativeDetails programmatic_creative = 42 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ProgrammaticCreativeDetails
Returns
Type Description
Creative.Builder

mergeRichMediaStudioCreative(RichMediaStudioCreativeDetails value)

public Creative.Builder mergeRichMediaStudioCreative(RichMediaStudioCreativeDetails value)

Optional. A Creative that is created by a Rich Media Studio. You cannot create this creative, but you can update some fields of this creative.

.google.ads.admanager.v1.RichMediaStudioCreativeDetails rich_media_studio_creative = 43 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value RichMediaStudioCreativeDetails
Returns
Type Description
Creative.Builder

mergeSetTopBoxCreative(SetTopBoxCreativeDetails value)

public Creative.Builder mergeSetTopBoxCreative(SetTopBoxCreativeDetails value)

Optional. A Creative that will be served into cable set-top boxes. There are no assets for this creative type, as they are hosted by external cable systems.

.google.ads.admanager.v1.SetTopBoxCreativeDetails set_top_box_creative = 46 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value SetTopBoxCreativeDetails
Returns
Type Description
Creative.Builder

mergeSize(Size value)

public Creative.Builder mergeSize(Size value)

Required. Immutable. The Size of the creative.

.google.ads.admanager.v1.Size size = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];

Parameter
Name Description
value Size
Returns
Type Description
Creative.Builder

mergeTemplateCreative(TemplateCreativeDetails value)

public Creative.Builder mergeTemplateCreative(TemplateCreativeDetails value)

Optional. A Creative that is created by the specified creative template.

.google.ads.admanager.v1.TemplateCreativeDetails template_creative = 47 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value TemplateCreativeDetails
Returns
Type Description
Creative.Builder

mergeThirdPartyCreative(ThirdPartyCreativeDetails value)

public Creative.Builder mergeThirdPartyCreative(ThirdPartyCreativeDetails value)

Optional. A Creative that is served by a 3rd-party vendor.

.google.ads.admanager.v1.ThirdPartyCreativeDetails third_party_creative = 48 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ThirdPartyCreativeDetails
Returns
Type Description
Creative.Builder

mergeThirdPartyDataDeclaration(ThirdPartyDataDeclaration value)

public Creative.Builder mergeThirdPartyDataDeclaration(ThirdPartyDataDeclaration value)

Optional. The third party companies associated with this creative. This is distinct from any associated companies that Google may detect programmatically.

.google.ads.admanager.v1.ThirdPartyDataDeclaration third_party_data_declaration = 59 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ThirdPartyDataDeclaration
Returns
Type Description
Creative.Builder

mergeUpdateTime(Timestamp value)

public Creative.Builder mergeUpdateTime(Timestamp value)

Output only. The instant this Creative was last modified.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
Creative.Builder

mergeVastRedirectCreative(VastRedirectCreativeDetails value)

public Creative.Builder mergeVastRedirectCreative(VastRedirectCreativeDetails value)

Optional. A Creative that points to an externally hosted VAST ad and is served via VAST XML as a VAST Wrapper.

.google.ads.admanager.v1.VastRedirectCreativeDetails vast_redirect_creative = 49 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value VastRedirectCreativeDetails
Returns
Type Description
Creative.Builder

mergeVideoCreative(VideoCreativeDetails value)

public Creative.Builder mergeVideoCreative(VideoCreativeDetails value)

Optional. A Creative that contains Ad Manager hosted video ads and is served via VAST XML.

.google.ads.admanager.v1.VideoCreativeDetails video_creative = 51 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value VideoCreativeDetails
Returns
Type Description
Creative.Builder

mergeVideoRedirectCreative(VideoRedirectCreativeDetails value)

public Creative.Builder mergeVideoRedirectCreative(VideoRedirectCreativeDetails value)

Optional. A Creative that contains externally hosted video ads and is served via VAST XML.

.google.ads.admanager.v1.VideoRedirectCreativeDetails video_redirect_creative = 53 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value VideoRedirectCreativeDetails
Returns
Type Description
Creative.Builder

removeAppliedLabels(int index)

public Creative.Builder removeAppliedLabels(int index)

Optional. The set of labels applied directly to this creative.

repeated .google.ads.admanager.v1.AppliedLabel applied_labels = 56 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
Creative.Builder

removeCustomFieldValues(int index)

public Creative.Builder removeCustomFieldValues(int index)

Optional. The values of the custom fields associated with this creative.

repeated .google.ads.admanager.v1.CustomFieldValue custom_field_values = 76 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
Creative.Builder

setAdBadgingEnabled(boolean value)

public Creative.Builder setAdBadgingEnabled(boolean value)

Optional. Non-empty default. Whether the creative has ad badging enabled.

Defaults to false for VastRedirectCreative, ThirdPartyCreative, AudioRedirectCreative, ProgrammaticCreative, LegacyDfpMobileCreative, FlashOverlayCreative, GraphicalInterstitialCreative, LegacyDfpCreative, MobileAdNetworkCreative, MobileVideoInterstitialCreative, SdkMediationCreative, and FlashCreative types.

Defaults to true for all other creative types.

optional bool ad_badging_enabled = 17 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = NON_EMPTY_DEFAULT];

Parameter
Name Description
value boolean

The adBadgingEnabled to set.

Returns
Type Description
Creative.Builder

This builder for chaining.

setAdExchangeCreative(AdExchangeCreativeDetails value)

public Creative.Builder setAdExchangeCreative(AdExchangeCreativeDetails value)

Optional. An Ad Exchange dynamic allocation creative.

.google.ads.admanager.v1.AdExchangeCreativeDetails ad_exchange_creative = 20 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value AdExchangeCreativeDetails
Returns
Type Description
Creative.Builder

setAdExchangeCreative(AdExchangeCreativeDetails.Builder builderForValue)

public Creative.Builder setAdExchangeCreative(AdExchangeCreativeDetails.Builder builderForValue)

Optional. An Ad Exchange dynamic allocation creative.

.google.ads.admanager.v1.AdExchangeCreativeDetails ad_exchange_creative = 20 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue AdExchangeCreativeDetails.Builder
Returns
Type Description
Creative.Builder

setAdSenseCreative(AdSenseCreativeDetails value)

public Creative.Builder setAdSenseCreative(AdSenseCreativeDetails value)

Optional. An AdSense dynamic allocation creative.

.google.ads.admanager.v1.AdSenseCreativeDetails ad_sense_creative = 22 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value AdSenseCreativeDetails
Returns
Type Description
Creative.Builder

setAdSenseCreative(AdSenseCreativeDetails.Builder builderForValue)

public Creative.Builder setAdSenseCreative(AdSenseCreativeDetails.Builder builderForValue)

Optional. An AdSense dynamic allocation creative.

.google.ads.admanager.v1.AdSenseCreativeDetails ad_sense_creative = 22 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue AdSenseCreativeDetails.Builder
Returns
Type Description
Creative.Builder

setAdvertiser(String value)

public Creative.Builder setAdvertiser(String value)

Required. The resource name of the Company, which is of type Company.Type.ADVERTISER, to which this Creative belongs. Format: "networks/{network_code}/companies/{company_id}"

optional string advertiser = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The advertiser to set.

Returns
Type Description
Creative.Builder

This builder for chaining.

setAdvertiserBytes(ByteString value)

public Creative.Builder setAdvertiserBytes(ByteString value)

Required. The resource name of the Company, which is of type Company.Type.ADVERTISER, to which this Creative belongs. Format: "networks/{network_code}/companies/{company_id}"

optional string advertiser = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for advertiser to set.

Returns
Type Description
Creative.Builder

This builder for chaining.

setAppliedLabels(int index, AppliedLabel value)

public Creative.Builder setAppliedLabels(int index, AppliedLabel value)

Optional. The set of labels applied directly to this creative.

repeated .google.ads.admanager.v1.AppliedLabel applied_labels = 56 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
value AppliedLabel
Returns
Type Description
Creative.Builder

setAppliedLabels(int index, AppliedLabel.Builder builderForValue)

public Creative.Builder setAppliedLabels(int index, AppliedLabel.Builder builderForValue)

Optional. The set of labels applied directly to this creative.

repeated .google.ads.admanager.v1.AppliedLabel applied_labels = 56 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
builderForValue AppliedLabel.Builder
Returns
Type Description
Creative.Builder

setAspectRatioImageCreative(AspectRatioImageCreativeDetails value)

public Creative.Builder setAspectRatioImageCreative(AspectRatioImageCreativeDetails value)

Optional. A Creative intended for mobile platforms that displays an image, whose size is defined as an aspect ratio. It can have multiple images whose dimensions conform to that aspect ratio.

.google.ads.admanager.v1.AspectRatioImageCreativeDetails aspect_ratio_image_creative = 23 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value AspectRatioImageCreativeDetails
Returns
Type Description
Creative.Builder

setAspectRatioImageCreative(AspectRatioImageCreativeDetails.Builder builderForValue)

public Creative.Builder setAspectRatioImageCreative(AspectRatioImageCreativeDetails.Builder builderForValue)

Optional. A Creative intended for mobile platforms that displays an image, whose size is defined as an aspect ratio. It can have multiple images whose dimensions conform to that aspect ratio.

.google.ads.admanager.v1.AspectRatioImageCreativeDetails aspect_ratio_image_creative = 23 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue AspectRatioImageCreativeDetails.Builder
Returns
Type Description
Creative.Builder

setAudioCreative(AudioCreativeDetails value)

public Creative.Builder setAudioCreative(AudioCreativeDetails value)

Optional. A Creative that contains Ad Manager hosted audio ads and is served via VAST XML.

.google.ads.admanager.v1.AudioCreativeDetails audio_creative = 24 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value AudioCreativeDetails
Returns
Type Description
Creative.Builder

setAudioCreative(AudioCreativeDetails.Builder builderForValue)

public Creative.Builder setAudioCreative(AudioCreativeDetails.Builder builderForValue)

Optional. A Creative that contains Ad Manager hosted audio ads and is served via VAST XML.

.google.ads.admanager.v1.AudioCreativeDetails audio_creative = 24 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue AudioCreativeDetails.Builder
Returns
Type Description
Creative.Builder

setAudioRedirectCreative(AudioRedirectCreativeDetails value)

public Creative.Builder setAudioRedirectCreative(AudioRedirectCreativeDetails value)

Optional. A Creative that contains externally hosted audio ads and is served via VAST XML.

.google.ads.admanager.v1.AudioRedirectCreativeDetails audio_redirect_creative = 25 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value AudioRedirectCreativeDetails
Returns
Type Description
Creative.Builder

setAudioRedirectCreative(AudioRedirectCreativeDetails.Builder builderForValue)

public Creative.Builder setAudioRedirectCreative(AudioRedirectCreativeDetails.Builder builderForValue)

Optional. A Creative that contains externally hosted audio ads and is served via VAST XML.

.google.ads.admanager.v1.AudioRedirectCreativeDetails audio_redirect_creative = 25 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue AudioRedirectCreativeDetails.Builder
Returns
Type Description
Creative.Builder

setBuyerPlacementConfig(BuyerPlacementConfig value)

public Creative.Builder setBuyerPlacementConfig(BuyerPlacementConfig value)

Optional. The buyer placement configuration for this creative.

.google.ads.admanager.v1.BuyerPlacementConfig buyer_placement_config = 81 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value BuyerPlacementConfig
Returns
Type Description
Creative.Builder

setBuyerPlacementConfig(BuyerPlacementConfig.Builder builderForValue)

public Creative.Builder setBuyerPlacementConfig(BuyerPlacementConfig.Builder builderForValue)

Optional. The buyer placement configuration for this creative.

.google.ads.admanager.v1.BuyerPlacementConfig buyer_placement_config = 81 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue BuyerPlacementConfig.Builder
Returns
Type Description
Creative.Builder

setClickTrackingCreative(ClickTrackingCreativeDetails value)

public Creative.Builder setClickTrackingCreative(ClickTrackingCreativeDetails value)

Optional. A creative that is used for tracking clicks on ads that are served directly from the customers' web servers or media servers. NOTE: The size attribute is not used for click tracking creative and it will not be persisted upon save.

.google.ads.admanager.v1.ClickTrackingCreativeDetails click_tracking_creative = 26 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ClickTrackingCreativeDetails
Returns
Type Description
Creative.Builder

setClickTrackingCreative(ClickTrackingCreativeDetails.Builder builderForValue)

public Creative.Builder setClickTrackingCreative(ClickTrackingCreativeDetails.Builder builderForValue)

Optional. A creative that is used for tracking clicks on ads that are served directly from the customers' web servers or media servers. NOTE: The size attribute is not used for click tracking creative and it will not be persisted upon save.

.google.ads.admanager.v1.ClickTrackingCreativeDetails click_tracking_creative = 26 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue ClickTrackingCreativeDetails.Builder
Returns
Type Description
Creative.Builder

setCustomCreative(CustomCreativeDetails value)

public Creative.Builder setCustomCreative(CustomCreativeDetails value)

Optional. A Creative that contains a custom HTML snippet and file assets.

.google.ads.admanager.v1.CustomCreativeDetails custom_creative = 18 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value CustomCreativeDetails
Returns
Type Description
Creative.Builder

setCustomCreative(CustomCreativeDetails.Builder builderForValue)

public Creative.Builder setCustomCreative(CustomCreativeDetails.Builder builderForValue)

Optional. A Creative that contains a custom HTML snippet and file assets.

.google.ads.admanager.v1.CustomCreativeDetails custom_creative = 18 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue CustomCreativeDetails.Builder
Returns
Type Description
Creative.Builder

setCustomFieldValues(int index, CustomFieldValue value)

public Creative.Builder setCustomFieldValues(int index, CustomFieldValue value)

Optional. The values of the custom fields associated with this creative.

repeated .google.ads.admanager.v1.CustomFieldValue custom_field_values = 76 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
value CustomFieldValue
Returns
Type Description
Creative.Builder

setCustomFieldValues(int index, CustomFieldValue.Builder builderForValue)

public Creative.Builder setCustomFieldValues(int index, CustomFieldValue.Builder builderForValue)

Optional. The values of the custom fields associated with this creative.

repeated .google.ads.admanager.v1.CustomFieldValue custom_field_values = 76 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
builderForValue CustomFieldValue.Builder
Returns
Type Description
Creative.Builder

setDisplayName(String value)

public Creative.Builder setDisplayName(String value)

Required. Display name of the Creative. This attribute has a maximum length of 255 characters.

optional string display_name = 8 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The displayName to set.

Returns
Type Description
Creative.Builder

This builder for chaining.

setDisplayNameBytes(ByteString value)

public Creative.Builder setDisplayNameBytes(ByteString value)

Required. Display name of the Creative. This attribute has a maximum length of 255 characters.

optional string display_name = 8 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for displayName to set.

Returns
Type Description
Creative.Builder

This builder for chaining.

setHtml5Creative(Html5CreativeDetails value)

public Creative.Builder setHtml5Creative(Html5CreativeDetails value)

Optional. A Creative that contains a zipped HTML5 bundle asset, a list of third party impression trackers, and a third party click tracker.

.google.ads.admanager.v1.Html5CreativeDetails html5_creative = 33 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value Html5CreativeDetails
Returns
Type Description
Creative.Builder

setHtml5Creative(Html5CreativeDetails.Builder builderForValue)

public Creative.Builder setHtml5Creative(Html5CreativeDetails.Builder builderForValue)

Optional. A Creative that contains a zipped HTML5 bundle asset, a list of third party impression trackers, and a third party click tracker.

.google.ads.admanager.v1.Html5CreativeDetails html5_creative = 33 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue Html5CreativeDetails.Builder
Returns
Type Description
Creative.Builder

setImageCreative(ImageCreativeDetails value)

public Creative.Builder setImageCreative(ImageCreativeDetails value)

Optional. A Creative that displays an image.

.google.ads.admanager.v1.ImageCreativeDetails image_creative = 19 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ImageCreativeDetails
Returns
Type Description
Creative.Builder

setImageCreative(ImageCreativeDetails.Builder builderForValue)

public Creative.Builder setImageCreative(ImageCreativeDetails.Builder builderForValue)

Optional. A Creative that displays an image.

.google.ads.admanager.v1.ImageCreativeDetails image_creative = 19 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue ImageCreativeDetails.Builder
Returns
Type Description
Creative.Builder

setImageOverlayCreative(ImageOverlayCreativeDetails value)

public Creative.Builder setImageOverlayCreative(ImageOverlayCreativeDetails value)

Optional. An overlay Creative that displays an image and is served via VAST 2.0 XML. Overlays cover part of the video content they are displayed on top of.

.google.ads.admanager.v1.ImageOverlayCreativeDetails image_overlay_creative = 35 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ImageOverlayCreativeDetails
Returns
Type Description
Creative.Builder

setImageOverlayCreative(ImageOverlayCreativeDetails.Builder builderForValue)

public Creative.Builder setImageOverlayCreative(ImageOverlayCreativeDetails.Builder builderForValue)

Optional. An overlay Creative that displays an image and is served via VAST 2.0 XML. Overlays cover part of the video content they are displayed on top of.

.google.ads.admanager.v1.ImageOverlayCreativeDetails image_overlay_creative = 35 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue ImageOverlayCreativeDetails.Builder
Returns
Type Description
Creative.Builder

setImageRedirectCreative(ImageRedirectCreativeDetails value)

public Creative.Builder setImageRedirectCreative(ImageRedirectCreativeDetails value)

Optional. A Creative that loads an image asset from a specified URL.

.google.ads.admanager.v1.ImageRedirectCreativeDetails image_redirect_creative = 36 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ImageRedirectCreativeDetails
Returns
Type Description
Creative.Builder

setImageRedirectCreative(ImageRedirectCreativeDetails.Builder builderForValue)

public Creative.Builder setImageRedirectCreative(ImageRedirectCreativeDetails.Builder builderForValue)

Optional. A Creative that loads an image asset from a specified URL.

.google.ads.admanager.v1.ImageRedirectCreativeDetails image_redirect_creative = 36 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue ImageRedirectCreativeDetails.Builder
Returns
Type Description
Creative.Builder

setImageRedirectOverlayCreative(ImageRedirectOverlayCreativeDetails value)

public Creative.Builder setImageRedirectOverlayCreative(ImageRedirectOverlayCreativeDetails value)

Optional. An overlay Creative that loads an image asset from a specified URL and is served via VAST XML. Overlays cover part of the video content they are displayed on top of. This creative is read only.

.google.ads.admanager.v1.ImageRedirectOverlayCreativeDetails image_redirect_overlay_creative = 37 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ImageRedirectOverlayCreativeDetails
Returns
Type Description
Creative.Builder

setImageRedirectOverlayCreative(ImageRedirectOverlayCreativeDetails.Builder builderForValue)

public Creative.Builder setImageRedirectOverlayCreative(ImageRedirectOverlayCreativeDetails.Builder builderForValue)

Optional. An overlay Creative that loads an image asset from a specified URL and is served via VAST XML. Overlays cover part of the video content they are displayed on top of. This creative is read only.

.google.ads.admanager.v1.ImageRedirectOverlayCreativeDetails image_redirect_overlay_creative = 37 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue ImageRedirectOverlayCreativeDetails.Builder
Returns
Type Description
Creative.Builder

setInternalRedirectCreative(InternalRedirectCreativeDetails value)

public Creative.Builder setInternalRedirectCreative(InternalRedirectCreativeDetails value)

Optional. A Creative hosted by Campaign Manager 360.

Similar to third-party creatives, a Campaign Manager 360 tag is used to retrieve a creative asset. However, Campaign Manager 360 tags are not sent to the user's browser. Instead, they are processed internally within the Google Marketing Platform system.

.google.ads.admanager.v1.InternalRedirectCreativeDetails internal_redirect_creative = 38 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value InternalRedirectCreativeDetails
Returns
Type Description
Creative.Builder

setInternalRedirectCreative(InternalRedirectCreativeDetails.Builder builderForValue)

public Creative.Builder setInternalRedirectCreative(InternalRedirectCreativeDetails.Builder builderForValue)

Optional. A Creative hosted by Campaign Manager 360.

Similar to third-party creatives, a Campaign Manager 360 tag is used to retrieve a creative asset. However, Campaign Manager 360 tags are not sent to the user's browser. Instead, they are processed internally within the Google Marketing Platform system.

.google.ads.admanager.v1.InternalRedirectCreativeDetails internal_redirect_creative = 38 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue InternalRedirectCreativeDetails.Builder
Returns
Type Description
Creative.Builder

setLegacyDfpCreative(LegacyDfpCreativeDetails value)

public Creative.Builder setLegacyDfpCreative(LegacyDfpCreativeDetails value)

Optional. A Creative that isn't supported by Google DFP, but was migrated from DART. Creatives of this type cannot be created or modified.

.google.ads.admanager.v1.LegacyDfpCreativeDetails legacy_dfp_creative = 39 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value LegacyDfpCreativeDetails
Returns
Type Description
Creative.Builder

setLegacyDfpCreative(LegacyDfpCreativeDetails.Builder builderForValue)

public Creative.Builder setLegacyDfpCreative(LegacyDfpCreativeDetails.Builder builderForValue)

Optional. A Creative that isn't supported by Google DFP, but was migrated from DART. Creatives of this type cannot be created or modified.

.google.ads.admanager.v1.LegacyDfpCreativeDetails legacy_dfp_creative = 39 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue LegacyDfpCreativeDetails.Builder
Returns
Type Description
Creative.Builder

setName(String value)

public Creative.Builder setName(String value)

Identifier. The resource name of the Creative. Format: networks/{network_code}/creatives/{creative_id}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Parameter
Name Description
value String

The name to set.

Returns
Type Description
Creative.Builder

This builder for chaining.

setNameBytes(ByteString value)

public Creative.Builder setNameBytes(ByteString value)

Identifier. The resource name of the Creative. Format: networks/{network_code}/creatives/{creative_id}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
Creative.Builder

This builder for chaining.

setPreviewUrl(String value)

public Creative.Builder setPreviewUrl(String value)

Output only. The URL of the creative for previewing the media.

optional string preview_url = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The previewUrl to set.

Returns
Type Description
Creative.Builder

This builder for chaining.

setPreviewUrlBytes(ByteString value)

public Creative.Builder setPreviewUrlBytes(ByteString value)

Output only. The URL of the creative for previewing the media.

optional string preview_url = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for previewUrl to set.

Returns
Type Description
Creative.Builder

This builder for chaining.

setProgrammaticCreative(ProgrammaticCreativeDetails value)

public Creative.Builder setProgrammaticCreative(ProgrammaticCreativeDetails value)

Optional. A Creative used for programmatic trafficking. This creative will be auto-created with the right approval from the buyer. This creative cannot be created through the API. This creative can be updated.

.google.ads.admanager.v1.ProgrammaticCreativeDetails programmatic_creative = 42 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ProgrammaticCreativeDetails
Returns
Type Description
Creative.Builder

setProgrammaticCreative(ProgrammaticCreativeDetails.Builder builderForValue)

public Creative.Builder setProgrammaticCreative(ProgrammaticCreativeDetails.Builder builderForValue)

Optional. A Creative used for programmatic trafficking. This creative will be auto-created with the right approval from the buyer. This creative cannot be created through the API. This creative can be updated.

.google.ads.admanager.v1.ProgrammaticCreativeDetails programmatic_creative = 42 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue ProgrammaticCreativeDetails.Builder
Returns
Type Description
Creative.Builder

setRichMediaStudioCreative(RichMediaStudioCreativeDetails value)

public Creative.Builder setRichMediaStudioCreative(RichMediaStudioCreativeDetails value)

Optional. A Creative that is created by a Rich Media Studio. You cannot create this creative, but you can update some fields of this creative.

.google.ads.admanager.v1.RichMediaStudioCreativeDetails rich_media_studio_creative = 43 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value RichMediaStudioCreativeDetails
Returns
Type Description
Creative.Builder

setRichMediaStudioCreative(RichMediaStudioCreativeDetails.Builder builderForValue)

public Creative.Builder setRichMediaStudioCreative(RichMediaStudioCreativeDetails.Builder builderForValue)

Optional. A Creative that is created by a Rich Media Studio. You cannot create this creative, but you can update some fields of this creative.

.google.ads.admanager.v1.RichMediaStudioCreativeDetails rich_media_studio_creative = 43 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue RichMediaStudioCreativeDetails.Builder
Returns
Type Description
Creative.Builder

setSelfDeclaredEuropeanUnionPoliticalContent(boolean value)

public Creative.Builder setSelfDeclaredEuropeanUnionPoliticalContent(boolean value)

Optional. Whether this creative contains self-declared European Union political content.

optional bool self_declared_european_union_political_content = 13 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value boolean

The selfDeclaredEuropeanUnionPoliticalContent to set.

Returns
Type Description
Creative.Builder

This builder for chaining.

setSetTopBoxCreative(SetTopBoxCreativeDetails value)

public Creative.Builder setSetTopBoxCreative(SetTopBoxCreativeDetails value)

Optional. A Creative that will be served into cable set-top boxes. There are no assets for this creative type, as they are hosted by external cable systems.

.google.ads.admanager.v1.SetTopBoxCreativeDetails set_top_box_creative = 46 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value SetTopBoxCreativeDetails
Returns
Type Description
Creative.Builder

setSetTopBoxCreative(SetTopBoxCreativeDetails.Builder builderForValue)

public Creative.Builder setSetTopBoxCreative(SetTopBoxCreativeDetails.Builder builderForValue)

Optional. A Creative that will be served into cable set-top boxes. There are no assets for this creative type, as they are hosted by external cable systems.

.google.ads.admanager.v1.SetTopBoxCreativeDetails set_top_box_creative = 46 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue SetTopBoxCreativeDetails.Builder
Returns
Type Description
Creative.Builder

setSize(Size value)

public Creative.Builder setSize(Size value)

Required. Immutable. The Size of the creative.

.google.ads.admanager.v1.Size size = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];

Parameter
Name Description
value Size
Returns
Type Description
Creative.Builder

setSize(Size.Builder builderForValue)

public Creative.Builder setSize(Size.Builder builderForValue)

Required. Immutable. The Size of the creative.

.google.ads.admanager.v1.Size size = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];

Parameter
Name Description
builderForValue Size.Builder
Returns
Type Description
Creative.Builder

setTemplateCreative(TemplateCreativeDetails value)

public Creative.Builder setTemplateCreative(TemplateCreativeDetails value)

Optional. A Creative that is created by the specified creative template.

.google.ads.admanager.v1.TemplateCreativeDetails template_creative = 47 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value TemplateCreativeDetails
Returns
Type Description
Creative.Builder

setTemplateCreative(TemplateCreativeDetails.Builder builderForValue)

public Creative.Builder setTemplateCreative(TemplateCreativeDetails.Builder builderForValue)

Optional. A Creative that is created by the specified creative template.

.google.ads.admanager.v1.TemplateCreativeDetails template_creative = 47 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue TemplateCreativeDetails.Builder
Returns
Type Description
Creative.Builder

setThirdPartyCreative(ThirdPartyCreativeDetails value)

public Creative.Builder setThirdPartyCreative(ThirdPartyCreativeDetails value)

Optional. A Creative that is served by a 3rd-party vendor.

.google.ads.admanager.v1.ThirdPartyCreativeDetails third_party_creative = 48 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ThirdPartyCreativeDetails
Returns
Type Description
Creative.Builder

setThirdPartyCreative(ThirdPartyCreativeDetails.Builder builderForValue)

public Creative.Builder setThirdPartyCreative(ThirdPartyCreativeDetails.Builder builderForValue)

Optional. A Creative that is served by a 3rd-party vendor.

.google.ads.admanager.v1.ThirdPartyCreativeDetails third_party_creative = 48 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue ThirdPartyCreativeDetails.Builder
Returns
Type Description
Creative.Builder

setThirdPartyDataDeclaration(ThirdPartyDataDeclaration value)

public Creative.Builder setThirdPartyDataDeclaration(ThirdPartyDataDeclaration value)

Optional. The third party companies associated with this creative. This is distinct from any associated companies that Google may detect programmatically.

.google.ads.admanager.v1.ThirdPartyDataDeclaration third_party_data_declaration = 59 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ThirdPartyDataDeclaration
Returns
Type Description
Creative.Builder

setThirdPartyDataDeclaration(ThirdPartyDataDeclaration.Builder builderForValue)

public Creative.Builder setThirdPartyDataDeclaration(ThirdPartyDataDeclaration.Builder builderForValue)

Optional. The third party companies associated with this creative. This is distinct from any associated companies that Google may detect programmatically.

.google.ads.admanager.v1.ThirdPartyDataDeclaration third_party_data_declaration = 59 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue ThirdPartyDataDeclaration.Builder
Returns
Type Description
Creative.Builder

setThirdPartyDataDeclarationStatus(CreativeThirdPartyDataDeclarationStatusEnum.CreativeThirdPartyDataDeclarationStatus value)

public Creative.Builder setThirdPartyDataDeclarationStatus(CreativeThirdPartyDataDeclarationStatusEnum.CreativeThirdPartyDataDeclarationStatus value)

Output only. The status of the publisher's ThirdPartyDataDeclaration, when compared with the set of third party companies detected via automated scanning.

For example, if automated scanning detects more companies than have been declared, this status will be CreativeThirdPartyDataDeclarationStatus.INCOMPLETE.

optional .google.ads.admanager.v1.CreativeThirdPartyDataDeclarationStatusEnum.CreativeThirdPartyDataDeclarationStatus third_party_data_declaration_status = 60 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value CreativeThirdPartyDataDeclarationStatusEnum.CreativeThirdPartyDataDeclarationStatus

The thirdPartyDataDeclarationStatus to set.

Returns
Type Description
Creative.Builder

This builder for chaining.

setThirdPartyDataDeclarationStatusValue(int value)

public Creative.Builder setThirdPartyDataDeclarationStatusValue(int value)

Output only. The status of the publisher's ThirdPartyDataDeclaration, when compared with the set of third party companies detected via automated scanning.

For example, if automated scanning detects more companies than have been declared, this status will be CreativeThirdPartyDataDeclarationStatus.INCOMPLETE.

optional .google.ads.admanager.v1.CreativeThirdPartyDataDeclarationStatusEnum.CreativeThirdPartyDataDeclarationStatus third_party_data_declaration_status = 60 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value int

The enum numeric value on the wire for thirdPartyDataDeclarationStatus to set.

Returns
Type Description
Creative.Builder

This builder for chaining.

setUpdateTime(Timestamp value)

public Creative.Builder setUpdateTime(Timestamp value)

Output only. The instant this Creative was last modified.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
Creative.Builder

setUpdateTime(Timestamp.Builder builderForValue)

public Creative.Builder setUpdateTime(Timestamp.Builder builderForValue)

Output only. The instant this Creative was last modified.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
Creative.Builder

setVastRedirectCreative(VastRedirectCreativeDetails value)

public Creative.Builder setVastRedirectCreative(VastRedirectCreativeDetails value)

Optional. A Creative that points to an externally hosted VAST ad and is served via VAST XML as a VAST Wrapper.

.google.ads.admanager.v1.VastRedirectCreativeDetails vast_redirect_creative = 49 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value VastRedirectCreativeDetails
Returns
Type Description
Creative.Builder

setVastRedirectCreative(VastRedirectCreativeDetails.Builder builderForValue)

public Creative.Builder setVastRedirectCreative(VastRedirectCreativeDetails.Builder builderForValue)

Optional. A Creative that points to an externally hosted VAST ad and is served via VAST XML as a VAST Wrapper.

.google.ads.admanager.v1.VastRedirectCreativeDetails vast_redirect_creative = 49 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue VastRedirectCreativeDetails.Builder
Returns
Type Description
Creative.Builder

setVideoCreative(VideoCreativeDetails value)

public Creative.Builder setVideoCreative(VideoCreativeDetails value)

Optional. A Creative that contains Ad Manager hosted video ads and is served via VAST XML.

.google.ads.admanager.v1.VideoCreativeDetails video_creative = 51 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value VideoCreativeDetails
Returns
Type Description
Creative.Builder

setVideoCreative(VideoCreativeDetails.Builder builderForValue)

public Creative.Builder setVideoCreative(VideoCreativeDetails.Builder builderForValue)

Optional. A Creative that contains Ad Manager hosted video ads and is served via VAST XML.

.google.ads.admanager.v1.VideoCreativeDetails video_creative = 51 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue VideoCreativeDetails.Builder
Returns
Type Description
Creative.Builder

setVideoRedirectCreative(VideoRedirectCreativeDetails value)

public Creative.Builder setVideoRedirectCreative(VideoRedirectCreativeDetails value)

Optional. A Creative that contains externally hosted video ads and is served via VAST XML.

.google.ads.admanager.v1.VideoRedirectCreativeDetails video_redirect_creative = 53 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value VideoRedirectCreativeDetails
Returns
Type Description
Creative.Builder

setVideoRedirectCreative(VideoRedirectCreativeDetails.Builder builderForValue)

public Creative.Builder setVideoRedirectCreative(VideoRedirectCreativeDetails.Builder builderForValue)

Optional. A Creative that contains externally hosted video ads and is served via VAST XML.

.google.ads.admanager.v1.VideoRedirectCreativeDetails video_redirect_creative = 53 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue VideoRedirectCreativeDetails.Builder
Returns
Type Description
Creative.Builder