public interface InventoryTargetingOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getExcludedAdUnits(int index)
public abstract AdUnitTargeting getExcludedAdUnits(int index)
Optional. A list of ad units that should be excluded.
Excluded AUs take precedence over targeted AUs. In fact an AU can be excluded only if one of its ancestors is targeted. Subsequently child AUs of an excluded AU can not be targeted (except via a placement).
repeated .google.ads.admanager.v1.AdUnitTargeting excluded_ad_units = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
AdUnitTargeting |
getExcludedAdUnitsCount()
public abstract int getExcludedAdUnitsCount()
Optional. A list of ad units that should be excluded.
Excluded AUs take precedence over targeted AUs. In fact an AU can be excluded only if one of its ancestors is targeted. Subsequently child AUs of an excluded AU can not be targeted (except via a placement).
repeated .google.ads.admanager.v1.AdUnitTargeting excluded_ad_units = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
int |
getExcludedAdUnitsList()
public abstract List<AdUnitTargeting> getExcludedAdUnitsList()
Optional. A list of ad units that should be excluded.
Excluded AUs take precedence over targeted AUs. In fact an AU can be excluded only if one of its ancestors is targeted. Subsequently child AUs of an excluded AU can not be targeted (except via a placement).
repeated .google.ads.admanager.v1.AdUnitTargeting excluded_ad_units = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
List<AdUnitTargeting> |
getExcludedAdUnitsOrBuilder(int index)
public abstract AdUnitTargetingOrBuilder getExcludedAdUnitsOrBuilder(int index)
Optional. A list of ad units that should be excluded.
Excluded AUs take precedence over targeted AUs. In fact an AU can be excluded only if one of its ancestors is targeted. Subsequently child AUs of an excluded AU can not be targeted (except via a placement).
repeated .google.ads.admanager.v1.AdUnitTargeting excluded_ad_units = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
AdUnitTargetingOrBuilder |
getExcludedAdUnitsOrBuilderList()
public abstract List<? extends AdUnitTargetingOrBuilder> getExcludedAdUnitsOrBuilderList()
Optional. A list of ad units that should be excluded.
Excluded AUs take precedence over targeted AUs. In fact an AU can be excluded only if one of its ancestors is targeted. Subsequently child AUs of an excluded AU can not be targeted (except via a placement).
repeated .google.ads.admanager.v1.AdUnitTargeting excluded_ad_units = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
List<? extends com.google.ads.admanager.v1.AdUnitTargetingOrBuilder> |
getTargetedAdUnits(int index)
public abstract AdUnitTargeting getTargetedAdUnits(int index)
Optional. A list of ad units that should be targeted/included.
repeated .google.ads.admanager.v1.AdUnitTargeting targeted_ad_units = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
AdUnitTargeting |
getTargetedAdUnitsCount()
public abstract int getTargetedAdUnitsCount()
Optional. A list of ad units that should be targeted/included.
repeated .google.ads.admanager.v1.AdUnitTargeting targeted_ad_units = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
int |
getTargetedAdUnitsList()
public abstract List<AdUnitTargeting> getTargetedAdUnitsList()
Optional. A list of ad units that should be targeted/included.
repeated .google.ads.admanager.v1.AdUnitTargeting targeted_ad_units = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
List<AdUnitTargeting> |
getTargetedAdUnitsOrBuilder(int index)
public abstract AdUnitTargetingOrBuilder getTargetedAdUnitsOrBuilder(int index)
Optional. A list of ad units that should be targeted/included.
repeated .google.ads.admanager.v1.AdUnitTargeting targeted_ad_units = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
AdUnitTargetingOrBuilder |
getTargetedAdUnitsOrBuilderList()
public abstract List<? extends AdUnitTargetingOrBuilder> getTargetedAdUnitsOrBuilderList()
Optional. A list of ad units that should be targeted/included.
repeated .google.ads.admanager.v1.AdUnitTargeting targeted_ad_units = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
List<? extends com.google.ads.admanager.v1.AdUnitTargetingOrBuilder> |
getTargetedPlacements(int index)
public abstract String getTargetedPlacements(int index)
Optional. The resource names of the placements that should be targeted/included.
repeated string targeted_placements = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
index |
int The index of the element to return. |
Returns | |
---|---|
Type | Description |
String |
The targetedPlacements at the given index. |
getTargetedPlacementsBytes(int index)
public abstract ByteString getTargetedPlacementsBytes(int index)
Optional. The resource names of the placements that should be targeted/included.
repeated string targeted_placements = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
index |
int The index of the value to return. |
Returns | |
---|---|
Type | Description |
ByteString |
The bytes of the targetedPlacements at the given index. |
getTargetedPlacementsCount()
public abstract int getTargetedPlacementsCount()
Optional. The resource names of the placements that should be targeted/included.
repeated string targeted_placements = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
int |
The count of targetedPlacements. |
getTargetedPlacementsList()
public abstract List<String> getTargetedPlacementsList()
Optional. The resource names of the placements that should be targeted/included.
repeated string targeted_placements = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
List<String> |
A list containing the targetedPlacements. |