public static final class SearchAdReviewCenterAdsRequest.Builder extends GeneratedMessageV3.Builder<SearchAdReviewCenterAdsRequest.Builder> implements SearchAdReviewCenterAdsRequestOrBuilder Request object for SearchAdReviewCenterAds method.
Protobuf type google.ads.admanager.v1.SearchAdReviewCenterAdsRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > SearchAdReviewCenterAdsRequest.BuilderImplements
SearchAdReviewCenterAdsRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAdReviewCenterAdId(String value)
public SearchAdReviewCenterAdsRequest.Builder addAdReviewCenterAdId(String value)Optional. If provided, only return ads with the given AdReviewCenterAd IDs.
repeated string ad_review_center_ad_id = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe adReviewCenterAdId to add. |
| Returns | |
|---|---|
| Type | Description |
SearchAdReviewCenterAdsRequest.Builder |
This builder for chaining. |
addAdReviewCenterAdIdBytes(ByteString value)
public SearchAdReviewCenterAdsRequest.Builder addAdReviewCenterAdIdBytes(ByteString value)Optional. If provided, only return ads with the given AdReviewCenterAd IDs.
repeated string ad_review_center_ad_id = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes of the adReviewCenterAdId to add. |
| Returns | |
|---|---|
| Type | Description |
SearchAdReviewCenterAdsRequest.Builder |
This builder for chaining. |
addAllAdReviewCenterAdId(Iterable<String> values)
public SearchAdReviewCenterAdsRequest.Builder addAllAdReviewCenterAdId(Iterable<String> values)Optional. If provided, only return ads with the given AdReviewCenterAd IDs.
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. |
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 via 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. |
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 via the ProgrammaticBuyerService.
repeated int64 buyer_account_id = 8 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
longThe buyerAccountId to add. |
| Returns | |
|---|---|
| Type | Description |
SearchAdReviewCenterAdsRequest.Builder |
This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SearchAdReviewCenterAdsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
SearchAdReviewCenterAdsRequest.Builder |
|
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 |
StringThe 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 |
ByteStringThe 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 |
|
clearAdReviewCenterAdId()
public SearchAdReviewCenterAdsRequest.Builder clearAdReviewCenterAdId()Optional. If provided, only return ads with the given AdReviewCenterAd IDs.
repeated string ad_review_center_ad_id = 5 [(.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 via 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 |
|
clearField(Descriptors.FieldDescriptor field)
public SearchAdReviewCenterAdsRequest.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
SearchAdReviewCenterAdsRequest.Builder |
|
clearOneof(Descriptors.OneofDescriptor oneof)
public SearchAdReviewCenterAdsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
SearchAdReviewCenterAdsRequest.Builder |
|
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. |
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()Required. Only return ads with the given status.
.google.ads.admanager.v1.AdReviewCenterAdStatusEnum.AdReviewCenterAdStatus status = 4 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
SearchAdReviewCenterAdsRequest.Builder |
This builder for chaining. |
clone()
public SearchAdReviewCenterAdsRequest.Builder clone()| Returns | |
|---|---|
| Type | Description |
SearchAdReviewCenterAdsRequest.Builder |
|
getAdReviewCenterAdId(int index)
public String getAdReviewCenterAdId(int index)Optional. If provided, only return ads with the given AdReviewCenterAd IDs.
repeated string ad_review_center_ad_id = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe 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. If provided, only return ads with the given AdReviewCenterAd IDs.
repeated string ad_review_center_ad_id = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the adReviewCenterAdId at the given index. |
getAdReviewCenterAdIdCount()
public int getAdReviewCenterAdIdCount()Optional. If provided, only return ads with the given AdReviewCenterAd IDs.
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. If provided, only return ads with the given AdReviewCenterAd IDs.
repeated string ad_review_center_ad_id = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ProtocolStringList |
A list containing the adReviewCenterAdId. |
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 via the ProgrammaticBuyerService.
repeated int64 buyer_account_id = 8 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe 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 via 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 via 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 |
|
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. |
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 |
intThe 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 |
intThe 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()Required. Only return ads with the given status.
.google.ads.admanager.v1.AdReviewCenterAdStatusEnum.AdReviewCenterAdStatus status = 4 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
AdReviewCenterAdStatusEnum.AdReviewCenterAdStatus |
The status. |
getStatusValue()
public int getStatusValue()Required. Only return ads with the given status.
.google.ads.admanager.v1.AdReviewCenterAdStatusEnum.AdReviewCenterAdStatus status = 4 [(.google.api.field_behavior) = REQUIRED];
| 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. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public SearchAdReviewCenterAdsRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
SearchAdReviewCenterAdsRequest.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SearchAdReviewCenterAdsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
SearchAdReviewCenterAdsRequest.Builder |
|
setAdReviewCenterAdId(int index, String value)
public SearchAdReviewCenterAdsRequest.Builder setAdReviewCenterAdId(int index, String value)Optional. If provided, only return ads with the given AdReviewCenterAd IDs.
repeated string ad_review_center_ad_id = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe adReviewCenterAdId 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 via the ProgrammaticBuyerService.
repeated int64 buyer_account_id = 8 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
longThe 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 |
|
setField(Descriptors.FieldDescriptor field, Object value)
public SearchAdReviewCenterAdsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
SearchAdReviewCenterAdsRequest.Builder |
|
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 |
intThe 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 |
StringThe 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 |
ByteStringThe 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 |
StringThe 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 |
ByteStringThe bytes for parent to set. |
| Returns | |
|---|---|
| Type | Description |
SearchAdReviewCenterAdsRequest.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SearchAdReviewCenterAdsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
SearchAdReviewCenterAdsRequest.Builder |
|
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 |
intThe index to set the value at. |
value |
StringThe searchText to set. |
| Returns | |
|---|---|
| Type | Description |
SearchAdReviewCenterAdsRequest.Builder |
This builder for chaining. |
setStatus(AdReviewCenterAdStatusEnum.AdReviewCenterAdStatus value)
public SearchAdReviewCenterAdsRequest.Builder setStatus(AdReviewCenterAdStatusEnum.AdReviewCenterAdStatus value)Required. Only return ads with the given status.
.google.ads.admanager.v1.AdReviewCenterAdStatusEnum.AdReviewCenterAdStatus status = 4 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
AdReviewCenterAdStatusEnum.AdReviewCenterAdStatusThe status to set. |
| Returns | |
|---|---|
| Type | Description |
SearchAdReviewCenterAdsRequest.Builder |
This builder for chaining. |
setStatusValue(int value)
public SearchAdReviewCenterAdsRequest.Builder setStatusValue(int value)Required. Only return ads with the given status.
.google.ads.admanager.v1.AdReviewCenterAdStatusEnum.AdReviewCenterAdStatus status = 4 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for status to set. |
| Returns | |
|---|---|
| Type | Description |
SearchAdReviewCenterAdsRequest.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final SearchAdReviewCenterAdsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
SearchAdReviewCenterAdsRequest.Builder |
|