Interface CreativeOrBuilder (0.6.0)

public interface CreativeOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAdPartnerDeclaration()

public abstract AdPartnerDeclaration getAdPartnerDeclaration()

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

.google.ads.admanager.v1.AdPartnerDeclaration ad_partner_declaration = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AdPartnerDeclaration

The adPartnerDeclaration.

getAdPartnerDeclarationOrBuilder()

public abstract AdPartnerDeclarationOrBuilder getAdPartnerDeclarationOrBuilder()

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

.google.ads.admanager.v1.AdPartnerDeclaration ad_partner_declaration = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AdPartnerDeclarationOrBuilder

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}"

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}"

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

Returns
Type Description
ByteString

The bytes for advertiser.

getCreativeId()

public abstract long getCreativeId()

Output only. Creative ID.

int64 creative_id = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
long

The creativeId.

getDisplayName()

public abstract String getDisplayName()

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

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

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public abstract ByteString getDisplayNameBytes()

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

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

Returns
Type Description
ByteString

The bytes for displayName.

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.

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.

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

Returns
Type Description
ByteString

The bytes for previewUrl.

getSizeLabel()

public abstract String getSizeLabel()

Output only. String representations of creative size. This field is temporarily available and will be deprecated when Creative.size becomes available.

string size_label = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The sizeLabel.

getSizeLabelBytes()

public abstract ByteString getSizeLabelBytes()

Output only. String representations of creative size. This field is temporarily available and will be deprecated when Creative.size becomes available.

string size_label = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for sizeLabel.

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

hasAdPartnerDeclaration()

public abstract boolean hasAdPartnerDeclaration()

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

.google.ads.admanager.v1.AdPartnerDeclaration ad_partner_declaration = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the adPartnerDeclaration 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.