public final class AdReviewCenterAd extends GeneratedMessage implements AdReviewCenterAdOrBuilderRepresents an ad that can be acted on or viewed in the Ad Review Center. AdReviewCenterAd.
Protobuf type google.ads.admanager.v1.AdReviewCenterAd
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > AdReviewCenterAdImplements
AdReviewCenterAdOrBuilderStatic Fields
ADVERTISER_DISPLAY_NAME_FIELD_NUMBER
public static final int ADVERTISER_DISPLAY_NAME_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
AD_REVIEW_CENTER_AD_ID_FIELD_NUMBER
public static final int AD_REVIEW_CENTER_AD_ID_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
AD_TYPES_FIELD_NUMBER
public static final int AD_TYPES_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
ASSET_PREVIEW_URLS_FIELD_NUMBER
public static final int ASSET_PREVIEW_URLS_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
DESTINATION_URLS_FIELD_NUMBER
public static final int DESTINATION_URLS_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
LABEL_IDS_FIELD_NUMBER
public static final int LABEL_IDS_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
LANGUAGE_CODES_FIELD_NUMBER
public static final int LANGUAGE_CODES_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
MANUAL_REVIEW_STATUSES_FIELD_NUMBER
public static final int MANUAL_REVIEW_STATUSES_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
PREVIEW_URL_FIELD_NUMBER
public static final int PREVIEW_URL_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
PRODUCT_TYPE_FIELD_NUMBER
public static final int PRODUCT_TYPE_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
REGION_CODES_FIELD_NUMBER
public static final int REGION_CODES_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
STATUS_FIELD_NUMBER
public static final int STATUS_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static AdReviewCenterAd getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
AdReviewCenterAd |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static AdReviewCenterAd.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
AdReviewCenterAd.Builder |
|
newBuilder(AdReviewCenterAd prototype)
public static AdReviewCenterAd.Builder newBuilder(AdReviewCenterAd prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
AdReviewCenterAd |
| Returns | |
|---|---|
| Type | Description |
AdReviewCenterAd.Builder |
|
parseDelimitedFrom(InputStream input)
public static AdReviewCenterAd parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
AdReviewCenterAd |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static AdReviewCenterAd parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
AdReviewCenterAd |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static AdReviewCenterAd parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
AdReviewCenterAd |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AdReviewCenterAd parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
AdReviewCenterAd |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static AdReviewCenterAd parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
AdReviewCenterAd |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AdReviewCenterAd parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
AdReviewCenterAd |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static AdReviewCenterAd parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
AdReviewCenterAd |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static AdReviewCenterAd parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
AdReviewCenterAd |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static AdReviewCenterAd parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
AdReviewCenterAd |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static AdReviewCenterAd parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
AdReviewCenterAd |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static AdReviewCenterAd parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
AdReviewCenterAd |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static AdReviewCenterAd parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
AdReviewCenterAd |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<AdReviewCenterAd> parser()| Returns | |
|---|---|
| Type | Description |
Parser<AdReviewCenterAd> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
intThe 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 |
intThe 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 |
intThe 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 |
intThe 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 |
|
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 |
intThe 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 |
intThe 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 |
intThe 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 |
intThe 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 |
intThe 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 |
intThe 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 |
intThe 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 |
intThe 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. |
getParserForType()
public Parser<AdReviewCenterAd> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<AdReviewCenterAd> |
|
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 |
intThe 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 |
intThe 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. |
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
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. |
hashCode()
public int hashCode()| Returns | |
|---|---|
| Type | Description |
int |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public AdReviewCenterAd.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
AdReviewCenterAd.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected AdReviewCenterAd.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
AdReviewCenterAd.Builder |
|
toBuilder()
public AdReviewCenterAd.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
AdReviewCenterAd.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|