Interface AudienceSegment.RuleOrBuilder (0.58.0)

public static interface AudienceSegment.RuleOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCustomTargeting()

public abstract CustomTargeting getCustomTargeting()

Optional. Specification of custom criteria that are part of the rule of the RuleBasedFirstPartyAudienceSegment. Once specified, the server may return a normalized but equivalent representation of the rule. There are up to 3 levels of custom criteria allowed. See CustomTargeting and its sub-messages for limitations.

.google.ads.admanager.v1.CustomTargeting custom_targeting = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
CustomTargeting

The customTargeting.

getCustomTargetingOrBuilder()

public abstract CustomTargetingOrBuilder getCustomTargetingOrBuilder()

Optional. Specification of custom criteria that are part of the rule of the RuleBasedFirstPartyAudienceSegment. Once specified, the server may return a normalized but equivalent representation of the rule. There are up to 3 levels of custom criteria allowed. See CustomTargeting and its sub-messages for limitations.

.google.ads.admanager.v1.CustomTargeting custom_targeting = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
CustomTargetingOrBuilder

getInventoryTargeting()

public abstract InventoryTargeting getInventoryTargeting()

Required. Specification of inventory (i.e. ad units and placements) that are part of the rule of the RuleBasedFirstPartyAudienceSegment.

.google.ads.admanager.v1.InventoryTargeting inventory_targeting = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
InventoryTargeting

The inventoryTargeting.

getInventoryTargetingOrBuilder()

public abstract InventoryTargetingOrBuilder getInventoryTargetingOrBuilder()

Required. Specification of inventory (i.e. ad units and placements) that are part of the rule of the RuleBasedFirstPartyAudienceSegment.

.google.ads.admanager.v1.InventoryTargeting inventory_targeting = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
InventoryTargetingOrBuilder

hasCustomTargeting()

public abstract boolean hasCustomTargeting()

Optional. Specification of custom criteria that are part of the rule of the RuleBasedFirstPartyAudienceSegment. Once specified, the server may return a normalized but equivalent representation of the rule. There are up to 3 levels of custom criteria allowed. See CustomTargeting and its sub-messages for limitations.

.google.ads.admanager.v1.CustomTargeting custom_targeting = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the customTargeting field is set.

hasInventoryTargeting()

public abstract boolean hasInventoryTargeting()

Required. Specification of inventory (i.e. ad units and placements) that are part of the rule of the RuleBasedFirstPartyAudienceSegment.

.google.ads.admanager.v1.InventoryTargeting inventory_targeting = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the inventoryTargeting field is set.