Interface AdUnitParentOrBuilder (0.39.0)

public interface AdUnitParentOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAdUnitCode()

public abstract String getAdUnitCode()

Output only. A string used to uniquely identify the ad unit for the purposes of serving the ad.

optional string ad_unit_code = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The adUnitCode.

getAdUnitCodeBytes()

public abstract ByteString getAdUnitCodeBytes()

Output only. A string used to uniquely identify the ad unit for the purposes of serving the ad.

optional string ad_unit_code = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for adUnitCode.

getDisplayName()

public abstract String getDisplayName()

Output only. The display name of the parent AdUnit.

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

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public abstract ByteString getDisplayNameBytes()

Output only. The display name of the parent AdUnit.

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

Returns
Type Description
ByteString

The bytes for displayName.

getParentAdUnit()

public abstract String getParentAdUnit()

Output only. The parent of the current AdUnit Format: networks/{network_code}/adUnits/{ad_unit_id}

optional string parent_ad_unit = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The parentAdUnit.

getParentAdUnitBytes()

public abstract ByteString getParentAdUnitBytes()

Output only. The parent of the current AdUnit Format: networks/{network_code}/adUnits/{ad_unit_id}

optional string parent_ad_unit = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parentAdUnit.

hasAdUnitCode()

public abstract boolean hasAdUnitCode()

Output only. A string used to uniquely identify the ad unit for the purposes of serving the ad.

optional string ad_unit_code = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the adUnitCode field is set.

hasDisplayName()

public abstract boolean hasDisplayName()

Output only. The display name of the parent AdUnit.

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

Returns
Type Description
boolean

Whether the displayName field is set.

hasParentAdUnit()

public abstract boolean hasParentAdUnit()

Output only. The parent of the current AdUnit Format: networks/{network_code}/adUnits/{ad_unit_id}

optional string parent_ad_unit = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
boolean

Whether the parentAdUnit field is set.