Interface ListTargetingPresetsResponseOrBuilder (0.54.0)

public interface ListTargetingPresetsResponseOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

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.

getTargetingPresets(int index)

public abstract TargetingPreset getTargetingPresets(int index)

The TargetingPreset objects from the specified network.

repeated .google.ads.admanager.v1.TargetingPreset targeting_presets = 1;

Parameter
Name Description
index int
Returns
Type Description
TargetingPreset

getTargetingPresetsCount()

public abstract int getTargetingPresetsCount()

The TargetingPreset objects from the specified network.

repeated .google.ads.admanager.v1.TargetingPreset targeting_presets = 1;

Returns
Type Description
int

getTargetingPresetsList()

public abstract List<TargetingPreset> getTargetingPresetsList()

The TargetingPreset objects from the specified network.

repeated .google.ads.admanager.v1.TargetingPreset targeting_presets = 1;

Returns
Type Description
List<TargetingPreset>

getTargetingPresetsOrBuilder(int index)

public abstract TargetingPresetOrBuilder getTargetingPresetsOrBuilder(int index)

The TargetingPreset objects from the specified network.

repeated .google.ads.admanager.v1.TargetingPreset targeting_presets = 1;

Parameter
Name Description
index int
Returns
Type Description
TargetingPresetOrBuilder

getTargetingPresetsOrBuilderList()

public abstract List<? extends TargetingPresetOrBuilder> getTargetingPresetsOrBuilderList()

The TargetingPreset objects from the specified network.

repeated .google.ads.admanager.v1.TargetingPreset targeting_presets = 1;

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

getTotalSize()

public abstract int getTotalSize()

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

total_size won't 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.