Interface SizeOrBuilder (0.12.0)

public interface SizeOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getHeight()

public abstract int getHeight()

Required. The height of the Creative, AdUnit, or LineItem.

int32 height = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The height.

getSizeType()

public abstract SizeTypeEnum.SizeType getSizeType()

Required. The SizeType of the Creative, AdUnit, or LineItem.

.google.ads.admanager.v1.SizeTypeEnum.SizeType size_type = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
SizeTypeEnum.SizeType

The sizeType.

getSizeTypeValue()

public abstract int getSizeTypeValue()

Required. The SizeType of the Creative, AdUnit, or LineItem.

.google.ads.admanager.v1.SizeTypeEnum.SizeType size_type = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The enum numeric value on the wire for sizeType.

getWidth()

public abstract int getWidth()

Required. The width of the Creative, AdUnit, or LineItem.

int32 width = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The width.