Interface CreativePlaceholderOrBuilder (0.1.0)

public interface CreativePlaceholderOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAmpOnly()

public abstract boolean getAmpOnly()

Indicates if the expected creative of this placeholder has an AMP only variant. This is used to improve the accuracy of forecasting and has no effect on serving.

bool amp_only = 5;

Returns
Type Description
boolean

The ampOnly.

getAppliedLabels(int index)

public abstract AppliedLabel getAppliedLabels(int index)

Set of labels applied directly to this CreativePlaceholder.

repeated .google.ads.admanager.v1.AppliedLabel applied_labels = 4;

Parameter
Name Description
index int
Returns
Type Description
AppliedLabel

getAppliedLabelsCount()

public abstract int getAppliedLabelsCount()

Set of labels applied directly to this CreativePlaceholder.

repeated .google.ads.admanager.v1.AppliedLabel applied_labels = 4;

Returns
Type Description
int

getAppliedLabelsList()

public abstract List<AppliedLabel> getAppliedLabelsList()

Set of labels applied directly to this CreativePlaceholder.

repeated .google.ads.admanager.v1.AppliedLabel applied_labels = 4;

Returns
Type Description
List<AppliedLabel>

getAppliedLabelsOrBuilder(int index)

public abstract AppliedLabelOrBuilder getAppliedLabelsOrBuilder(int index)

Set of labels applied directly to this CreativePlaceholder.

repeated .google.ads.admanager.v1.AppliedLabel applied_labels = 4;

Parameter
Name Description
index int
Returns
Type Description
AppliedLabelOrBuilder

getAppliedLabelsOrBuilderList()

public abstract List<? extends AppliedLabelOrBuilder> getAppliedLabelsOrBuilderList()

Set of labels applied directly to this CreativePlaceholder.

repeated .google.ads.admanager.v1.AppliedLabel applied_labels = 4;

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

getCompanionSizes(int index)

public abstract Size getCompanionSizes(int index)

The companions that the creative is expected to have. This attribute can only be set if the line item it belongs to has an EnvironmentType of VIDEO_PLAYER or roadblocking_type of CREATIVE_SET.

repeated .google.ads.admanager.v1.Size companion_sizes = 2;

Parameter
Name Description
index int
Returns
Type Description
Size

getCompanionSizesCount()

public abstract int getCompanionSizesCount()

The companions that the creative is expected to have. This attribute can only be set if the line item it belongs to has an EnvironmentType of VIDEO_PLAYER or roadblocking_type of CREATIVE_SET.

repeated .google.ads.admanager.v1.Size companion_sizes = 2;

Returns
Type Description
int

getCompanionSizesList()

public abstract List<Size> getCompanionSizesList()

The companions that the creative is expected to have. This attribute can only be set if the line item it belongs to has an EnvironmentType of VIDEO_PLAYER or roadblocking_type of CREATIVE_SET.

repeated .google.ads.admanager.v1.Size companion_sizes = 2;

Returns
Type Description
List<Size>

getCompanionSizesOrBuilder(int index)

public abstract SizeOrBuilder getCompanionSizesOrBuilder(int index)

The companions that the creative is expected to have. This attribute can only be set if the line item it belongs to has an EnvironmentType of VIDEO_PLAYER or roadblocking_type of CREATIVE_SET.

repeated .google.ads.admanager.v1.Size companion_sizes = 2;

Parameter
Name Description
index int
Returns
Type Description
SizeOrBuilder

getCompanionSizesOrBuilderList()

public abstract List<? extends SizeOrBuilder> getCompanionSizesOrBuilderList()

The companions that the creative is expected to have. This attribute can only be set if the line item it belongs to has an EnvironmentType of VIDEO_PLAYER or roadblocking_type of CREATIVE_SET.

repeated .google.ads.admanager.v1.Size companion_sizes = 2;

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

getCreativeTargetingDisplayName()

public abstract String getCreativeTargetingDisplayName()

The display name of the creative targeting that this CreativePlaceholder represents.

string creative_targeting_display_name = 6;

Returns
Type Description
String

The creativeTargetingDisplayName.

getCreativeTargetingDisplayNameBytes()

public abstract ByteString getCreativeTargetingDisplayNameBytes()

The display name of the creative targeting that this CreativePlaceholder represents.

string creative_targeting_display_name = 6;

Returns
Type Description
ByteString

The bytes for creativeTargetingDisplayName.

getExpectedCreativeCount()

public abstract int getExpectedCreativeCount()

Expected number of creatives that will be uploaded corresponding to this creative placeholder. This estimate is used to improve the accuracy of forecasting; for example, if label frequency capping limits the number of times a creative may be served.

int32 expected_creative_count = 3;

Returns
Type Description
int

The expectedCreativeCount.

getSize()

public abstract Size getSize()

Required. The size that the creative is expected to have.

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

Returns
Type Description
Size

The size.

getSizeOrBuilder()

public abstract SizeOrBuilder getSizeOrBuilder()

Required. The size that the creative is expected to have.

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

Returns
Type Description
SizeOrBuilder

hasSize()

public abstract boolean hasSize()

Required. The size that the creative is expected to have.

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

Returns
Type Description
boolean

Whether the size field is set.