Interface BatchApproveSuggestedAdUnitsResponseOrBuilder (0.54.0)

public interface BatchApproveSuggestedAdUnitsResponseOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCreatedAdUnits(int index)

public abstract String getCreatedAdUnits(int index)

The resource names of the AdUnits that were created as part of the approval. The order of the ad units in the response is not guaranteed to be the same as the order of the suggestions in the request.

repeated string created_ad_units = 1 [(.google.api.resource_reference) = { ... }

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The createdAdUnits at the given index.

getCreatedAdUnitsBytes(int index)

public abstract ByteString getCreatedAdUnitsBytes(int index)

The resource names of the AdUnits that were created as part of the approval. The order of the ad units in the response is not guaranteed to be the same as the order of the suggestions in the request.

repeated string created_ad_units = 1 [(.google.api.resource_reference) = { ... }

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the createdAdUnits at the given index.

getCreatedAdUnitsCount()

public abstract int getCreatedAdUnitsCount()

The resource names of the AdUnits that were created as part of the approval. The order of the ad units in the response is not guaranteed to be the same as the order of the suggestions in the request.

repeated string created_ad_units = 1 [(.google.api.resource_reference) = { ... }

Returns
Type Description
int

The count of createdAdUnits.

getCreatedAdUnitsList()

public abstract List<String> getCreatedAdUnitsList()

The resource names of the AdUnits that were created as part of the approval. The order of the ad units in the response is not guaranteed to be the same as the order of the suggestions in the request.

repeated string created_ad_units = 1 [(.google.api.resource_reference) = { ... }

Returns
Type Description
List<String>

A list containing the createdAdUnits.