Class AdReviewCenterAd.Builder (0.62.0)

public static final class AdReviewCenterAd.Builder extends GeneratedMessage.Builder<AdReviewCenterAd.Builder> implements AdReviewCenterAdOrBuilder

Represents an ad that can be acted on or viewed in the Ad Review Center. AdReviewCenterAd.

Protobuf type google.ads.admanager.v1.AdReviewCenterAd

Static Methods

getDescriptor()

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

Methods

addAdTypes(ArcCreativeFormatEnum.ArcCreativeFormat value)

public AdReviewCenterAd.Builder addAdTypes(ArcCreativeFormatEnum.ArcCreativeFormat value)

Output only. The ad types of the Ad Review Center ad.

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

Parameter
Name Description
value ArcCreativeFormatEnum.ArcCreativeFormat

The adTypes to add.

Returns
Type Description
AdReviewCenterAd.Builder

This builder for chaining.

addAdTypesValue(int value)

public AdReviewCenterAd.Builder addAdTypesValue(int value)

Output only. The ad types of the Ad Review Center ad.

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

Parameter
Name Description
value int

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

Returns
Type Description
AdReviewCenterAd.Builder

This builder for chaining.

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

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

Output only. The ad types of the Ad Review Center ad.

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

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

The adTypes to add.

Returns
Type Description
AdReviewCenterAd.Builder

This builder for chaining.

addAllAdTypesValue(Iterable<Integer> values)

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

Output only. The ad types of the Ad Review Center ad.

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

Parameter
Name Description
values Iterable<Integer>

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

Returns
Type Description
AdReviewCenterAd.Builder

This builder for chaining.

addAllAssetPreviewUrls(Iterable<String> values)

public AdReviewCenterAd.Builder addAllAssetPreviewUrls(Iterable<String> values)

Output only. The preview URLs that can be embedded or accessed directly which will present the rendered contents of the ad, each with a different asset. These URLs expire 72 hours after being retrieved.

repeated string asset_preview_urls = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
values Iterable<String>

The assetPreviewUrls to add.

Returns
Type Description
AdReviewCenterAd.Builder

This builder for chaining.

addAllDestinationUrls(Iterable<String> values)

public AdReviewCenterAd.Builder addAllDestinationUrls(Iterable<String> values)

Output only. The destination URLs of the Ad Review Center ad.

repeated string destination_urls = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
values Iterable<String>

The destinationUrls to add.

Returns
Type Description
AdReviewCenterAd.Builder

This builder for chaining.

addAllLabelIds(Iterable<String> values)

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

Output only. The labelIds associated with this Ad Review Center ad.

repeated string label_ids = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
values Iterable<String>

The labelIds to add.

Returns
Type Description
AdReviewCenterAd.Builder

This builder for chaining.

addAllLanguageCodes(Iterable<String> values)

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

Output only. The language codes of the Ad Review Center ad. Languages detected are represented by their BCP 47 code. For example, 'en', 'fr', 'es-419', or 'zh-cn'.

repeated string language_codes = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
values Iterable<String>

The languageCodes to add.

Returns
Type Description
AdReviewCenterAd.Builder

This builder for chaining.

addAllManualReviewStatuses(Iterable<? extends ManualAdReviewCenterAdStatusEnum.ManualAdReviewCenterAdStatus> values)

public AdReviewCenterAd.Builder addAllManualReviewStatuses(Iterable<? extends ManualAdReviewCenterAdStatusEnum.ManualAdReviewCenterAdStatus> values)

Output only. The manual review status of the AdReviewCenterAd (for web properties in MCR mode). For MCR mode, a single ad could have multiple statuses (for example, pending and serving at the same time, if the ad is affected by a protection in certain inventory only). This field is not set for the standard mode.

repeated .google.ads.admanager.v1.ManualAdReviewCenterAdStatusEnum.ManualAdReviewCenterAdStatus manual_review_statuses = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
values Iterable<? extends com.google.ads.admanager.v1.ManualAdReviewCenterAdStatusEnum.ManualAdReviewCenterAdStatus>

The manualReviewStatuses to add.

Returns
Type Description
AdReviewCenterAd.Builder

This builder for chaining.

addAllManualReviewStatusesValue(Iterable<Integer> values)

public AdReviewCenterAd.Builder addAllManualReviewStatusesValue(Iterable<Integer> values)

Output only. The manual review status of the AdReviewCenterAd (for web properties in MCR mode). For MCR mode, a single ad could have multiple statuses (for example, pending and serving at the same time, if the ad is affected by a protection in certain inventory only). This field is not set for the standard mode.

repeated .google.ads.admanager.v1.ManualAdReviewCenterAdStatusEnum.ManualAdReviewCenterAdStatus manual_review_statuses = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
values Iterable<Integer>

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

Returns
Type Description
AdReviewCenterAd.Builder

This builder for chaining.

addAllRegionCodes(Iterable<String> values)

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

Output only. The region codes of the Ad Review Center ad.

repeated string region_codes = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
values Iterable<String>

The regionCodes to add.

Returns
Type Description
AdReviewCenterAd.Builder

This builder for chaining.

addAssetPreviewUrls(String value)

public AdReviewCenterAd.Builder addAssetPreviewUrls(String value)

Output only. The preview URLs that can be embedded or accessed directly which will present the rendered contents of the ad, each with a different asset. These URLs expire 72 hours after being retrieved.

repeated string asset_preview_urls = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The assetPreviewUrls to add.

Returns
Type Description
AdReviewCenterAd.Builder

This builder for chaining.

addAssetPreviewUrlsBytes(ByteString value)

public AdReviewCenterAd.Builder addAssetPreviewUrlsBytes(ByteString value)

Output only. The preview URLs that can be embedded or accessed directly which will present the rendered contents of the ad, each with a different asset. These URLs expire 72 hours after being retrieved.

repeated string asset_preview_urls = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes of the assetPreviewUrls to add.

Returns
Type Description
AdReviewCenterAd.Builder

This builder for chaining.

addDestinationUrls(String value)

public AdReviewCenterAd.Builder addDestinationUrls(String value)

Output only. The destination URLs of the Ad Review Center ad.

repeated string destination_urls = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The destinationUrls to add.

Returns
Type Description
AdReviewCenterAd.Builder

This builder for chaining.

addDestinationUrlsBytes(ByteString value)

public AdReviewCenterAd.Builder addDestinationUrlsBytes(ByteString value)

Output only. The destination URLs of the Ad Review Center ad.

repeated string destination_urls = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes of the destinationUrls to add.

Returns
Type Description
AdReviewCenterAd.Builder

This builder for chaining.

addLabelIds(String value)

public AdReviewCenterAd.Builder addLabelIds(String value)

Output only. The labelIds associated with this Ad Review Center ad.

repeated string label_ids = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The labelIds to add.

Returns
Type Description
AdReviewCenterAd.Builder

This builder for chaining.

addLabelIdsBytes(ByteString value)

public AdReviewCenterAd.Builder addLabelIdsBytes(ByteString value)

Output only. The labelIds associated with this Ad Review Center ad.

repeated string label_ids = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes of the labelIds to add.

Returns
Type Description
AdReviewCenterAd.Builder

This builder for chaining.

addLanguageCodes(String value)

public AdReviewCenterAd.Builder addLanguageCodes(String value)

Output only. The language codes of the Ad Review Center ad. Languages detected are represented by their BCP 47 code. For example, 'en', 'fr', 'es-419', or 'zh-cn'.

repeated string language_codes = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The languageCodes to add.

Returns
Type Description
AdReviewCenterAd.Builder

This builder for chaining.

addLanguageCodesBytes(ByteString value)

public AdReviewCenterAd.Builder addLanguageCodesBytes(ByteString value)

Output only. The language codes of the Ad Review Center ad. Languages detected are represented by their BCP 47 code. For example, 'en', 'fr', 'es-419', or 'zh-cn'.

repeated string language_codes = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes of the languageCodes to add.

Returns
Type Description
AdReviewCenterAd.Builder

This builder for chaining.

addManualReviewStatuses(ManualAdReviewCenterAdStatusEnum.ManualAdReviewCenterAdStatus value)

public AdReviewCenterAd.Builder addManualReviewStatuses(ManualAdReviewCenterAdStatusEnum.ManualAdReviewCenterAdStatus value)

Output only. The manual review status of the AdReviewCenterAd (for web properties in MCR mode). For MCR mode, a single ad could have multiple statuses (for example, pending and serving at the same time, if the ad is affected by a protection in certain inventory only). This field is not set for the standard mode.

repeated .google.ads.admanager.v1.ManualAdReviewCenterAdStatusEnum.ManualAdReviewCenterAdStatus manual_review_statuses = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ManualAdReviewCenterAdStatusEnum.ManualAdReviewCenterAdStatus

The manualReviewStatuses to add.

Returns
Type Description
AdReviewCenterAd.Builder

This builder for chaining.

addManualReviewStatusesValue(int value)

public AdReviewCenterAd.Builder addManualReviewStatusesValue(int value)

Output only. The manual review status of the AdReviewCenterAd (for web properties in MCR mode). For MCR mode, a single ad could have multiple statuses (for example, pending and serving at the same time, if the ad is affected by a protection in certain inventory only). This field is not set for the standard mode.

repeated .google.ads.admanager.v1.ManualAdReviewCenterAdStatusEnum.ManualAdReviewCenterAdStatus manual_review_statuses = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value int

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

Returns
Type Description
AdReviewCenterAd.Builder

This builder for chaining.

addRegionCodes(String value)

public AdReviewCenterAd.Builder addRegionCodes(String value)

Output only. The region codes of the Ad Review Center ad.

repeated string region_codes = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The regionCodes to add.

Returns
Type Description
AdReviewCenterAd.Builder

This builder for chaining.

addRegionCodesBytes(ByteString value)

public AdReviewCenterAd.Builder addRegionCodesBytes(ByteString value)

Output only. The region codes of the Ad Review Center ad.

repeated string region_codes = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes of the regionCodes to add.

Returns
Type Description
AdReviewCenterAd.Builder

This builder for chaining.

build()

public AdReviewCenterAd build()
Returns
Type Description
AdReviewCenterAd

buildPartial()

public AdReviewCenterAd buildPartial()
Returns
Type Description
AdReviewCenterAd

clear()

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

clearAdReviewCenterAdId()

public AdReviewCenterAd.Builder clearAdReviewCenterAdId()

Output only. AdReviewCenterAd ID.

string ad_review_center_ad_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AdReviewCenterAd.Builder

This builder for chaining.

clearAdTypes()

public AdReviewCenterAd.Builder clearAdTypes()

Output only. The ad types of the Ad Review Center ad.

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

Returns
Type Description
AdReviewCenterAd.Builder

This builder for chaining.

clearAdvertiserDisplayName()

public AdReviewCenterAd.Builder clearAdvertiserDisplayName()

Output only. The advertiser name of the Ad Review Center ad. Specifies the detected advertiser for Google Display Network (GDN) ads, and individual network name for real-time bidding (RTB) ads.

string advertiser_display_name = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AdReviewCenterAd.Builder

This builder for chaining.

clearAssetPreviewUrls()

public AdReviewCenterAd.Builder clearAssetPreviewUrls()

Output only. The preview URLs that can be embedded or accessed directly which will present the rendered contents of the ad, each with a different asset. These URLs expire 72 hours after being retrieved.

repeated string asset_preview_urls = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AdReviewCenterAd.Builder

This builder for chaining.

clearDestinationUrls()

public AdReviewCenterAd.Builder clearDestinationUrls()

Output only. The destination URLs of the Ad Review Center ad.

repeated string destination_urls = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AdReviewCenterAd.Builder

This builder for chaining.

clearLabelIds()

public AdReviewCenterAd.Builder clearLabelIds()

Output only. The labelIds associated with this Ad Review Center ad.

repeated string label_ids = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AdReviewCenterAd.Builder

This builder for chaining.

clearLanguageCodes()

public AdReviewCenterAd.Builder clearLanguageCodes()

Output only. The language codes of the Ad Review Center ad. Languages detected are represented by their BCP 47 code. For example, 'en', 'fr', 'es-419', or 'zh-cn'.

repeated string language_codes = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AdReviewCenterAd.Builder

This builder for chaining.

clearManualReviewStatuses()

public AdReviewCenterAd.Builder clearManualReviewStatuses()

Output only. The manual review status of the AdReviewCenterAd (for web properties in MCR mode). For MCR mode, a single ad could have multiple statuses (for example, pending and serving at the same time, if the ad is affected by a protection in certain inventory only). This field is not set for the standard mode.

repeated .google.ads.admanager.v1.ManualAdReviewCenterAdStatusEnum.ManualAdReviewCenterAdStatus manual_review_statuses = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AdReviewCenterAd.Builder

This builder for chaining.

clearName()

public AdReviewCenterAd.Builder clearName()

Identifier. The resource name of the AdReviewCenterAd. Format: networks/{network_code}/webProperties/{web_property_code}/adReviewCenterAds/{ad_review_center_ad_id}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
AdReviewCenterAd.Builder

This builder for chaining.

clearPreviewUrl()

public AdReviewCenterAd.Builder clearPreviewUrl()

Output only. The preview URL that can be embedded or accessed directly which will present the rendered contents of the ad. This URL expires 72 hours after being retrieved.

optional string preview_url = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AdReviewCenterAd.Builder

This builder for chaining.

clearProductType()

public AdReviewCenterAd.Builder clearProductType()

Output only. Specifies the ExchangeSyndicationProduct for this AdReviewCenterAd.

.google.ads.admanager.v1.ExchangeSyndicationProductEnum.ExchangeSyndicationProduct product_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AdReviewCenterAd.Builder

This builder for chaining.

clearRegionCodes()

public AdReviewCenterAd.Builder clearRegionCodes()

Output only. The region codes of the Ad Review Center ad.

repeated string region_codes = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AdReviewCenterAd.Builder

This builder for chaining.

clearStatus()

public AdReviewCenterAd.Builder clearStatus()

The status of the AdReviewCenterAd.

.google.ads.admanager.v1.AdReviewCenterAdStatusEnum.AdReviewCenterAdStatus status = 4;

Returns
Type Description
AdReviewCenterAd.Builder

This builder for chaining.

getAdReviewCenterAdId()

public String getAdReviewCenterAdId()

Output only. AdReviewCenterAd ID.

string ad_review_center_ad_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The adReviewCenterAdId.

getAdReviewCenterAdIdBytes()

public ByteString getAdReviewCenterAdIdBytes()

Output only. AdReviewCenterAd ID.

string ad_review_center_ad_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for adReviewCenterAdId.

getAdTypes(int index)

public ArcCreativeFormatEnum.ArcCreativeFormat getAdTypes(int index)

Output only. The ad types of the Ad Review Center ad.

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

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()

Output only. The ad types of the Ad Review Center ad.

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

Returns
Type Description
int

The count of adTypes.

getAdTypesList()

public List<ArcCreativeFormatEnum.ArcCreativeFormat> getAdTypesList()

Output only. The ad types of the Ad Review Center ad.

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

Returns
Type Description
List<ArcCreativeFormat>

A list containing the adTypes.

getAdTypesValue(int index)

public int getAdTypesValue(int index)

Output only. The ad types of the Ad Review Center ad.

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

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()

Output only. The ad types of the Ad Review Center ad.

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

Returns
Type Description
List<Integer>

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

getAdvertiserDisplayName()

public String getAdvertiserDisplayName()

Output only. The advertiser name of the Ad Review Center ad. Specifies the detected advertiser for Google Display Network (GDN) ads, and individual network name for real-time bidding (RTB) ads.

string advertiser_display_name = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The advertiserDisplayName.

getAdvertiserDisplayNameBytes()

public ByteString getAdvertiserDisplayNameBytes()

Output only. The advertiser name of the Ad Review Center ad. Specifies the detected advertiser for Google Display Network (GDN) ads, and individual network name for real-time bidding (RTB) ads.

string advertiser_display_name = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for advertiserDisplayName.

getAssetPreviewUrls(int index)

public String getAssetPreviewUrls(int index)

Output only. The preview URLs that can be embedded or accessed directly which will present the rendered contents of the ad, each with a different asset. These URLs expire 72 hours after being retrieved.

repeated string asset_preview_urls = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The assetPreviewUrls at the given index.

getAssetPreviewUrlsBytes(int index)

public ByteString getAssetPreviewUrlsBytes(int index)

Output only. The preview URLs that can be embedded or accessed directly which will present the rendered contents of the ad, each with a different asset. These URLs expire 72 hours after being retrieved.

repeated string asset_preview_urls = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the assetPreviewUrls at the given index.

getAssetPreviewUrlsCount()

public int getAssetPreviewUrlsCount()

Output only. The preview URLs that can be embedded or accessed directly which will present the rendered contents of the ad, each with a different asset. These URLs expire 72 hours after being retrieved.

repeated string asset_preview_urls = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The count of assetPreviewUrls.

getAssetPreviewUrlsList()

public ProtocolStringList getAssetPreviewUrlsList()

Output only. The preview URLs that can be embedded or accessed directly which will present the rendered contents of the ad, each with a different asset. These URLs expire 72 hours after being retrieved.

repeated string asset_preview_urls = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ProtocolStringList

A list containing the assetPreviewUrls.

getDefaultInstanceForType()

public AdReviewCenterAd getDefaultInstanceForType()
Returns
Type Description
AdReviewCenterAd

getDescriptorForType()

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

getDestinationUrls(int index)

public String getDestinationUrls(int index)

Output only. The destination URLs of the Ad Review Center ad.

repeated string destination_urls = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The destinationUrls at the given index.

getDestinationUrlsBytes(int index)

public ByteString getDestinationUrlsBytes(int index)

Output only. The destination URLs of the Ad Review Center ad.

repeated string destination_urls = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the destinationUrls at the given index.

getDestinationUrlsCount()

public int getDestinationUrlsCount()

Output only. The destination URLs of the Ad Review Center ad.

repeated string destination_urls = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The count of destinationUrls.

getDestinationUrlsList()

public ProtocolStringList getDestinationUrlsList()

Output only. The destination URLs of the Ad Review Center ad.

repeated string destination_urls = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ProtocolStringList

A list containing the destinationUrls.

getLabelIds(int index)

public String getLabelIds(int index)

Output only. The labelIds associated with this Ad Review Center ad.

repeated string label_ids = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

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)

Output only. The labelIds associated with this Ad Review Center ad.

repeated string label_ids = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

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()

Output only. The labelIds associated with this Ad Review Center ad.

repeated string label_ids = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The count of labelIds.

getLabelIdsList()

public ProtocolStringList getLabelIdsList()

Output only. The labelIds associated with this Ad Review Center ad.

repeated string label_ids = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ProtocolStringList

A list containing the labelIds.

getLanguageCodes(int index)

public String getLanguageCodes(int index)

Output only. The language codes of the Ad Review Center ad. Languages detected are represented by their BCP 47 code. For example, 'en', 'fr', 'es-419', or 'zh-cn'.

repeated string language_codes = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

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)

Output only. The language codes of the Ad Review Center ad. Languages detected are represented by their BCP 47 code. For example, 'en', 'fr', 'es-419', or 'zh-cn'.

repeated string language_codes = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

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()

Output only. The language codes of the Ad Review Center ad. Languages detected are represented by their BCP 47 code. For example, 'en', 'fr', 'es-419', or 'zh-cn'.

repeated string language_codes = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The count of languageCodes.

getLanguageCodesList()

public ProtocolStringList getLanguageCodesList()

Output only. The language codes of the Ad Review Center ad. Languages detected are represented by their BCP 47 code. For example, 'en', 'fr', 'es-419', or 'zh-cn'.

repeated string language_codes = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ProtocolStringList

A list containing the languageCodes.

getManualReviewStatuses(int index)

public ManualAdReviewCenterAdStatusEnum.ManualAdReviewCenterAdStatus getManualReviewStatuses(int index)

Output only. The manual review status of the AdReviewCenterAd (for web properties in MCR mode). For MCR mode, a single ad could have multiple statuses (for example, pending and serving at the same time, if the ad is affected by a protection in certain inventory only). This field is not set for the standard mode.

repeated .google.ads.admanager.v1.ManualAdReviewCenterAdStatusEnum.ManualAdReviewCenterAdStatus manual_review_statuses = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
ManualAdReviewCenterAdStatusEnum.ManualAdReviewCenterAdStatus

The manualReviewStatuses at the given index.

getManualReviewStatusesCount()

public int getManualReviewStatusesCount()

Output only. The manual review status of the AdReviewCenterAd (for web properties in MCR mode). For MCR mode, a single ad could have multiple statuses (for example, pending and serving at the same time, if the ad is affected by a protection in certain inventory only). This field is not set for the standard mode.

repeated .google.ads.admanager.v1.ManualAdReviewCenterAdStatusEnum.ManualAdReviewCenterAdStatus manual_review_statuses = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The count of manualReviewStatuses.

getManualReviewStatusesList()

public List<ManualAdReviewCenterAdStatusEnum.ManualAdReviewCenterAdStatus> getManualReviewStatusesList()

Output only. The manual review status of the AdReviewCenterAd (for web properties in MCR mode). For MCR mode, a single ad could have multiple statuses (for example, pending and serving at the same time, if the ad is affected by a protection in certain inventory only). This field is not set for the standard mode.

repeated .google.ads.admanager.v1.ManualAdReviewCenterAdStatusEnum.ManualAdReviewCenterAdStatus manual_review_statuses = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<ManualAdReviewCenterAdStatus>

A list containing the manualReviewStatuses.

getManualReviewStatusesValue(int index)

public int getManualReviewStatusesValue(int index)

Output only. The manual review status of the AdReviewCenterAd (for web properties in MCR mode). For MCR mode, a single ad could have multiple statuses (for example, pending and serving at the same time, if the ad is affected by a protection in certain inventory only). This field is not set for the standard mode.

repeated .google.ads.admanager.v1.ManualAdReviewCenterAdStatusEnum.ManualAdReviewCenterAdStatus manual_review_statuses = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
int

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

getManualReviewStatusesValueList()

public List<Integer> getManualReviewStatusesValueList()

Output only. The manual review status of the AdReviewCenterAd (for web properties in MCR mode). For MCR mode, a single ad could have multiple statuses (for example, pending and serving at the same time, if the ad is affected by a protection in certain inventory only). This field is not set for the standard mode.

repeated .google.ads.admanager.v1.ManualAdReviewCenterAdStatusEnum.ManualAdReviewCenterAdStatus manual_review_statuses = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<Integer>

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

getName()

public String getName()

Identifier. The resource name of the AdReviewCenterAd. Format: networks/{network_code}/webProperties/{web_property_code}/adReviewCenterAds/{ad_review_center_ad_id}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Identifier. The resource name of the AdReviewCenterAd. Format: networks/{network_code}/webProperties/{web_property_code}/adReviewCenterAds/{ad_review_center_ad_id}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
ByteString

The bytes for name.

getPreviewUrl()

public String getPreviewUrl()

Output only. The preview URL that can be embedded or accessed directly which will present the rendered contents of the ad. This URL expires 72 hours after being retrieved.

optional string preview_url = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The previewUrl.

getPreviewUrlBytes()

public ByteString getPreviewUrlBytes()

Output only. The preview URL that can be embedded or accessed directly which will present the rendered contents of the ad. This URL expires 72 hours after being retrieved.

optional string preview_url = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for previewUrl.

getProductType()

public ExchangeSyndicationProductEnum.ExchangeSyndicationProduct getProductType()

Output only. Specifies the ExchangeSyndicationProduct for this AdReviewCenterAd.

.google.ads.admanager.v1.ExchangeSyndicationProductEnum.ExchangeSyndicationProduct product_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ExchangeSyndicationProductEnum.ExchangeSyndicationProduct

The productType.

getProductTypeValue()

public int getProductTypeValue()

Output only. Specifies the ExchangeSyndicationProduct for this AdReviewCenterAd.

.google.ads.admanager.v1.ExchangeSyndicationProductEnum.ExchangeSyndicationProduct product_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for productType.

getRegionCodes(int index)

public String getRegionCodes(int index)

Output only. The region codes of the Ad Review Center ad.

repeated string region_codes = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

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)

Output only. The region codes of the Ad Review Center ad.

repeated string region_codes = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

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()

Output only. The region codes of the Ad Review Center ad.

repeated string region_codes = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The count of regionCodes.

getRegionCodesList()

public ProtocolStringList getRegionCodesList()

Output only. The region codes of the Ad Review Center ad.

repeated string region_codes = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ProtocolStringList

A list containing the regionCodes.

getStatus()

public AdReviewCenterAdStatusEnum.AdReviewCenterAdStatus getStatus()

The status of the AdReviewCenterAd.

.google.ads.admanager.v1.AdReviewCenterAdStatusEnum.AdReviewCenterAdStatus status = 4;

Returns
Type Description
AdReviewCenterAdStatusEnum.AdReviewCenterAdStatus

The status.

getStatusValue()

public int getStatusValue()

The status of the AdReviewCenterAd.

.google.ads.admanager.v1.AdReviewCenterAdStatusEnum.AdReviewCenterAdStatus status = 4;

Returns
Type Description
int

The enum numeric value on the wire for status.

hasPreviewUrl()

public boolean hasPreviewUrl()

Output only. The preview URL that can be embedded or accessed directly which will present the rendered contents of the ad. This URL expires 72 hours after being retrieved.

optional string preview_url = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the previewUrl field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(AdReviewCenterAd other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setAdReviewCenterAdId(String value)

public AdReviewCenterAd.Builder setAdReviewCenterAdId(String value)

Output only. AdReviewCenterAd ID.

string ad_review_center_ad_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The adReviewCenterAdId to set.

Returns
Type Description
AdReviewCenterAd.Builder

This builder for chaining.

setAdReviewCenterAdIdBytes(ByteString value)

public AdReviewCenterAd.Builder setAdReviewCenterAdIdBytes(ByteString value)

Output only. AdReviewCenterAd ID.

string ad_review_center_ad_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for adReviewCenterAdId to set.

Returns
Type Description
AdReviewCenterAd.Builder

This builder for chaining.

setAdTypes(int index, ArcCreativeFormatEnum.ArcCreativeFormat value)

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

Output only. The ad types of the Ad Review Center ad.

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

Parameters
Name Description
index int

The index to set the value at.

value ArcCreativeFormatEnum.ArcCreativeFormat

The adTypes to set.

Returns
Type Description
AdReviewCenterAd.Builder

This builder for chaining.

setAdTypesValue(int index, int value)

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

Output only. The ad types of the Ad Review Center ad.

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

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
AdReviewCenterAd.Builder

This builder for chaining.

setAdvertiserDisplayName(String value)

public AdReviewCenterAd.Builder setAdvertiserDisplayName(String value)

Output only. The advertiser name of the Ad Review Center ad. Specifies the detected advertiser for Google Display Network (GDN) ads, and individual network name for real-time bidding (RTB) ads.

string advertiser_display_name = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The advertiserDisplayName to set.

Returns
Type Description
AdReviewCenterAd.Builder

This builder for chaining.

setAdvertiserDisplayNameBytes(ByteString value)

public AdReviewCenterAd.Builder setAdvertiserDisplayNameBytes(ByteString value)

Output only. The advertiser name of the Ad Review Center ad. Specifies the detected advertiser for Google Display Network (GDN) ads, and individual network name for real-time bidding (RTB) ads.

string advertiser_display_name = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for advertiserDisplayName to set.

Returns
Type Description
AdReviewCenterAd.Builder

This builder for chaining.

setAssetPreviewUrls(int index, String value)

public AdReviewCenterAd.Builder setAssetPreviewUrls(int index, String value)

Output only. The preview URLs that can be embedded or accessed directly which will present the rendered contents of the ad, each with a different asset. These URLs expire 72 hours after being retrieved.

repeated string asset_preview_urls = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int

The index to set the value at.

value String

The assetPreviewUrls to set.

Returns
Type Description
AdReviewCenterAd.Builder

This builder for chaining.

setDestinationUrls(int index, String value)

public AdReviewCenterAd.Builder setDestinationUrls(int index, String value)

Output only. The destination URLs of the Ad Review Center ad.

repeated string destination_urls = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int

The index to set the value at.

value String

The destinationUrls to set.

Returns
Type Description
AdReviewCenterAd.Builder

This builder for chaining.

setLabelIds(int index, String value)

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

Output only. The labelIds associated with this Ad Review Center ad.

repeated string label_ids = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int

The index to set the value at.

value String

The labelIds to set.

Returns
Type Description
AdReviewCenterAd.Builder

This builder for chaining.

setLanguageCodes(int index, String value)

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

Output only. The language codes of the Ad Review Center ad. Languages detected are represented by their BCP 47 code. For example, 'en', 'fr', 'es-419', or 'zh-cn'.

repeated string language_codes = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int

The index to set the value at.

value String

The languageCodes to set.

Returns
Type Description
AdReviewCenterAd.Builder

This builder for chaining.

setManualReviewStatuses(int index, ManualAdReviewCenterAdStatusEnum.ManualAdReviewCenterAdStatus value)

public AdReviewCenterAd.Builder setManualReviewStatuses(int index, ManualAdReviewCenterAdStatusEnum.ManualAdReviewCenterAdStatus value)

Output only. The manual review status of the AdReviewCenterAd (for web properties in MCR mode). For MCR mode, a single ad could have multiple statuses (for example, pending and serving at the same time, if the ad is affected by a protection in certain inventory only). This field is not set for the standard mode.

repeated .google.ads.admanager.v1.ManualAdReviewCenterAdStatusEnum.ManualAdReviewCenterAdStatus manual_review_statuses = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int

The index to set the value at.

value ManualAdReviewCenterAdStatusEnum.ManualAdReviewCenterAdStatus

The manualReviewStatuses to set.

Returns
Type Description
AdReviewCenterAd.Builder

This builder for chaining.

setManualReviewStatusesValue(int index, int value)

public AdReviewCenterAd.Builder setManualReviewStatusesValue(int index, int value)

Output only. The manual review status of the AdReviewCenterAd (for web properties in MCR mode). For MCR mode, a single ad could have multiple statuses (for example, pending and serving at the same time, if the ad is affected by a protection in certain inventory only). This field is not set for the standard mode.

repeated .google.ads.admanager.v1.ManualAdReviewCenterAdStatusEnum.ManualAdReviewCenterAdStatus manual_review_statuses = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int

The index to set the value at.

value int

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

Returns
Type Description
AdReviewCenterAd.Builder

This builder for chaining.

setName(String value)

public AdReviewCenterAd.Builder setName(String value)

Identifier. The resource name of the AdReviewCenterAd. Format: networks/{network_code}/webProperties/{web_property_code}/adReviewCenterAds/{ad_review_center_ad_id}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Parameter
Name Description
value String

The name to set.

Returns
Type Description
AdReviewCenterAd.Builder

This builder for chaining.

setNameBytes(ByteString value)

public AdReviewCenterAd.Builder setNameBytes(ByteString value)

Identifier. The resource name of the AdReviewCenterAd. Format: networks/{network_code}/webProperties/{web_property_code}/adReviewCenterAds/{ad_review_center_ad_id}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
AdReviewCenterAd.Builder

This builder for chaining.

setPreviewUrl(String value)

public AdReviewCenterAd.Builder setPreviewUrl(String value)

Output only. The preview URL that can be embedded or accessed directly which will present the rendered contents of the ad. This URL expires 72 hours after being retrieved.

optional string preview_url = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The previewUrl to set.

Returns
Type Description
AdReviewCenterAd.Builder

This builder for chaining.

setPreviewUrlBytes(ByteString value)

public AdReviewCenterAd.Builder setPreviewUrlBytes(ByteString value)

Output only. The preview URL that can be embedded or accessed directly which will present the rendered contents of the ad. This URL expires 72 hours after being retrieved.

optional string preview_url = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for previewUrl to set.

Returns
Type Description
AdReviewCenterAd.Builder

This builder for chaining.

setProductType(ExchangeSyndicationProductEnum.ExchangeSyndicationProduct value)

public AdReviewCenterAd.Builder setProductType(ExchangeSyndicationProductEnum.ExchangeSyndicationProduct value)

Output only. Specifies the ExchangeSyndicationProduct for this AdReviewCenterAd.

.google.ads.admanager.v1.ExchangeSyndicationProductEnum.ExchangeSyndicationProduct product_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ExchangeSyndicationProductEnum.ExchangeSyndicationProduct

The productType to set.

Returns
Type Description
AdReviewCenterAd.Builder

This builder for chaining.

setProductTypeValue(int value)

public AdReviewCenterAd.Builder setProductTypeValue(int value)

Output only. Specifies the ExchangeSyndicationProduct for this AdReviewCenterAd.

.google.ads.admanager.v1.ExchangeSyndicationProductEnum.ExchangeSyndicationProduct product_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value int

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

Returns
Type Description
AdReviewCenterAd.Builder

This builder for chaining.

setRegionCodes(int index, String value)

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

Output only. The region codes of the Ad Review Center ad.

repeated string region_codes = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int

The index to set the value at.

value String

The regionCodes to set.

Returns
Type Description
AdReviewCenterAd.Builder

This builder for chaining.

setStatus(AdReviewCenterAdStatusEnum.AdReviewCenterAdStatus value)

public AdReviewCenterAd.Builder setStatus(AdReviewCenterAdStatusEnum.AdReviewCenterAdStatus value)

The status of the AdReviewCenterAd.

.google.ads.admanager.v1.AdReviewCenterAdStatusEnum.AdReviewCenterAdStatus status = 4;

Parameter
Name Description
value AdReviewCenterAdStatusEnum.AdReviewCenterAdStatus

The status to set.

Returns
Type Description
AdReviewCenterAd.Builder

This builder for chaining.

setStatusValue(int value)

public AdReviewCenterAd.Builder setStatusValue(int value)

The status of the AdReviewCenterAd.

.google.ads.admanager.v1.AdReviewCenterAdStatusEnum.AdReviewCenterAdStatus status = 4;

Parameter
Name Description
value int

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

Returns
Type Description
AdReviewCenterAd.Builder

This builder for chaining.