Interface ListAdUnitsResponseOrBuilder (0.12.0)

public interface ListAdUnitsResponseOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAdUnits(int index)

public abstract AdUnit getAdUnits(int index)

The AdUnit from the specified network.

repeated .google.ads.admanager.v1.AdUnit ad_units = 1;

Parameter
Name Description
index int
Returns
Type Description
AdUnit

getAdUnitsCount()

public abstract int getAdUnitsCount()

The AdUnit from the specified network.

repeated .google.ads.admanager.v1.AdUnit ad_units = 1;

Returns
Type Description
int

getAdUnitsList()

public abstract List<AdUnit> getAdUnitsList()

The AdUnit from the specified network.

repeated .google.ads.admanager.v1.AdUnit ad_units = 1;

Returns
Type Description
List<AdUnit>

getAdUnitsOrBuilder(int index)

public abstract AdUnitOrBuilder getAdUnitsOrBuilder(int index)

The AdUnit from the specified network.

repeated .google.ads.admanager.v1.AdUnit ad_units = 1;

Parameter
Name Description
index int
Returns
Type Description
AdUnitOrBuilder

getAdUnitsOrBuilderList()

public abstract List<? extends AdUnitOrBuilder> getAdUnitsOrBuilderList()

The AdUnit from the specified network.

repeated .google.ads.admanager.v1.AdUnit ad_units = 1;

Returns
Type Description
List<? extends com.google.ads.admanager.v1.AdUnitOrBuilder>

getNextPageToken()

public abstract String getNextPageToken()

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public abstract ByteString getNextPageTokenBytes()

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

getTotalSize()

public abstract int getTotalSize()

Total number of AdUnits. If a filter was included in the request, this reflects the total number after the filtering is applied.

total_size will not be calculated in the response unless it has been included in a response field mask. The response field mask can be provided to the method by using the URL parameter $fields or fields, or by using the HTTP/gRPC header X-Goog-FieldMask.

For more information, see https://developers.google.com/ad-manager/api/beta/field-masks

int32 total_size = 3;

Returns
Type Description
int

The totalSize.