Interface AdUnitTargetingOrBuilder (0.27.0)

public interface AdUnitTargetingOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAdUnit()

public abstract String getAdUnit()

Optional. The resource name of this ad unit.

optional string ad_unit = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The adUnit.

getAdUnitBytes()

public abstract ByteString getAdUnitBytes()

Optional. The resource name of this ad unit.

optional string ad_unit = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for adUnit.

getIncludeDescendants()

public abstract boolean getIncludeDescendants()

Whether this ad unit's children should be targeted/excluded as well.

optional bool include_descendants = 1;

Returns
Type Description
boolean

The includeDescendants.

hasAdUnit()

public abstract boolean hasAdUnit()

Optional. The resource name of this ad unit.

optional string ad_unit = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
boolean

Whether the adUnit field is set.

hasIncludeDescendants()

public abstract boolean hasIncludeDescendants()

Whether this ad unit's children should be targeted/excluded as well.

optional bool include_descendants = 1;

Returns
Type Description
boolean

Whether the includeDescendants field is set.