Interface CreateAdUnitRequestOrBuilder (0.44.0)

public interface CreateAdUnitRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAdUnit()

public abstract AdUnit getAdUnit()

Required. The AdUnit to create.

.google.ads.admanager.v1.AdUnit ad_unit = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AdUnit

The adUnit.

getAdUnitOrBuilder()

public abstract AdUnitOrBuilder getAdUnitOrBuilder()

Required. The AdUnit to create.

.google.ads.admanager.v1.AdUnit ad_unit = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AdUnitOrBuilder

getParent()

public abstract String getParent()

Required. The parent resource where this AdUnit will be created. Format: networks/{network_code}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

Required. The parent resource where this AdUnit will be created. Format: networks/{network_code}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

hasAdUnit()

public abstract boolean hasAdUnit()

Required. The AdUnit to create.

.google.ads.admanager.v1.AdUnit ad_unit = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the adUnit field is set.