public final class Creative extends GeneratedMessage implements CreativeOrBuilderThe Creative resource.
Protobuf type google.ads.admanager.v1.Creative
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > CreativeImplements
CreativeOrBuilderStatic Fields
ADVERTISER_FIELD_NUMBER
public static final int ADVERTISER_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
AD_BADGING_ENABLED_FIELD_NUMBER
public static final int AD_BADGING_ENABLED_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
AD_EXCHANGE_CREATIVE_FIELD_NUMBER
public static final int AD_EXCHANGE_CREATIVE_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
AD_SENSE_CREATIVE_FIELD_NUMBER
public static final int AD_SENSE_CREATIVE_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
APPLIED_LABELS_FIELD_NUMBER
public static final int APPLIED_LABELS_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
ASPECT_RATIO_IMAGE_CREATIVE_FIELD_NUMBER
public static final int ASPECT_RATIO_IMAGE_CREATIVE_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
AUDIO_CREATIVE_FIELD_NUMBER
public static final int AUDIO_CREATIVE_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
AUDIO_REDIRECT_CREATIVE_FIELD_NUMBER
public static final int AUDIO_REDIRECT_CREATIVE_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
BUYER_PLACEMENT_CONFIG_FIELD_NUMBER
public static final int BUYER_PLACEMENT_CONFIG_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
CLICK_TRACKING_CREATIVE_FIELD_NUMBER
public static final int CLICK_TRACKING_CREATIVE_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
CUSTOM_CREATIVE_FIELD_NUMBER
public static final int CUSTOM_CREATIVE_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
CUSTOM_FIELD_VALUES_FIELD_NUMBER
public static final int CUSTOM_FIELD_VALUES_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
DISPLAY_NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
HTML5_CREATIVE_FIELD_NUMBER
public static final int HTML5_CREATIVE_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
IMAGE_CREATIVE_FIELD_NUMBER
public static final int IMAGE_CREATIVE_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
IMAGE_OVERLAY_CREATIVE_FIELD_NUMBER
public static final int IMAGE_OVERLAY_CREATIVE_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
IMAGE_REDIRECT_CREATIVE_FIELD_NUMBER
public static final int IMAGE_REDIRECT_CREATIVE_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
IMAGE_REDIRECT_OVERLAY_CREATIVE_FIELD_NUMBER
public static final int IMAGE_REDIRECT_OVERLAY_CREATIVE_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
INTERNAL_REDIRECT_CREATIVE_FIELD_NUMBER
public static final int INTERNAL_REDIRECT_CREATIVE_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
LEGACY_DFP_CREATIVE_FIELD_NUMBER
public static final int LEGACY_DFP_CREATIVE_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
PREVIEW_URL_FIELD_NUMBER
public static final int PREVIEW_URL_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
PROGRAMMATIC_CREATIVE_FIELD_NUMBER
public static final int PROGRAMMATIC_CREATIVE_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
RICH_MEDIA_STUDIO_CREATIVE_FIELD_NUMBER
public static final int RICH_MEDIA_STUDIO_CREATIVE_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
SELF_DECLARED_EUROPEAN_UNION_POLITICAL_CONTENT_FIELD_NUMBER
public static final int SELF_DECLARED_EUROPEAN_UNION_POLITICAL_CONTENT_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
SET_TOP_BOX_CREATIVE_FIELD_NUMBER
public static final int SET_TOP_BOX_CREATIVE_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
SIZE_FIELD_NUMBER
public static final int SIZE_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
TEMPLATE_CREATIVE_FIELD_NUMBER
public static final int TEMPLATE_CREATIVE_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
THIRD_PARTY_CREATIVE_FIELD_NUMBER
public static final int THIRD_PARTY_CREATIVE_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
THIRD_PARTY_DATA_DECLARATION_FIELD_NUMBER
public static final int THIRD_PARTY_DATA_DECLARATION_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
THIRD_PARTY_DATA_DECLARATION_STATUS_FIELD_NUMBER
public static final int THIRD_PARTY_DATA_DECLARATION_STATUS_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
UPDATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
VAST_REDIRECT_CREATIVE_FIELD_NUMBER
public static final int VAST_REDIRECT_CREATIVE_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
VIDEO_CREATIVE_FIELD_NUMBER
public static final int VIDEO_CREATIVE_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
VIDEO_REDIRECT_CREATIVE_FIELD_NUMBER
public static final int VIDEO_REDIRECT_CREATIVE_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static Creative getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
Creative |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static Creative.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
Creative.Builder |
|
newBuilder(Creative prototype)
public static Creative.Builder newBuilder(Creative prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
Creative |
| Returns | |
|---|---|
| Type | Description |
Creative.Builder |
|
parseDelimitedFrom(InputStream input)
public static Creative parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
Creative |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Creative parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Creative |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static Creative parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
Creative |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Creative parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Creative |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static Creative parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
Creative |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Creative parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Creative |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static Creative parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
Creative |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Creative parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Creative |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static Creative parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
Creative |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Creative parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Creative |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static Creative parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
Creative |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Creative parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Creative |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<Creative> parser()| Returns | |
|---|---|
| Type | Description |
Parser<Creative> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
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. |
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. |
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 |
|
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. |
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. |
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. |
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. |
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. |
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. |
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 |
|
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 |
|
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
getParserForType()
public Parser<Creative> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<Creative> |
|
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. |
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. |
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. |
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
hashCode()
public int hashCode()| Returns | |
|---|---|
| Type | Description |
int |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public Creative.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
Creative.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected Creative.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
Creative.Builder |
|
toBuilder()
public Creative.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
Creative.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|