Interface YieldGroupOrBuilder (0.62.0)

public interface YieldGroupOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAdSources(int index)

public abstract YieldAdSource getAdSources(int index)

Optional. The ad sources that belong to the YieldGroup.

repeated .google.ads.admanager.v1.YieldAdSource ad_sources = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
YieldAdSource

getAdSourcesCount()

public abstract int getAdSourcesCount()

Optional. The ad sources that belong to the YieldGroup.

repeated .google.ads.admanager.v1.YieldAdSource ad_sources = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getAdSourcesList()

public abstract List<YieldAdSource> getAdSourcesList()

Optional. The ad sources that belong to the YieldGroup.

repeated .google.ads.admanager.v1.YieldAdSource ad_sources = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<YieldAdSource>

getAdSourcesOrBuilder(int index)

public abstract YieldAdSourceOrBuilder getAdSourcesOrBuilder(int index)

Optional. The ad sources that belong to the YieldGroup.

repeated .google.ads.admanager.v1.YieldAdSource ad_sources = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
YieldAdSourceOrBuilder

getAdSourcesOrBuilderList()

public abstract List<? extends YieldAdSourceOrBuilder> getAdSourcesOrBuilderList()

Optional. The ad sources that belong to the YieldGroup.

repeated .google.ads.admanager.v1.YieldAdSource ad_sources = 7 [(.google.api.field_behavior) = OPTIONAL];

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

getDisplayName()

public abstract String getDisplayName()

Required. The display name of the YieldGroup. This value has a maximum length of 255 characters.

optional string display_name = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public abstract ByteString getDisplayNameBytes()

Required. The display name of the YieldGroup. This value has a maximum length of 255 characters.

optional string display_name = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for displayName.

getName()

public abstract String getName()

Identifier. The resource name of the YieldGroup. Format: networks/{network_code}/yieldGroups/{yield_group_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 YieldGroup. Format: networks/{network_code}/yieldGroups/{yield_group_id}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
ByteString

The bytes for name.

getStatus()

public abstract YieldEntityStatusEnum.YieldEntityStatus getStatus()

Output only. Status of the YieldGroup.

optional .google.ads.admanager.v1.YieldEntityStatusEnum.YieldEntityStatus status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
YieldEntityStatusEnum.YieldEntityStatus

The status.

getStatusValue()

public abstract int getStatusValue()

Output only. Status of the YieldGroup.

optional .google.ads.admanager.v1.YieldEntityStatusEnum.YieldEntityStatus status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for status.

getTargeting()

public abstract Targeting getTargeting()

Optional. The targeting of the YieldGroup.

optional .google.ads.admanager.v1.Targeting targeting = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Targeting

The targeting.

getTargetingOrBuilder()

public abstract TargetingOrBuilder getTargetingOrBuilder()

Optional. The targeting of the YieldGroup.

optional .google.ads.admanager.v1.Targeting targeting = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
TargetingOrBuilder

hasDisplayName()

public abstract boolean hasDisplayName()

Required. The display name of the YieldGroup. This value has a maximum length of 255 characters.

optional string display_name = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the displayName field is set.

hasStatus()

public abstract boolean hasStatus()

Output only. Status of the YieldGroup.

optional .google.ads.admanager.v1.YieldEntityStatusEnum.YieldEntityStatus status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the status field is set.

hasTargeting()

public abstract boolean hasTargeting()

Optional. The targeting of the YieldGroup.

optional .google.ads.admanager.v1.Targeting targeting = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the targeting field is set.