Interface CreativeOrBuilder (0.62.0)

public interface CreativeOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAdBadgingEnabled()

public abstract 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 abstract 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.

getAdExchangeCreativeOrBuilder()

public abstract 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 abstract 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.

getAdSenseCreativeOrBuilder()

public abstract 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 abstract 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 abstract 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 abstract 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

getAppliedLabelsCount()

public abstract 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 abstract 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 abstract 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 abstract 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 abstract 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.

getAspectRatioImageCreativeOrBuilder()

public abstract 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 abstract 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.

getAudioCreativeOrBuilder()

public abstract 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 abstract 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.

getAudioRedirectCreativeOrBuilder()

public abstract 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 abstract 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.

getBuyerPlacementConfigOrBuilder()

public abstract 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 abstract 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.

getClickTrackingCreativeOrBuilder()

public abstract 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 abstract 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.

getCustomCreativeOrBuilder()

public abstract 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 abstract 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

getCustomFieldValuesCount()

public abstract 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 abstract 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 abstract 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 abstract 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>

getDetailsCase()

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

getDisplayName()

public abstract 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 abstract 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 abstract 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.

getHtml5CreativeOrBuilder()

public abstract 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 abstract 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.

getImageCreativeOrBuilder()

public abstract 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 abstract 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.

getImageOverlayCreativeOrBuilder()

public abstract 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 abstract 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.

getImageRedirectCreativeOrBuilder()

public abstract 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 abstract 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.

getImageRedirectOverlayCreativeOrBuilder()

public abstract 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 abstract 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.

getInternalRedirectCreativeOrBuilder()

public abstract 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 abstract 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.

getLegacyDfpCreativeOrBuilder()

public abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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.

getProgrammaticCreativeOrBuilder()

public abstract 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 abstract 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.

getRichMediaStudioCreativeOrBuilder()

public abstract 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 abstract 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 abstract 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.

getSetTopBoxCreativeOrBuilder()

public abstract 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 abstract 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.

getSizeOrBuilder()

public abstract 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 abstract 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.

getTemplateCreativeOrBuilder()

public abstract 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 abstract 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.

getThirdPartyCreativeOrBuilder()

public abstract 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 abstract 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.

getThirdPartyDataDeclarationOrBuilder()

public abstract 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 abstract 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 abstract 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 abstract 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.

getUpdateTimeOrBuilder()

public abstract 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 abstract 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.

getVastRedirectCreativeOrBuilder()

public abstract 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 abstract 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.

getVideoCreativeOrBuilder()

public abstract 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 abstract 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.

getVideoRedirectCreativeOrBuilder()

public abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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.