Class SearchAdReviewCenterAdsRequest.Builder (0.62.0)

public static final class SearchAdReviewCenterAdsRequest.Builder extends GeneratedMessage.Builder<SearchAdReviewCenterAdsRequest.Builder> implements SearchAdReviewCenterAdsRequestOrBuilder

Request object for SearchAdReviewCenterAds method.

Protobuf type google.ads.admanager.v1.SearchAdReviewCenterAdsRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAdResponseId(String value)

public SearchAdReviewCenterAdsRequest.Builder addAdResponseId(String value)

Optional. If provided, only return ads with the given ad response IDs. This filter is exclusive and cannot be combined with any other filters. Maximum of 10 IDs can be specified.

repeated string ad_response_id = 10 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The adResponseId to add.

Returns
Type Description
SearchAdReviewCenterAdsRequest.Builder

This builder for chaining.

addAdResponseIdBytes(ByteString value)

public SearchAdReviewCenterAdsRequest.Builder addAdResponseIdBytes(ByteString value)

Optional. If provided, only return ads with the given ad response IDs. This filter is exclusive and cannot be combined with any other filters. Maximum of 10 IDs can be specified.

repeated string ad_response_id = 10 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes of the adResponseId to add.

Returns
Type Description
SearchAdReviewCenterAdsRequest.Builder

This builder for chaining.

addAdReviewCenterAdId(String value)

public SearchAdReviewCenterAdsRequest.Builder addAdReviewCenterAdId(String value)

Optional. Only return ads with the given AdReviewCenterAd IDs. If provided, no other filter can be set (other than page size and page token).

repeated string ad_review_center_ad_id = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The adReviewCenterAdId to add.

Returns
Type Description
SearchAdReviewCenterAdsRequest.Builder

This builder for chaining.

addAdReviewCenterAdIdBytes(ByteString value)

public SearchAdReviewCenterAdsRequest.Builder addAdReviewCenterAdIdBytes(ByteString value)

Optional. Only return ads with the given AdReviewCenterAd IDs. If provided, no other filter can be set (other than page size and page token).

repeated string ad_review_center_ad_id = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes of the adReviewCenterAdId to add.

Returns
Type Description
SearchAdReviewCenterAdsRequest.Builder

This builder for chaining.

addAdTypes(ArcCreativeFormatEnum.ArcCreativeFormat value)

public SearchAdReviewCenterAdsRequest.Builder addAdTypes(ArcCreativeFormatEnum.ArcCreativeFormat value)

Optional. If provided, restrict the search to creatives with the given ad types.

repeated .google.ads.admanager.v1.ArcCreativeFormatEnum.ArcCreativeFormat ad_types = 14 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ArcCreativeFormatEnum.ArcCreativeFormat

The adTypes to add.

Returns
Type Description
SearchAdReviewCenterAdsRequest.Builder

This builder for chaining.

addAdTypesValue(int value)

public SearchAdReviewCenterAdsRequest.Builder addAdTypesValue(int value)

Optional. If provided, restrict the search to creatives with the given ad types.

repeated .google.ads.admanager.v1.ArcCreativeFormatEnum.ArcCreativeFormat ad_types = 14 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value int

The enum numeric value on the wire for adTypes to add.

Returns
Type Description
SearchAdReviewCenterAdsRequest.Builder

This builder for chaining.

addAdvertiserApps(String value)

public SearchAdReviewCenterAdsRequest.Builder addAdvertiserApps(String value)

Optional. If provided, restrict the search to creatives promoting the given app.

repeated string advertiser_apps = 15 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The advertiserApps to add.

Returns
Type Description
SearchAdReviewCenterAdsRequest.Builder

This builder for chaining.

addAdvertiserAppsBytes(ByteString value)

public SearchAdReviewCenterAdsRequest.Builder addAdvertiserAppsBytes(ByteString value)

Optional. If provided, restrict the search to creatives promoting the given app.

repeated string advertiser_apps = 15 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes of the advertiserApps to add.

Returns
Type Description
SearchAdReviewCenterAdsRequest.Builder

This builder for chaining.

addAdvertiserDisplayNames(String value)

public SearchAdReviewCenterAdsRequest.Builder addAdvertiserDisplayNames(String value)

Optional. If provided, restrict the search to creatives with the given advertiser names.

repeated string advertiser_display_names = 11 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The advertiserDisplayNames to add.

Returns
Type Description
SearchAdReviewCenterAdsRequest.Builder

This builder for chaining.

addAdvertiserDisplayNamesBytes(ByteString value)

public SearchAdReviewCenterAdsRequest.Builder addAdvertiserDisplayNamesBytes(ByteString value)

Optional. If provided, restrict the search to creatives with the given advertiser names.

repeated string advertiser_display_names = 11 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes of the advertiserDisplayNames to add.

Returns
Type Description
SearchAdReviewCenterAdsRequest.Builder

This builder for chaining.

addAllAdResponseId(Iterable<String> values)

public SearchAdReviewCenterAdsRequest.Builder addAllAdResponseId(Iterable<String> values)

Optional. If provided, only return ads with the given ad response IDs. This filter is exclusive and cannot be combined with any other filters. Maximum of 10 IDs can be specified.

repeated string ad_response_id = 10 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
values Iterable<String>

The adResponseId to add.

Returns
Type Description
SearchAdReviewCenterAdsRequest.Builder

This builder for chaining.

addAllAdReviewCenterAdId(Iterable<String> values)

public SearchAdReviewCenterAdsRequest.Builder addAllAdReviewCenterAdId(Iterable<String> values)

Optional. Only return ads with the given AdReviewCenterAd IDs. If provided, no other filter can be set (other than page size and page token).

repeated string ad_review_center_ad_id = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
values Iterable<String>

The adReviewCenterAdId to add.

Returns
Type Description
SearchAdReviewCenterAdsRequest.Builder

This builder for chaining.

addAllAdTypes(Iterable<? extends ArcCreativeFormatEnum.ArcCreativeFormat> values)

public SearchAdReviewCenterAdsRequest.Builder addAllAdTypes(Iterable<? extends ArcCreativeFormatEnum.ArcCreativeFormat> values)

Optional. If provided, restrict the search to creatives with the given ad types.

repeated .google.ads.admanager.v1.ArcCreativeFormatEnum.ArcCreativeFormat ad_types = 14 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
values Iterable<? extends com.google.ads.admanager.v1.ArcCreativeFormatEnum.ArcCreativeFormat>

The adTypes to add.

Returns
Type Description
SearchAdReviewCenterAdsRequest.Builder

This builder for chaining.

addAllAdTypesValue(Iterable<Integer> values)

public SearchAdReviewCenterAdsRequest.Builder addAllAdTypesValue(Iterable<Integer> values)

Optional. If provided, restrict the search to creatives with the given ad types.

repeated .google.ads.admanager.v1.ArcCreativeFormatEnum.ArcCreativeFormat ad_types = 14 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
values Iterable<Integer>

The enum numeric values on the wire for adTypes to add.

Returns
Type Description
SearchAdReviewCenterAdsRequest.Builder

This builder for chaining.

addAllAdvertiserApps(Iterable<String> values)

public SearchAdReviewCenterAdsRequest.Builder addAllAdvertiserApps(Iterable<String> values)

Optional. If provided, restrict the search to creatives promoting the given app.

repeated string advertiser_apps = 15 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
values Iterable<String>

The advertiserApps to add.

Returns
Type Description
SearchAdReviewCenterAdsRequest.Builder

This builder for chaining.

addAllAdvertiserDisplayNames(Iterable<String> values)

public SearchAdReviewCenterAdsRequest.Builder addAllAdvertiserDisplayNames(Iterable<String> values)

Optional. If provided, restrict the search to creatives with the given advertiser names.

repeated string advertiser_display_names = 11 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
values Iterable<String>

The advertiserDisplayNames to add.

Returns
Type Description
SearchAdReviewCenterAdsRequest.Builder

This builder for chaining.

addAllBuyerAccountId(Iterable<? extends Long> values)

public SearchAdReviewCenterAdsRequest.Builder addAllBuyerAccountId(Iterable<? extends Long> values)

Optional. If provided, restrict the search to creatives belonging to one of the given Adx buyer account IDs. Only applicable to RTB creatives. Adx buyer account IDs can be found using the ProgrammaticBuyerService.

repeated int64 buyer_account_id = 8 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
values Iterable<? extends java.lang.Long>

The buyerAccountId to add.

Returns
Type Description
SearchAdReviewCenterAdsRequest.Builder

This builder for chaining.

addAllLabelIds(Iterable<String> values)

public SearchAdReviewCenterAdsRequest.Builder addAllLabelIds(Iterable<String> values)

Optional. If provided, restrict the search to creatives associated with the given custom label IDs.

repeated string label_ids = 18 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
values Iterable<String>

The labelIds to add.

Returns
Type Description
SearchAdReviewCenterAdsRequest.Builder

This builder for chaining.

addAllLanguageCodes(Iterable<String> values)

public SearchAdReviewCenterAdsRequest.Builder addAllLanguageCodes(Iterable<String> values)

Optional. If provided, restrict the search to creatives serving in the given language codes.

repeated string language_codes = 12 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
values Iterable<String>

The languageCodes to add.

Returns
Type Description
SearchAdReviewCenterAdsRequest.Builder

This builder for chaining.

addAllPublisherDomains(Iterable<String> values)

public SearchAdReviewCenterAdsRequest.Builder addAllPublisherDomains(Iterable<String> values)

Optional. If provided, restrict the search to creatives belonging to the given publisher domain.

repeated string publisher_domains = 16 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
values Iterable<String>

The publisherDomains to add.

Returns
Type Description
SearchAdReviewCenterAdsRequest.Builder

This builder for chaining.

addAllRegionCodes(Iterable<String> values)

public SearchAdReviewCenterAdsRequest.Builder addAllRegionCodes(Iterable<String> values)

Optional. If provided, restrict the search to creatives serving in the given region codes.

repeated string region_codes = 13 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
values Iterable<String>

The regionCodes to add.

Returns
Type Description
SearchAdReviewCenterAdsRequest.Builder

This builder for chaining.

addAllSearchText(Iterable<String> values)

public SearchAdReviewCenterAdsRequest.Builder addAllSearchText(Iterable<String> values)

Optional. If provided, restrict the search to AdReviewCenterAds associated with the text (including any text on the ad or in the destination URL). If more than one value is provided, the search will combine them in a logical AND. For example, ['car', 'blue'] will match ads that contain both "car" and "blue", but not an ad that only contains "car".

repeated string search_text = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
values Iterable<String>

The searchText to add.

Returns
Type Description
SearchAdReviewCenterAdsRequest.Builder

This builder for chaining.

addBuyerAccountId(long value)

public SearchAdReviewCenterAdsRequest.Builder addBuyerAccountId(long value)

Optional. If provided, restrict the search to creatives belonging to one of the given Adx buyer account IDs. Only applicable to RTB creatives. Adx buyer account IDs can be found using the ProgrammaticBuyerService.

repeated int64 buyer_account_id = 8 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value long

The buyerAccountId to add.

Returns
Type Description
SearchAdReviewCenterAdsRequest.Builder

This builder for chaining.

addLabelIds(String value)

public SearchAdReviewCenterAdsRequest.Builder addLabelIds(String value)

Optional. If provided, restrict the search to creatives associated with the given custom label IDs.

repeated string label_ids = 18 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The labelIds to add.

Returns
Type Description
SearchAdReviewCenterAdsRequest.Builder

This builder for chaining.

addLabelIdsBytes(ByteString value)

public SearchAdReviewCenterAdsRequest.Builder addLabelIdsBytes(ByteString value)

Optional. If provided, restrict the search to creatives associated with the given custom label IDs.

repeated string label_ids = 18 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes of the labelIds to add.

Returns
Type Description
SearchAdReviewCenterAdsRequest.Builder

This builder for chaining.

addLanguageCodes(String value)

public SearchAdReviewCenterAdsRequest.Builder addLanguageCodes(String value)

Optional. If provided, restrict the search to creatives serving in the given language codes.

repeated string language_codes = 12 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The languageCodes to add.

Returns
Type Description
SearchAdReviewCenterAdsRequest.Builder

This builder for chaining.

addLanguageCodesBytes(ByteString value)

public SearchAdReviewCenterAdsRequest.Builder addLanguageCodesBytes(ByteString value)

Optional. If provided, restrict the search to creatives serving in the given language codes.

repeated string language_codes = 12 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes of the languageCodes to add.

Returns
Type Description
SearchAdReviewCenterAdsRequest.Builder

This builder for chaining.

addPublisherDomains(String value)

public SearchAdReviewCenterAdsRequest.Builder addPublisherDomains(String value)

Optional. If provided, restrict the search to creatives belonging to the given publisher domain.

repeated string publisher_domains = 16 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The publisherDomains to add.

Returns
Type Description
SearchAdReviewCenterAdsRequest.Builder

This builder for chaining.

addPublisherDomainsBytes(ByteString value)

public SearchAdReviewCenterAdsRequest.Builder addPublisherDomainsBytes(ByteString value)

Optional. If provided, restrict the search to creatives belonging to the given publisher domain.

repeated string publisher_domains = 16 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes of the publisherDomains to add.

Returns
Type Description
SearchAdReviewCenterAdsRequest.Builder

This builder for chaining.

addRegionCodes(String value)

public SearchAdReviewCenterAdsRequest.Builder addRegionCodes(String value)

Optional. If provided, restrict the search to creatives serving in the given region codes.

repeated string region_codes = 13 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The regionCodes to add.

Returns
Type Description
SearchAdReviewCenterAdsRequest.Builder

This builder for chaining.

addRegionCodesBytes(ByteString value)

public SearchAdReviewCenterAdsRequest.Builder addRegionCodesBytes(ByteString value)

Optional. If provided, restrict the search to creatives serving in the given region codes.

repeated string region_codes = 13 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes of the regionCodes to add.

Returns
Type Description
SearchAdReviewCenterAdsRequest.Builder

This builder for chaining.

addSearchText(String value)

public SearchAdReviewCenterAdsRequest.Builder addSearchText(String value)

Optional. If provided, restrict the search to AdReviewCenterAds associated with the text (including any text on the ad or in the destination URL). If more than one value is provided, the search will combine them in a logical AND. For example, ['car', 'blue'] will match ads that contain both "car" and "blue", but not an ad that only contains "car".

repeated string search_text = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The searchText to add.

Returns
Type Description
SearchAdReviewCenterAdsRequest.Builder

This builder for chaining.

addSearchTextBytes(ByteString value)

public SearchAdReviewCenterAdsRequest.Builder addSearchTextBytes(ByteString value)

Optional. If provided, restrict the search to AdReviewCenterAds associated with the text (including any text on the ad or in the destination URL). If more than one value is provided, the search will combine them in a logical AND. For example, ['car', 'blue'] will match ads that contain both "car" and "blue", but not an ad that only contains "car".

repeated string search_text = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes of the searchText to add.

Returns
Type Description
SearchAdReviewCenterAdsRequest.Builder

This builder for chaining.

build()

public SearchAdReviewCenterAdsRequest build()
Returns
Type Description
SearchAdReviewCenterAdsRequest

buildPartial()

public SearchAdReviewCenterAdsRequest buildPartial()
Returns
Type Description
SearchAdReviewCenterAdsRequest

clear()

public SearchAdReviewCenterAdsRequest.Builder clear()
Returns
Type Description
SearchAdReviewCenterAdsRequest.Builder
Overrides

clearAdResponseId()

public SearchAdReviewCenterAdsRequest.Builder clearAdResponseId()

Optional. If provided, only return ads with the given ad response IDs. This filter is exclusive and cannot be combined with any other filters. Maximum of 10 IDs can be specified.

repeated string ad_response_id = 10 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SearchAdReviewCenterAdsRequest.Builder

This builder for chaining.

clearAdReviewCenterAdId()

public SearchAdReviewCenterAdsRequest.Builder clearAdReviewCenterAdId()

Optional. Only return ads with the given AdReviewCenterAd IDs. If provided, no other filter can be set (other than page size and page token).

repeated string ad_review_center_ad_id = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SearchAdReviewCenterAdsRequest.Builder

This builder for chaining.

clearAdReviewStatus()

public SearchAdReviewCenterAdsRequest.Builder clearAdReviewStatus()
Returns
Type Description
SearchAdReviewCenterAdsRequest.Builder

clearAdTypes()

public SearchAdReviewCenterAdsRequest.Builder clearAdTypes()

Optional. If provided, restrict the search to creatives with the given ad types.

repeated .google.ads.admanager.v1.ArcCreativeFormatEnum.ArcCreativeFormat ad_types = 14 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SearchAdReviewCenterAdsRequest.Builder

This builder for chaining.

clearAdvertiserApps()

public SearchAdReviewCenterAdsRequest.Builder clearAdvertiserApps()

Optional. If provided, restrict the search to creatives promoting the given app.

repeated string advertiser_apps = 15 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SearchAdReviewCenterAdsRequest.Builder

This builder for chaining.

clearAdvertiserDisplayNames()

public SearchAdReviewCenterAdsRequest.Builder clearAdvertiserDisplayNames()

Optional. If provided, restrict the search to creatives with the given advertiser names.

repeated string advertiser_display_names = 11 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SearchAdReviewCenterAdsRequest.Builder

This builder for chaining.

clearBuyerAccountId()

public SearchAdReviewCenterAdsRequest.Builder clearBuyerAccountId()

Optional. If provided, restrict the search to creatives belonging to one of the given Adx buyer account IDs. Only applicable to RTB creatives. Adx buyer account IDs can be found using the ProgrammaticBuyerService.

repeated int64 buyer_account_id = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SearchAdReviewCenterAdsRequest.Builder

This builder for chaining.

clearDateTimeRange()

public SearchAdReviewCenterAdsRequest.Builder clearDateTimeRange()

Optional. If provided, only return ads that served within the given date range (inclusive). The date range must be within the last 30 days. If not provided, the date range will be the last 30 days.

.google.type.Interval date_time_range = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SearchAdReviewCenterAdsRequest.Builder

clearLabelIds()

public SearchAdReviewCenterAdsRequest.Builder clearLabelIds()

Optional. If provided, restrict the search to creatives associated with the given custom label IDs.

repeated string label_ids = 18 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SearchAdReviewCenterAdsRequest.Builder

This builder for chaining.

clearLanguageCodes()

public SearchAdReviewCenterAdsRequest.Builder clearLanguageCodes()

Optional. If provided, restrict the search to creatives serving in the given language codes.

repeated string language_codes = 12 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SearchAdReviewCenterAdsRequest.Builder

This builder for chaining.

clearManualReviewStatus()

public SearchAdReviewCenterAdsRequest.Builder clearManualReviewStatus()

Optional. Only return ads with the given manual review status. Use this filter for web properties where Manual Creative Review (MCR) is enabled.

.google.ads.admanager.v1.ManualAdReviewCenterAdStatusEnum.ManualAdReviewCenterAdStatus manual_review_status = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SearchAdReviewCenterAdsRequest.Builder

This builder for chaining.

clearNewInLastDays()

public SearchAdReviewCenterAdsRequest.Builder clearNewInLastDays()

Optional. If provided, restrict the search to creatives which appeared for the first time within the past X days. Must be within the last 30 days (1 to 30, inclusive).

optional int32 new_in_last_days = 17 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SearchAdReviewCenterAdsRequest.Builder

This builder for chaining.

clearPageSize()

public SearchAdReviewCenterAdsRequest.Builder clearPageSize()

Optional. The maximum number of AdReviewCenterAds to return. The service may return fewer than this value. If unspecified, at most 50 AdReviewCenterAds will be returned. The maximum value is 1000; values greater than 1000 will be coerced to 1000.

int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SearchAdReviewCenterAdsRequest.Builder

This builder for chaining.

clearPageToken()

public SearchAdReviewCenterAdsRequest.Builder clearPageToken()

Optional. The page token to fetch the next page of AdReviewCenterAds. This is the value returned from a previous Search request, or empty.

string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SearchAdReviewCenterAdsRequest.Builder

This builder for chaining.

clearParent()

public SearchAdReviewCenterAdsRequest.Builder clearParent()

Required. The parent, which owns this collection of AdReviewCenterAds. Format: networks/{network_code}/webProperties/{web_property_code}

Since a network can only have a single web property of each ExchangeSyndicationProduct, you can use the ExchangeSyndicationProduct as an alias for the web property code:

networks/{network_code}/webProperties/display

networks/{network_code}/webProperties/videoAndAudio

networks/{network_code}/webProperties/mobileApp

networks/{network_code}/webProperties/games

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

Returns
Type Description
SearchAdReviewCenterAdsRequest.Builder

This builder for chaining.

clearPublisherDomains()

public SearchAdReviewCenterAdsRequest.Builder clearPublisherDomains()

Optional. If provided, restrict the search to creatives belonging to the given publisher domain.

repeated string publisher_domains = 16 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SearchAdReviewCenterAdsRequest.Builder

This builder for chaining.

clearRegionCodes()

public SearchAdReviewCenterAdsRequest.Builder clearRegionCodes()

Optional. If provided, restrict the search to creatives serving in the given region codes.

repeated string region_codes = 13 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SearchAdReviewCenterAdsRequest.Builder

This builder for chaining.

clearSearchText()

public SearchAdReviewCenterAdsRequest.Builder clearSearchText()

Optional. If provided, restrict the search to AdReviewCenterAds associated with the text (including any text on the ad or in the destination URL). If more than one value is provided, the search will combine them in a logical AND. For example, ['car', 'blue'] will match ads that contain both "car" and "blue", but not an ad that only contains "car".

repeated string search_text = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SearchAdReviewCenterAdsRequest.Builder

This builder for chaining.

clearStatus()

public SearchAdReviewCenterAdsRequest.Builder clearStatus()

Optional. Only return ads with the given status. Use this filter for web properties where Manual Creative Review (MCR) is not enabled.

.google.ads.admanager.v1.AdReviewCenterAdStatusEnum.AdReviewCenterAdStatus status = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SearchAdReviewCenterAdsRequest.Builder

This builder for chaining.

getAdResponseId(int index)

public String getAdResponseId(int index)

Optional. If provided, only return ads with the given ad response IDs. This filter is exclusive and cannot be combined with any other filters. Maximum of 10 IDs can be specified.

repeated string ad_response_id = 10 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The adResponseId at the given index.

getAdResponseIdBytes(int index)

public ByteString getAdResponseIdBytes(int index)

Optional. If provided, only return ads with the given ad response IDs. This filter is exclusive and cannot be combined with any other filters. Maximum of 10 IDs can be specified.

repeated string ad_response_id = 10 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the adResponseId at the given index.

getAdResponseIdCount()

public int getAdResponseIdCount()

Optional. If provided, only return ads with the given ad response IDs. This filter is exclusive and cannot be combined with any other filters. Maximum of 10 IDs can be specified.

repeated string ad_response_id = 10 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The count of adResponseId.

getAdResponseIdList()

public ProtocolStringList getAdResponseIdList()

Optional. If provided, only return ads with the given ad response IDs. This filter is exclusive and cannot be combined with any other filters. Maximum of 10 IDs can be specified.

repeated string ad_response_id = 10 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ProtocolStringList

A list containing the adResponseId.

getAdReviewCenterAdId(int index)

public String getAdReviewCenterAdId(int index)

Optional. Only return ads with the given AdReviewCenterAd IDs. If provided, no other filter can be set (other than page size and page token).

repeated string ad_review_center_ad_id = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The adReviewCenterAdId at the given index.

getAdReviewCenterAdIdBytes(int index)

public ByteString getAdReviewCenterAdIdBytes(int index)

Optional. Only return ads with the given AdReviewCenterAd IDs. If provided, no other filter can be set (other than page size and page token).

repeated string ad_review_center_ad_id = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the adReviewCenterAdId at the given index.

getAdReviewCenterAdIdCount()

public int getAdReviewCenterAdIdCount()

Optional. Only return ads with the given AdReviewCenterAd IDs. If provided, no other filter can be set (other than page size and page token).

repeated string ad_review_center_ad_id = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The count of adReviewCenterAdId.

getAdReviewCenterAdIdList()

public ProtocolStringList getAdReviewCenterAdIdList()

Optional. Only return ads with the given AdReviewCenterAd IDs. If provided, no other filter can be set (other than page size and page token).

repeated string ad_review_center_ad_id = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ProtocolStringList

A list containing the adReviewCenterAdId.

getAdReviewStatusCase()

public SearchAdReviewCenterAdsRequest.AdReviewStatusCase getAdReviewStatusCase()
Returns
Type Description
SearchAdReviewCenterAdsRequest.AdReviewStatusCase

getAdTypes(int index)

public ArcCreativeFormatEnum.ArcCreativeFormat getAdTypes(int index)

Optional. If provided, restrict the search to creatives with the given ad types.

repeated .google.ads.admanager.v1.ArcCreativeFormatEnum.ArcCreativeFormat ad_types = 14 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
ArcCreativeFormatEnum.ArcCreativeFormat

The adTypes at the given index.

getAdTypesCount()

public int getAdTypesCount()

Optional. If provided, restrict the search to creatives with the given ad types.

repeated .google.ads.admanager.v1.ArcCreativeFormatEnum.ArcCreativeFormat ad_types = 14 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The count of adTypes.

getAdTypesList()

public List<ArcCreativeFormatEnum.ArcCreativeFormat> getAdTypesList()

Optional. If provided, restrict the search to creatives with the given ad types.

repeated .google.ads.admanager.v1.ArcCreativeFormatEnum.ArcCreativeFormat ad_types = 14 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<ArcCreativeFormat>

A list containing the adTypes.

getAdTypesValue(int index)

public int getAdTypesValue(int index)

Optional. If provided, restrict the search to creatives with the given ad types.

repeated .google.ads.admanager.v1.ArcCreativeFormatEnum.ArcCreativeFormat ad_types = 14 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
int

The enum numeric value on the wire of adTypes at the given index.

getAdTypesValueList()

public List<Integer> getAdTypesValueList()

Optional. If provided, restrict the search to creatives with the given ad types.

repeated .google.ads.admanager.v1.ArcCreativeFormatEnum.ArcCreativeFormat ad_types = 14 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<Integer>

A list containing the enum numeric values on the wire for adTypes.

getAdvertiserApps(int index)

public String getAdvertiserApps(int index)

Optional. If provided, restrict the search to creatives promoting the given app.

repeated string advertiser_apps = 15 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The advertiserApps at the given index.

getAdvertiserAppsBytes(int index)

public ByteString getAdvertiserAppsBytes(int index)

Optional. If provided, restrict the search to creatives promoting the given app.

repeated string advertiser_apps = 15 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the advertiserApps at the given index.

getAdvertiserAppsCount()

public int getAdvertiserAppsCount()

Optional. If provided, restrict the search to creatives promoting the given app.

repeated string advertiser_apps = 15 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The count of advertiserApps.

getAdvertiserAppsList()

public ProtocolStringList getAdvertiserAppsList()

Optional. If provided, restrict the search to creatives promoting the given app.

repeated string advertiser_apps = 15 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ProtocolStringList

A list containing the advertiserApps.

getAdvertiserDisplayNames(int index)

public String getAdvertiserDisplayNames(int index)

Optional. If provided, restrict the search to creatives with the given advertiser names.

repeated string advertiser_display_names = 11 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The advertiserDisplayNames at the given index.

getAdvertiserDisplayNamesBytes(int index)

public ByteString getAdvertiserDisplayNamesBytes(int index)

Optional. If provided, restrict the search to creatives with the given advertiser names.

repeated string advertiser_display_names = 11 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the advertiserDisplayNames at the given index.

getAdvertiserDisplayNamesCount()

public int getAdvertiserDisplayNamesCount()

Optional. If provided, restrict the search to creatives with the given advertiser names.

repeated string advertiser_display_names = 11 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The count of advertiserDisplayNames.

getAdvertiserDisplayNamesList()

public ProtocolStringList getAdvertiserDisplayNamesList()

Optional. If provided, restrict the search to creatives with the given advertiser names.

repeated string advertiser_display_names = 11 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ProtocolStringList

A list containing the advertiserDisplayNames.

getBuyerAccountId(int index)

public long getBuyerAccountId(int index)

Optional. If provided, restrict the search to creatives belonging to one of the given Adx buyer account IDs. Only applicable to RTB creatives. Adx buyer account IDs can be found using the ProgrammaticBuyerService.

repeated int64 buyer_account_id = 8 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
long

The buyerAccountId at the given index.

getBuyerAccountIdCount()

public int getBuyerAccountIdCount()

Optional. If provided, restrict the search to creatives belonging to one of the given Adx buyer account IDs. Only applicable to RTB creatives. Adx buyer account IDs can be found using the ProgrammaticBuyerService.

repeated int64 buyer_account_id = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The count of buyerAccountId.

getBuyerAccountIdList()

public List<Long> getBuyerAccountIdList()

Optional. If provided, restrict the search to creatives belonging to one of the given Adx buyer account IDs. Only applicable to RTB creatives. Adx buyer account IDs can be found using the ProgrammaticBuyerService.

repeated int64 buyer_account_id = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<Long>

A list containing the buyerAccountId.

getDateTimeRange()

public Interval getDateTimeRange()

Optional. If provided, only return ads that served within the given date range (inclusive). The date range must be within the last 30 days. If not provided, the date range will be the last 30 days.

.google.type.Interval date_time_range = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
com.google.type.Interval

The dateTimeRange.

getDateTimeRangeBuilder()

public Interval.Builder getDateTimeRangeBuilder()

Optional. If provided, only return ads that served within the given date range (inclusive). The date range must be within the last 30 days. If not provided, the date range will be the last 30 days.

.google.type.Interval date_time_range = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
com.google.type.Interval.Builder

getDateTimeRangeOrBuilder()

public IntervalOrBuilder getDateTimeRangeOrBuilder()

Optional. If provided, only return ads that served within the given date range (inclusive). The date range must be within the last 30 days. If not provided, the date range will be the last 30 days.

.google.type.Interval date_time_range = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
com.google.type.IntervalOrBuilder

getDefaultInstanceForType()

public SearchAdReviewCenterAdsRequest getDefaultInstanceForType()
Returns
Type Description
SearchAdReviewCenterAdsRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getLabelIds(int index)

public String getLabelIds(int index)

Optional. If provided, restrict the search to creatives associated with the given custom label IDs.

repeated string label_ids = 18 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The labelIds at the given index.

getLabelIdsBytes(int index)

public ByteString getLabelIdsBytes(int index)

Optional. If provided, restrict the search to creatives associated with the given custom label IDs.

repeated string label_ids = 18 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the labelIds at the given index.

getLabelIdsCount()

public int getLabelIdsCount()

Optional. If provided, restrict the search to creatives associated with the given custom label IDs.

repeated string label_ids = 18 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The count of labelIds.

getLabelIdsList()

public ProtocolStringList getLabelIdsList()

Optional. If provided, restrict the search to creatives associated with the given custom label IDs.

repeated string label_ids = 18 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ProtocolStringList

A list containing the labelIds.

getLanguageCodes(int index)

public String getLanguageCodes(int index)

Optional. If provided, restrict the search to creatives serving in the given language codes.

repeated string language_codes = 12 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The languageCodes at the given index.

getLanguageCodesBytes(int index)

public ByteString getLanguageCodesBytes(int index)

Optional. If provided, restrict the search to creatives serving in the given language codes.

repeated string language_codes = 12 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the languageCodes at the given index.

getLanguageCodesCount()

public int getLanguageCodesCount()

Optional. If provided, restrict the search to creatives serving in the given language codes.

repeated string language_codes = 12 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The count of languageCodes.

getLanguageCodesList()

public ProtocolStringList getLanguageCodesList()

Optional. If provided, restrict the search to creatives serving in the given language codes.

repeated string language_codes = 12 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ProtocolStringList

A list containing the languageCodes.

getManualReviewStatus()

public ManualAdReviewCenterAdStatusEnum.ManualAdReviewCenterAdStatus getManualReviewStatus()

Optional. Only return ads with the given manual review status. Use this filter for web properties where Manual Creative Review (MCR) is enabled.

.google.ads.admanager.v1.ManualAdReviewCenterAdStatusEnum.ManualAdReviewCenterAdStatus manual_review_status = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ManualAdReviewCenterAdStatusEnum.ManualAdReviewCenterAdStatus

The manualReviewStatus.

getManualReviewStatusValue()

public int getManualReviewStatusValue()

Optional. Only return ads with the given manual review status. Use this filter for web properties where Manual Creative Review (MCR) is enabled.

.google.ads.admanager.v1.ManualAdReviewCenterAdStatusEnum.ManualAdReviewCenterAdStatus manual_review_status = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for manualReviewStatus.

getNewInLastDays()

public int getNewInLastDays()

Optional. If provided, restrict the search to creatives which appeared for the first time within the past X days. Must be within the last 30 days (1 to 30, inclusive).

optional int32 new_in_last_days = 17 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The newInLastDays.

getPageSize()

public int getPageSize()

Optional. The maximum number of AdReviewCenterAds to return. The service may return fewer than this value. If unspecified, at most 50 AdReviewCenterAds will be returned. The maximum value is 1000; values greater than 1000 will be coerced to 1000.

int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The pageSize.

getPageToken()

public String getPageToken()

Optional. The page token to fetch the next page of AdReviewCenterAds. This is the value returned from a previous Search request, or empty.

string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The pageToken.

getPageTokenBytes()

public ByteString getPageTokenBytes()

Optional. The page token to fetch the next page of AdReviewCenterAds. This is the value returned from a previous Search request, or empty.

string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for pageToken.

getParent()

public String getParent()

Required. The parent, which owns this collection of AdReviewCenterAds. Format: networks/{network_code}/webProperties/{web_property_code}

Since a network can only have a single web property of each ExchangeSyndicationProduct, you can use the ExchangeSyndicationProduct as an alias for the web property code:

networks/{network_code}/webProperties/display

networks/{network_code}/webProperties/videoAndAudio

networks/{network_code}/webProperties/mobileApp

networks/{network_code}/webProperties/games

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

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The parent, which owns this collection of AdReviewCenterAds. Format: networks/{network_code}/webProperties/{web_property_code}

Since a network can only have a single web property of each ExchangeSyndicationProduct, you can use the ExchangeSyndicationProduct as an alias for the web property code:

networks/{network_code}/webProperties/display

networks/{network_code}/webProperties/videoAndAudio

networks/{network_code}/webProperties/mobileApp

networks/{network_code}/webProperties/games

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

Returns
Type Description
ByteString

The bytes for parent.

getPublisherDomains(int index)

public String getPublisherDomains(int index)

Optional. If provided, restrict the search to creatives belonging to the given publisher domain.

repeated string publisher_domains = 16 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The publisherDomains at the given index.

getPublisherDomainsBytes(int index)

public ByteString getPublisherDomainsBytes(int index)

Optional. If provided, restrict the search to creatives belonging to the given publisher domain.

repeated string publisher_domains = 16 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the publisherDomains at the given index.

getPublisherDomainsCount()

public int getPublisherDomainsCount()

Optional. If provided, restrict the search to creatives belonging to the given publisher domain.

repeated string publisher_domains = 16 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The count of publisherDomains.

getPublisherDomainsList()

public ProtocolStringList getPublisherDomainsList()

Optional. If provided, restrict the search to creatives belonging to the given publisher domain.

repeated string publisher_domains = 16 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ProtocolStringList

A list containing the publisherDomains.

getRegionCodes(int index)

public String getRegionCodes(int index)

Optional. If provided, restrict the search to creatives serving in the given region codes.

repeated string region_codes = 13 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The regionCodes at the given index.

getRegionCodesBytes(int index)

public ByteString getRegionCodesBytes(int index)

Optional. If provided, restrict the search to creatives serving in the given region codes.

repeated string region_codes = 13 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the regionCodes at the given index.

getRegionCodesCount()

public int getRegionCodesCount()

Optional. If provided, restrict the search to creatives serving in the given region codes.

repeated string region_codes = 13 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The count of regionCodes.

getRegionCodesList()

public ProtocolStringList getRegionCodesList()

Optional. If provided, restrict the search to creatives serving in the given region codes.

repeated string region_codes = 13 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ProtocolStringList

A list containing the regionCodes.

getSearchText(int index)

public String getSearchText(int index)

Optional. If provided, restrict the search to AdReviewCenterAds associated with the text (including any text on the ad or in the destination URL). If more than one value is provided, the search will combine them in a logical AND. For example, ['car', 'blue'] will match ads that contain both "car" and "blue", but not an ad that only contains "car".

repeated string search_text = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The searchText at the given index.

getSearchTextBytes(int index)

public ByteString getSearchTextBytes(int index)

Optional. If provided, restrict the search to AdReviewCenterAds associated with the text (including any text on the ad or in the destination URL). If more than one value is provided, the search will combine them in a logical AND. For example, ['car', 'blue'] will match ads that contain both "car" and "blue", but not an ad that only contains "car".

repeated string search_text = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the searchText at the given index.

getSearchTextCount()

public int getSearchTextCount()

Optional. If provided, restrict the search to AdReviewCenterAds associated with the text (including any text on the ad or in the destination URL). If more than one value is provided, the search will combine them in a logical AND. For example, ['car', 'blue'] will match ads that contain both "car" and "blue", but not an ad that only contains "car".

repeated string search_text = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The count of searchText.

getSearchTextList()

public ProtocolStringList getSearchTextList()

Optional. If provided, restrict the search to AdReviewCenterAds associated with the text (including any text on the ad or in the destination URL). If more than one value is provided, the search will combine them in a logical AND. For example, ['car', 'blue'] will match ads that contain both "car" and "blue", but not an ad that only contains "car".

repeated string search_text = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ProtocolStringList

A list containing the searchText.

getStatus()

public AdReviewCenterAdStatusEnum.AdReviewCenterAdStatus getStatus()

Optional. Only return ads with the given status. Use this filter for web properties where Manual Creative Review (MCR) is not enabled.

.google.ads.admanager.v1.AdReviewCenterAdStatusEnum.AdReviewCenterAdStatus status = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AdReviewCenterAdStatusEnum.AdReviewCenterAdStatus

The status.

getStatusValue()

public int getStatusValue()

Optional. Only return ads with the given status. Use this filter for web properties where Manual Creative Review (MCR) is not enabled.

.google.ads.admanager.v1.AdReviewCenterAdStatusEnum.AdReviewCenterAdStatus status = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for status.

hasDateTimeRange()

public boolean hasDateTimeRange()

Optional. If provided, only return ads that served within the given date range (inclusive). The date range must be within the last 30 days. If not provided, the date range will be the last 30 days.

.google.type.Interval date_time_range = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the dateTimeRange field is set.

hasManualReviewStatus()

public boolean hasManualReviewStatus()

Optional. Only return ads with the given manual review status. Use this filter for web properties where Manual Creative Review (MCR) is enabled.

.google.ads.admanager.v1.ManualAdReviewCenterAdStatusEnum.ManualAdReviewCenterAdStatus manual_review_status = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the manualReviewStatus field is set.

hasNewInLastDays()

public boolean hasNewInLastDays()

Optional. If provided, restrict the search to creatives which appeared for the first time within the past X days. Must be within the last 30 days (1 to 30, inclusive).

optional int32 new_in_last_days = 17 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the newInLastDays field is set.

hasStatus()

public boolean hasStatus()

Optional. Only return ads with the given status. Use this filter for web properties where Manual Creative Review (MCR) is not enabled.

.google.ads.admanager.v1.AdReviewCenterAdStatusEnum.AdReviewCenterAdStatus status = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the status field is set.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeDateTimeRange(Interval value)

public SearchAdReviewCenterAdsRequest.Builder mergeDateTimeRange(Interval value)

Optional. If provided, only return ads that served within the given date range (inclusive). The date range must be within the last 30 days. If not provided, the date range will be the last 30 days.

.google.type.Interval date_time_range = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value com.google.type.Interval
Returns
Type Description
SearchAdReviewCenterAdsRequest.Builder

mergeFrom(SearchAdReviewCenterAdsRequest other)

public SearchAdReviewCenterAdsRequest.Builder mergeFrom(SearchAdReviewCenterAdsRequest other)
Parameter
Name Description
other SearchAdReviewCenterAdsRequest
Returns
Type Description
SearchAdReviewCenterAdsRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SearchAdReviewCenterAdsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SearchAdReviewCenterAdsRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public SearchAdReviewCenterAdsRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
SearchAdReviewCenterAdsRequest.Builder
Overrides

setAdResponseId(int index, String value)

public SearchAdReviewCenterAdsRequest.Builder setAdResponseId(int index, String value)

Optional. If provided, only return ads with the given ad response IDs. This filter is exclusive and cannot be combined with any other filters. Maximum of 10 IDs can be specified.

repeated string ad_response_id = 10 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int

The index to set the value at.

value String

The adResponseId to set.

Returns
Type Description
SearchAdReviewCenterAdsRequest.Builder

This builder for chaining.

setAdReviewCenterAdId(int index, String value)

public SearchAdReviewCenterAdsRequest.Builder setAdReviewCenterAdId(int index, String value)

Optional. Only return ads with the given AdReviewCenterAd IDs. If provided, no other filter can be set (other than page size and page token).

repeated string ad_review_center_ad_id = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int

The index to set the value at.

value String

The adReviewCenterAdId to set.

Returns
Type Description
SearchAdReviewCenterAdsRequest.Builder

This builder for chaining.

setAdTypes(int index, ArcCreativeFormatEnum.ArcCreativeFormat value)

public SearchAdReviewCenterAdsRequest.Builder setAdTypes(int index, ArcCreativeFormatEnum.ArcCreativeFormat value)

Optional. If provided, restrict the search to creatives with the given ad types.

repeated .google.ads.admanager.v1.ArcCreativeFormatEnum.ArcCreativeFormat ad_types = 14 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int

The index to set the value at.

value ArcCreativeFormatEnum.ArcCreativeFormat

The adTypes to set.

Returns
Type Description
SearchAdReviewCenterAdsRequest.Builder

This builder for chaining.

setAdTypesValue(int index, int value)

public SearchAdReviewCenterAdsRequest.Builder setAdTypesValue(int index, int value)

Optional. If provided, restrict the search to creatives with the given ad types.

repeated .google.ads.admanager.v1.ArcCreativeFormatEnum.ArcCreativeFormat ad_types = 14 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int

The index to set the value at.

value int

The enum numeric value on the wire for adTypes to set.

Returns
Type Description
SearchAdReviewCenterAdsRequest.Builder

This builder for chaining.

setAdvertiserApps(int index, String value)

public SearchAdReviewCenterAdsRequest.Builder setAdvertiserApps(int index, String value)

Optional. If provided, restrict the search to creatives promoting the given app.

repeated string advertiser_apps = 15 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int

The index to set the value at.

value String

The advertiserApps to set.

Returns
Type Description
SearchAdReviewCenterAdsRequest.Builder

This builder for chaining.

setAdvertiserDisplayNames(int index, String value)

public SearchAdReviewCenterAdsRequest.Builder setAdvertiserDisplayNames(int index, String value)

Optional. If provided, restrict the search to creatives with the given advertiser names.

repeated string advertiser_display_names = 11 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int

The index to set the value at.

value String

The advertiserDisplayNames to set.

Returns
Type Description
SearchAdReviewCenterAdsRequest.Builder

This builder for chaining.

setBuyerAccountId(int index, long value)

public SearchAdReviewCenterAdsRequest.Builder setBuyerAccountId(int index, long value)

Optional. If provided, restrict the search to creatives belonging to one of the given Adx buyer account IDs. Only applicable to RTB creatives. Adx buyer account IDs can be found using the ProgrammaticBuyerService.

repeated int64 buyer_account_id = 8 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int

The index to set the value at.

value long

The buyerAccountId to set.

Returns
Type Description
SearchAdReviewCenterAdsRequest.Builder

This builder for chaining.

setDateTimeRange(Interval value)

public SearchAdReviewCenterAdsRequest.Builder setDateTimeRange(Interval value)

Optional. If provided, only return ads that served within the given date range (inclusive). The date range must be within the last 30 days. If not provided, the date range will be the last 30 days.

.google.type.Interval date_time_range = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value com.google.type.Interval
Returns
Type Description
SearchAdReviewCenterAdsRequest.Builder

setDateTimeRange(Interval.Builder builderForValue)

public SearchAdReviewCenterAdsRequest.Builder setDateTimeRange(Interval.Builder builderForValue)

Optional. If provided, only return ads that served within the given date range (inclusive). The date range must be within the last 30 days. If not provided, the date range will be the last 30 days.

.google.type.Interval date_time_range = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue com.google.type.Interval.Builder
Returns
Type Description
SearchAdReviewCenterAdsRequest.Builder

setLabelIds(int index, String value)

public SearchAdReviewCenterAdsRequest.Builder setLabelIds(int index, String value)

Optional. If provided, restrict the search to creatives associated with the given custom label IDs.

repeated string label_ids = 18 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int

The index to set the value at.

value String

The labelIds to set.

Returns
Type Description
SearchAdReviewCenterAdsRequest.Builder

This builder for chaining.

setLanguageCodes(int index, String value)

public SearchAdReviewCenterAdsRequest.Builder setLanguageCodes(int index, String value)

Optional. If provided, restrict the search to creatives serving in the given language codes.

repeated string language_codes = 12 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int

The index to set the value at.

value String

The languageCodes to set.

Returns
Type Description
SearchAdReviewCenterAdsRequest.Builder

This builder for chaining.

setManualReviewStatus(ManualAdReviewCenterAdStatusEnum.ManualAdReviewCenterAdStatus value)

public SearchAdReviewCenterAdsRequest.Builder setManualReviewStatus(ManualAdReviewCenterAdStatusEnum.ManualAdReviewCenterAdStatus value)

Optional. Only return ads with the given manual review status. Use this filter for web properties where Manual Creative Review (MCR) is enabled.

.google.ads.admanager.v1.ManualAdReviewCenterAdStatusEnum.ManualAdReviewCenterAdStatus manual_review_status = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ManualAdReviewCenterAdStatusEnum.ManualAdReviewCenterAdStatus

The manualReviewStatus to set.

Returns
Type Description
SearchAdReviewCenterAdsRequest.Builder

This builder for chaining.

setManualReviewStatusValue(int value)

public SearchAdReviewCenterAdsRequest.Builder setManualReviewStatusValue(int value)

Optional. Only return ads with the given manual review status. Use this filter for web properties where Manual Creative Review (MCR) is enabled.

.google.ads.admanager.v1.ManualAdReviewCenterAdStatusEnum.ManualAdReviewCenterAdStatus manual_review_status = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value int

The enum numeric value on the wire for manualReviewStatus to set.

Returns
Type Description
SearchAdReviewCenterAdsRequest.Builder

This builder for chaining.

setNewInLastDays(int value)

public SearchAdReviewCenterAdsRequest.Builder setNewInLastDays(int value)

Optional. If provided, restrict the search to creatives which appeared for the first time within the past X days. Must be within the last 30 days (1 to 30, inclusive).

optional int32 new_in_last_days = 17 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value int

The newInLastDays to set.

Returns
Type Description
SearchAdReviewCenterAdsRequest.Builder

This builder for chaining.

setPageSize(int value)

public SearchAdReviewCenterAdsRequest.Builder setPageSize(int value)

Optional. The maximum number of AdReviewCenterAds to return. The service may return fewer than this value. If unspecified, at most 50 AdReviewCenterAds will be returned. The maximum value is 1000; values greater than 1000 will be coerced to 1000.

int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value int

The pageSize to set.

Returns
Type Description
SearchAdReviewCenterAdsRequest.Builder

This builder for chaining.

setPageToken(String value)

public SearchAdReviewCenterAdsRequest.Builder setPageToken(String value)

Optional. The page token to fetch the next page of AdReviewCenterAds. This is the value returned from a previous Search request, or empty.

string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The pageToken to set.

Returns
Type Description
SearchAdReviewCenterAdsRequest.Builder

This builder for chaining.

setPageTokenBytes(ByteString value)

public SearchAdReviewCenterAdsRequest.Builder setPageTokenBytes(ByteString value)

Optional. The page token to fetch the next page of AdReviewCenterAds. This is the value returned from a previous Search request, or empty.

string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for pageToken to set.

Returns
Type Description
SearchAdReviewCenterAdsRequest.Builder

This builder for chaining.

setParent(String value)

public SearchAdReviewCenterAdsRequest.Builder setParent(String value)

Required. The parent, which owns this collection of AdReviewCenterAds. Format: networks/{network_code}/webProperties/{web_property_code}

Since a network can only have a single web property of each ExchangeSyndicationProduct, you can use the ExchangeSyndicationProduct as an alias for the web property code:

networks/{network_code}/webProperties/display

networks/{network_code}/webProperties/videoAndAudio

networks/{network_code}/webProperties/mobileApp

networks/{network_code}/webProperties/games

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

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
SearchAdReviewCenterAdsRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public SearchAdReviewCenterAdsRequest.Builder setParentBytes(ByteString value)

Required. The parent, which owns this collection of AdReviewCenterAds. Format: networks/{network_code}/webProperties/{web_property_code}

Since a network can only have a single web property of each ExchangeSyndicationProduct, you can use the ExchangeSyndicationProduct as an alias for the web property code:

networks/{network_code}/webProperties/display

networks/{network_code}/webProperties/videoAndAudio

networks/{network_code}/webProperties/mobileApp

networks/{network_code}/webProperties/games

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

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
SearchAdReviewCenterAdsRequest.Builder

This builder for chaining.

setPublisherDomains(int index, String value)

public SearchAdReviewCenterAdsRequest.Builder setPublisherDomains(int index, String value)

Optional. If provided, restrict the search to creatives belonging to the given publisher domain.

repeated string publisher_domains = 16 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int

The index to set the value at.

value String

The publisherDomains to set.

Returns
Type Description
SearchAdReviewCenterAdsRequest.Builder

This builder for chaining.

setRegionCodes(int index, String value)

public SearchAdReviewCenterAdsRequest.Builder setRegionCodes(int index, String value)

Optional. If provided, restrict the search to creatives serving in the given region codes.

repeated string region_codes = 13 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int

The index to set the value at.

value String

The regionCodes to set.

Returns
Type Description
SearchAdReviewCenterAdsRequest.Builder

This builder for chaining.

setSearchText(int index, String value)

public SearchAdReviewCenterAdsRequest.Builder setSearchText(int index, String value)

Optional. If provided, restrict the search to AdReviewCenterAds associated with the text (including any text on the ad or in the destination URL). If more than one value is provided, the search will combine them in a logical AND. For example, ['car', 'blue'] will match ads that contain both "car" and "blue", but not an ad that only contains "car".

repeated string search_text = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int

The index to set the value at.

value String

The searchText to set.

Returns
Type Description
SearchAdReviewCenterAdsRequest.Builder

This builder for chaining.

setStatus(AdReviewCenterAdStatusEnum.AdReviewCenterAdStatus value)

public SearchAdReviewCenterAdsRequest.Builder setStatus(AdReviewCenterAdStatusEnum.AdReviewCenterAdStatus value)

Optional. Only return ads with the given status. Use this filter for web properties where Manual Creative Review (MCR) is not enabled.

.google.ads.admanager.v1.AdReviewCenterAdStatusEnum.AdReviewCenterAdStatus status = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value AdReviewCenterAdStatusEnum.AdReviewCenterAdStatus

The status to set.

Returns
Type Description
SearchAdReviewCenterAdsRequest.Builder

This builder for chaining.

setStatusValue(int value)

public SearchAdReviewCenterAdsRequest.Builder setStatusValue(int value)

Optional. Only return ads with the given status. Use this filter for web properties where Manual Creative Review (MCR) is not enabled.

.google.ads.admanager.v1.AdReviewCenterAdStatusEnum.AdReviewCenterAdStatus status = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value int

The enum numeric value on the wire for status to set.

Returns
Type Description
SearchAdReviewCenterAdsRequest.Builder

This builder for chaining.