Class Ad
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.ads.googleads.v10.resources.Ad
-
- All Implemented Interfaces:
AdOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,java.io.Serializable
public final class Ad extends com.google.protobuf.GeneratedMessageV3 implements AdOrBuilder
An ad.
Protobuf typegoogle.ads.googleads.v10.resources.Ad- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAd.AdDataCasestatic classAd.BuilderAn ad.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)Ad.AdDataCasegetAdDataCase()booleangetAddedByGoogleAds()Output only.AppAdInfogetAppAd()Details pertaining to an app ad.AppAdInfoOrBuildergetAppAdOrBuilder()Details pertaining to an app ad.AppEngagementAdInfogetAppEngagementAd()Details pertaining to an app engagement ad.AppEngagementAdInfoOrBuildergetAppEngagementAdOrBuilder()Details pertaining to an app engagement ad.AppPreRegistrationAdInfogetAppPreRegistrationAd()Details pertaining to an app pre-registration ad.AppPreRegistrationAdInfoOrBuildergetAppPreRegistrationAdOrBuilder()Details pertaining to an app pre-registration ad.CallAdInfogetCallAd()Details pertaining to a call ad.CallAdInfoOrBuildergetCallAdOrBuilder()Details pertaining to a call ad.static AdgetDefaultInstance()AdgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()DeviceEnum.DevicegetDevicePreference()The device preference for the ad.intgetDevicePreferenceValue()The device preference for the ad.DisplayUploadAdInfogetDisplayUploadAd()Details pertaining to a display upload ad.DisplayUploadAdInfoOrBuildergetDisplayUploadAdOrBuilder()Details pertaining to a display upload ad.java.lang.StringgetDisplayUrl()The URL that appears in the ad description for some ad formats.com.google.protobuf.ByteStringgetDisplayUrlBytes()The URL that appears in the ad description for some ad formats.ExpandedDynamicSearchAdInfogetExpandedDynamicSearchAd()Immutable.ExpandedDynamicSearchAdInfoOrBuildergetExpandedDynamicSearchAdOrBuilder()Immutable.ExpandedTextAdInfogetExpandedTextAd()Details pertaining to an expanded text ad.ExpandedTextAdInfoOrBuildergetExpandedTextAdOrBuilder()Details pertaining to an expanded text ad.FinalAppUrlgetFinalAppUrls(int index)A list of final app URLs that will be used on mobile if the user has the specific app installed.intgetFinalAppUrlsCount()A list of final app URLs that will be used on mobile if the user has the specific app installed.java.util.List<FinalAppUrl>getFinalAppUrlsList()A list of final app URLs that will be used on mobile if the user has the specific app installed.FinalAppUrlOrBuildergetFinalAppUrlsOrBuilder(int index)A list of final app URLs that will be used on mobile if the user has the specific app installed.java.util.List<? extends FinalAppUrlOrBuilder>getFinalAppUrlsOrBuilderList()A list of final app URLs that will be used on mobile if the user has the specific app installed.java.lang.StringgetFinalMobileUrls(int index)The list of possible final mobile URLs after all cross-domain redirects for the ad.com.google.protobuf.ByteStringgetFinalMobileUrlsBytes(int index)The list of possible final mobile URLs after all cross-domain redirects for the ad.intgetFinalMobileUrlsCount()The list of possible final mobile URLs after all cross-domain redirects for the ad.com.google.protobuf.ProtocolStringListgetFinalMobileUrlsList()The list of possible final mobile URLs after all cross-domain redirects for the ad.java.lang.StringgetFinalUrls(int index)The list of possible final URLs after all cross-domain redirects for the ad.com.google.protobuf.ByteStringgetFinalUrlsBytes(int index)The list of possible final URLs after all cross-domain redirects for the ad.intgetFinalUrlsCount()The list of possible final URLs after all cross-domain redirects for the ad.com.google.protobuf.ProtocolStringListgetFinalUrlsList()The list of possible final URLs after all cross-domain redirects for the ad.java.lang.StringgetFinalUrlSuffix()The suffix to use when constructing a final URL.com.google.protobuf.ByteStringgetFinalUrlSuffixBytes()The suffix to use when constructing a final URL.GmailAdInfogetGmailAd()Immutable.GmailAdInfoOrBuildergetGmailAdOrBuilder()Immutable.HotelAdInfogetHotelAd()Details pertaining to a hotel ad.HotelAdInfoOrBuildergetHotelAdOrBuilder()Details pertaining to a hotel ad.longgetId()Output only.ImageAdInfogetImageAd()Immutable.ImageAdInfoOrBuildergetImageAdOrBuilder()Immutable.LegacyAppInstallAdInfogetLegacyAppInstallAd()Immutable.LegacyAppInstallAdInfoOrBuildergetLegacyAppInstallAdOrBuilder()Immutable.LegacyResponsiveDisplayAdInfogetLegacyResponsiveDisplayAd()Details pertaining to a legacy responsive display ad.LegacyResponsiveDisplayAdInfoOrBuildergetLegacyResponsiveDisplayAdOrBuilder()Details pertaining to a legacy responsive display ad.LocalAdInfogetLocalAd()Details pertaining to a local ad.LocalAdInfoOrBuildergetLocalAdOrBuilder()Details pertaining to a local ad.java.lang.StringgetName()Immutable.com.google.protobuf.ByteStringgetNameBytes()Immutable.com.google.protobuf.Parser<Ad>getParserForType()java.lang.StringgetResourceName()Immutable.com.google.protobuf.ByteStringgetResourceNameBytes()Immutable.ResponsiveDisplayAdInfogetResponsiveDisplayAd()Details pertaining to a responsive display ad.ResponsiveDisplayAdInfoOrBuildergetResponsiveDisplayAdOrBuilder()Details pertaining to a responsive display ad.ResponsiveSearchAdInfogetResponsiveSearchAd()Details pertaining to a responsive search ad.ResponsiveSearchAdInfoOrBuildergetResponsiveSearchAdOrBuilder()Details pertaining to a responsive search ad.intgetSerializedSize()ShoppingComparisonListingAdInfogetShoppingComparisonListingAd()Details pertaining to a Shopping Comparison Listing ad.ShoppingComparisonListingAdInfoOrBuildergetShoppingComparisonListingAdOrBuilder()Details pertaining to a Shopping Comparison Listing ad.ShoppingProductAdInfogetShoppingProductAd()Details pertaining to a Shopping product ad.ShoppingProductAdInfoOrBuildergetShoppingProductAdOrBuilder()Details pertaining to a Shopping product ad.ShoppingSmartAdInfogetShoppingSmartAd()Details pertaining to a Smart Shopping ad.ShoppingSmartAdInfoOrBuildergetShoppingSmartAdOrBuilder()Details pertaining to a Smart Shopping ad.SmartCampaignAdInfogetSmartCampaignAd()Details pertaining to a Smart campaign ad.SmartCampaignAdInfoOrBuildergetSmartCampaignAdOrBuilder()Details pertaining to a Smart campaign ad.SystemManagedResourceSourceEnum.SystemManagedResourceSourcegetSystemManagedResourceSource()Output only.intgetSystemManagedResourceSourceValue()Output only.TextAdInfogetTextAd()Immutable.TextAdInfoOrBuildergetTextAdOrBuilder()Immutable.java.lang.StringgetTrackingUrlTemplate()The URL template for constructing a tracking URL.com.google.protobuf.ByteStringgetTrackingUrlTemplateBytes()The URL template for constructing a tracking URL.AdTypeEnum.AdTypegetType()Output only.intgetTypeValue()Output only.com.google.protobuf.UnknownFieldSetgetUnknownFields()UrlCollectiongetUrlCollections(int index)Additional URLs for the ad that are tagged with a unique identifier that can be referenced from other fields in the ad.intgetUrlCollectionsCount()Additional URLs for the ad that are tagged with a unique identifier that can be referenced from other fields in the ad.java.util.List<UrlCollection>getUrlCollectionsList()Additional URLs for the ad that are tagged with a unique identifier that can be referenced from other fields in the ad.UrlCollectionOrBuildergetUrlCollectionsOrBuilder(int index)Additional URLs for the ad that are tagged with a unique identifier that can be referenced from other fields in the ad.java.util.List<? extends UrlCollectionOrBuilder>getUrlCollectionsOrBuilderList()Additional URLs for the ad that are tagged with a unique identifier that can be referenced from other fields in the ad.CustomParametergetUrlCustomParameters(int index)The list of mappings that can be used to substitute custom parameter tags in a `tracking_url_template`, `final_urls`, or `mobile_final_urls`.intgetUrlCustomParametersCount()The list of mappings that can be used to substitute custom parameter tags in a `tracking_url_template`, `final_urls`, or `mobile_final_urls`.java.util.List<CustomParameter>getUrlCustomParametersList()The list of mappings that can be used to substitute custom parameter tags in a `tracking_url_template`, `final_urls`, or `mobile_final_urls`.CustomParameterOrBuildergetUrlCustomParametersOrBuilder(int index)The list of mappings that can be used to substitute custom parameter tags in a `tracking_url_template`, `final_urls`, or `mobile_final_urls`.java.util.List<? extends CustomParameterOrBuilder>getUrlCustomParametersOrBuilderList()The list of mappings that can be used to substitute custom parameter tags in a `tracking_url_template`, `final_urls`, or `mobile_final_urls`.VideoAdInfogetVideoAd()Details pertaining to a Video ad.VideoAdInfoOrBuildergetVideoAdOrBuilder()Details pertaining to a Video ad.VideoResponsiveAdInfogetVideoResponsiveAd()Details pertaining to a Video responsive ad.VideoResponsiveAdInfoOrBuildergetVideoResponsiveAdOrBuilder()Details pertaining to a Video responsive ad.booleanhasAddedByGoogleAds()Output only.booleanhasAppAd()Details pertaining to an app ad.booleanhasAppEngagementAd()Details pertaining to an app engagement ad.booleanhasAppPreRegistrationAd()Details pertaining to an app pre-registration ad.booleanhasCallAd()Details pertaining to a call ad.booleanhasDisplayUploadAd()Details pertaining to a display upload ad.booleanhasDisplayUrl()The URL that appears in the ad description for some ad formats.booleanhasExpandedDynamicSearchAd()Immutable.booleanhasExpandedTextAd()Details pertaining to an expanded text ad.booleanhasFinalUrlSuffix()The suffix to use when constructing a final URL.booleanhasGmailAd()Immutable.inthashCode()booleanhasHotelAd()Details pertaining to a hotel ad.booleanhasId()Output only.booleanhasImageAd()Immutable.booleanhasLegacyAppInstallAd()Immutable.booleanhasLegacyResponsiveDisplayAd()Details pertaining to a legacy responsive display ad.booleanhasLocalAd()Details pertaining to a local ad.booleanhasName()Immutable.booleanhasResponsiveDisplayAd()Details pertaining to a responsive display ad.booleanhasResponsiveSearchAd()Details pertaining to a responsive search ad.booleanhasShoppingComparisonListingAd()Details pertaining to a Shopping Comparison Listing ad.booleanhasShoppingProductAd()Details pertaining to a Shopping product ad.booleanhasShoppingSmartAd()Details pertaining to a Smart Shopping ad.booleanhasSmartCampaignAd()Details pertaining to a Smart campaign ad.booleanhasTextAd()Immutable.booleanhasTrackingUrlTemplate()The URL template for constructing a tracking URL.booleanhasVideoAd()Details pertaining to a Video ad.booleanhasVideoResponsiveAd()Details pertaining to a Video responsive ad.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static Ad.BuildernewBuilder()static Ad.BuildernewBuilder(Ad prototype)Ad.BuildernewBuilderForType()protected Ad.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected java.lang.ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static AdparseDelimitedFrom(java.io.InputStream input)static AdparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static AdparseFrom(byte[] data)static AdparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static AdparseFrom(com.google.protobuf.ByteString data)static AdparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static AdparseFrom(com.google.protobuf.CodedInputStream input)static AdparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static AdparseFrom(java.io.InputStream input)static AdparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static AdparseFrom(java.nio.ByteBuffer data)static AdparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Ad>parser()Ad.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
RESOURCE_NAME_FIELD_NUMBER
public static final int RESOURCE_NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FINAL_URLS_FIELD_NUMBER
public static final int FINAL_URLS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FINAL_APP_URLS_FIELD_NUMBER
public static final int FINAL_APP_URLS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FINAL_MOBILE_URLS_FIELD_NUMBER
public static final int FINAL_MOBILE_URLS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TRACKING_URL_TEMPLATE_FIELD_NUMBER
public static final int TRACKING_URL_TEMPLATE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FINAL_URL_SUFFIX_FIELD_NUMBER
public static final int FINAL_URL_SUFFIX_FIELD_NUMBER
- See Also:
- Constant Field Values
-
URL_CUSTOM_PARAMETERS_FIELD_NUMBER
public static final int URL_CUSTOM_PARAMETERS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DISPLAY_URL_FIELD_NUMBER
public static final int DISPLAY_URL_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ADDED_BY_GOOGLE_ADS_FIELD_NUMBER
public static final int ADDED_BY_GOOGLE_ADS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DEVICE_PREFERENCE_FIELD_NUMBER
public static final int DEVICE_PREFERENCE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
URL_COLLECTIONS_FIELD_NUMBER
public static final int URL_COLLECTIONS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SYSTEM_MANAGED_RESOURCE_SOURCE_FIELD_NUMBER
public static final int SYSTEM_MANAGED_RESOURCE_SOURCE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TEXT_AD_FIELD_NUMBER
public static final int TEXT_AD_FIELD_NUMBER
- See Also:
- Constant Field Values
-
EXPANDED_TEXT_AD_FIELD_NUMBER
public static final int EXPANDED_TEXT_AD_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CALL_AD_FIELD_NUMBER
public static final int CALL_AD_FIELD_NUMBER
- See Also:
- Constant Field Values
-
EXPANDED_DYNAMIC_SEARCH_AD_FIELD_NUMBER
public static final int EXPANDED_DYNAMIC_SEARCH_AD_FIELD_NUMBER
- See Also:
- Constant Field Values
-
HOTEL_AD_FIELD_NUMBER
public static final int HOTEL_AD_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SHOPPING_SMART_AD_FIELD_NUMBER
public static final int SHOPPING_SMART_AD_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SHOPPING_PRODUCT_AD_FIELD_NUMBER
public static final int SHOPPING_PRODUCT_AD_FIELD_NUMBER
- See Also:
- Constant Field Values
-
GMAIL_AD_FIELD_NUMBER
public static final int GMAIL_AD_FIELD_NUMBER
- See Also:
- Constant Field Values
-
IMAGE_AD_FIELD_NUMBER
public static final int IMAGE_AD_FIELD_NUMBER
- See Also:
- Constant Field Values
-
VIDEO_AD_FIELD_NUMBER
public static final int VIDEO_AD_FIELD_NUMBER
- See Also:
- Constant Field Values
-
VIDEO_RESPONSIVE_AD_FIELD_NUMBER
public static final int VIDEO_RESPONSIVE_AD_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RESPONSIVE_SEARCH_AD_FIELD_NUMBER
public static final int RESPONSIVE_SEARCH_AD_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LEGACY_RESPONSIVE_DISPLAY_AD_FIELD_NUMBER
public static final int LEGACY_RESPONSIVE_DISPLAY_AD_FIELD_NUMBER
- See Also:
- Constant Field Values
-
APP_AD_FIELD_NUMBER
public static final int APP_AD_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LEGACY_APP_INSTALL_AD_FIELD_NUMBER
public static final int LEGACY_APP_INSTALL_AD_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RESPONSIVE_DISPLAY_AD_FIELD_NUMBER
public static final int RESPONSIVE_DISPLAY_AD_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LOCAL_AD_FIELD_NUMBER
public static final int LOCAL_AD_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DISPLAY_UPLOAD_AD_FIELD_NUMBER
public static final int DISPLAY_UPLOAD_AD_FIELD_NUMBER
- See Also:
- Constant Field Values
-
APP_ENGAGEMENT_AD_FIELD_NUMBER
public static final int APP_ENGAGEMENT_AD_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SHOPPING_COMPARISON_LISTING_AD_FIELD_NUMBER
public static final int SHOPPING_COMPARISON_LISTING_AD_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SMART_CAMPAIGN_AD_FIELD_NUMBER
public static final int SMART_CAMPAIGN_AD_FIELD_NUMBER
- See Also:
- Constant Field Values
-
APP_PRE_REGISTRATION_AD_FIELD_NUMBER
public static final int APP_PRE_REGISTRATION_AD_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected java.lang.Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getAdDataCase
public Ad.AdDataCase getAdDataCase()
- Specified by:
getAdDataCasein interfaceAdOrBuilder
-
getResourceName
public java.lang.String getResourceName()
Immutable. The resource name of the ad. Ad resource names have the form: `customers/{customer_id}/ads/{ad_id}`string resource_name = 37 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Specified by:
getResourceNamein interfaceAdOrBuilder- Returns:
- The resourceName.
-
getResourceNameBytes
public com.google.protobuf.ByteString getResourceNameBytes()
Immutable. The resource name of the ad. Ad resource names have the form: `customers/{customer_id}/ads/{ad_id}`string resource_name = 37 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Specified by:
getResourceNameBytesin interfaceAdOrBuilder- Returns:
- The bytes for resourceName.
-
hasId
public boolean hasId()
Output only. The ID of the ad.
optional int64 id = 40 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasIdin interfaceAdOrBuilder- Returns:
- Whether the id field is set.
-
getId
public long getId()
Output only. The ID of the ad.
optional int64 id = 40 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getIdin interfaceAdOrBuilder- Returns:
- The id.
-
getFinalUrlsList
public com.google.protobuf.ProtocolStringList getFinalUrlsList()
The list of possible final URLs after all cross-domain redirects for the ad.
repeated string final_urls = 41;- Specified by:
getFinalUrlsListin interfaceAdOrBuilder- Returns:
- A list containing the finalUrls.
-
getFinalUrlsCount
public int getFinalUrlsCount()
The list of possible final URLs after all cross-domain redirects for the ad.
repeated string final_urls = 41;- Specified by:
getFinalUrlsCountin interfaceAdOrBuilder- Returns:
- The count of finalUrls.
-
getFinalUrls
public java.lang.String getFinalUrls(int index)
The list of possible final URLs after all cross-domain redirects for the ad.
repeated string final_urls = 41;- Specified by:
getFinalUrlsin interfaceAdOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The finalUrls at the given index.
-
getFinalUrlsBytes
public com.google.protobuf.ByteString getFinalUrlsBytes(int index)
The list of possible final URLs after all cross-domain redirects for the ad.
repeated string final_urls = 41;- Specified by:
getFinalUrlsBytesin interfaceAdOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the finalUrls at the given index.
-
getFinalAppUrlsList
public java.util.List<FinalAppUrl> getFinalAppUrlsList()
A list of final app URLs that will be used on mobile if the user has the specific app installed.
repeated .google.ads.googleads.v10.common.FinalAppUrl final_app_urls = 35;- Specified by:
getFinalAppUrlsListin interfaceAdOrBuilder
-
getFinalAppUrlsOrBuilderList
public java.util.List<? extends FinalAppUrlOrBuilder> getFinalAppUrlsOrBuilderList()
A list of final app URLs that will be used on mobile if the user has the specific app installed.
repeated .google.ads.googleads.v10.common.FinalAppUrl final_app_urls = 35;- Specified by:
getFinalAppUrlsOrBuilderListin interfaceAdOrBuilder
-
getFinalAppUrlsCount
public int getFinalAppUrlsCount()
A list of final app URLs that will be used on mobile if the user has the specific app installed.
repeated .google.ads.googleads.v10.common.FinalAppUrl final_app_urls = 35;- Specified by:
getFinalAppUrlsCountin interfaceAdOrBuilder
-
getFinalAppUrls
public FinalAppUrl getFinalAppUrls(int index)
A list of final app URLs that will be used on mobile if the user has the specific app installed.
repeated .google.ads.googleads.v10.common.FinalAppUrl final_app_urls = 35;- Specified by:
getFinalAppUrlsin interfaceAdOrBuilder
-
getFinalAppUrlsOrBuilder
public FinalAppUrlOrBuilder getFinalAppUrlsOrBuilder(int index)
A list of final app URLs that will be used on mobile if the user has the specific app installed.
repeated .google.ads.googleads.v10.common.FinalAppUrl final_app_urls = 35;- Specified by:
getFinalAppUrlsOrBuilderin interfaceAdOrBuilder
-
getFinalMobileUrlsList
public com.google.protobuf.ProtocolStringList getFinalMobileUrlsList()
The list of possible final mobile URLs after all cross-domain redirects for the ad.
repeated string final_mobile_urls = 42;- Specified by:
getFinalMobileUrlsListin interfaceAdOrBuilder- Returns:
- A list containing the finalMobileUrls.
-
getFinalMobileUrlsCount
public int getFinalMobileUrlsCount()
The list of possible final mobile URLs after all cross-domain redirects for the ad.
repeated string final_mobile_urls = 42;- Specified by:
getFinalMobileUrlsCountin interfaceAdOrBuilder- Returns:
- The count of finalMobileUrls.
-
getFinalMobileUrls
public java.lang.String getFinalMobileUrls(int index)
The list of possible final mobile URLs after all cross-domain redirects for the ad.
repeated string final_mobile_urls = 42;- Specified by:
getFinalMobileUrlsin interfaceAdOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The finalMobileUrls at the given index.
-
getFinalMobileUrlsBytes
public com.google.protobuf.ByteString getFinalMobileUrlsBytes(int index)
The list of possible final mobile URLs after all cross-domain redirects for the ad.
repeated string final_mobile_urls = 42;- Specified by:
getFinalMobileUrlsBytesin interfaceAdOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the finalMobileUrls at the given index.
-
hasTrackingUrlTemplate
public boolean hasTrackingUrlTemplate()
The URL template for constructing a tracking URL.
optional string tracking_url_template = 43;- Specified by:
hasTrackingUrlTemplatein interfaceAdOrBuilder- Returns:
- Whether the trackingUrlTemplate field is set.
-
getTrackingUrlTemplate
public java.lang.String getTrackingUrlTemplate()
The URL template for constructing a tracking URL.
optional string tracking_url_template = 43;- Specified by:
getTrackingUrlTemplatein interfaceAdOrBuilder- Returns:
- The trackingUrlTemplate.
-
getTrackingUrlTemplateBytes
public com.google.protobuf.ByteString getTrackingUrlTemplateBytes()
The URL template for constructing a tracking URL.
optional string tracking_url_template = 43;- Specified by:
getTrackingUrlTemplateBytesin interfaceAdOrBuilder- Returns:
- The bytes for trackingUrlTemplate.
-
hasFinalUrlSuffix
public boolean hasFinalUrlSuffix()
The suffix to use when constructing a final URL.
optional string final_url_suffix = 44;- Specified by:
hasFinalUrlSuffixin interfaceAdOrBuilder- Returns:
- Whether the finalUrlSuffix field is set.
-
getFinalUrlSuffix
public java.lang.String getFinalUrlSuffix()
The suffix to use when constructing a final URL.
optional string final_url_suffix = 44;- Specified by:
getFinalUrlSuffixin interfaceAdOrBuilder- Returns:
- The finalUrlSuffix.
-
getFinalUrlSuffixBytes
public com.google.protobuf.ByteString getFinalUrlSuffixBytes()
The suffix to use when constructing a final URL.
optional string final_url_suffix = 44;- Specified by:
getFinalUrlSuffixBytesin interfaceAdOrBuilder- Returns:
- The bytes for finalUrlSuffix.
-
getUrlCustomParametersList
public java.util.List<CustomParameter> getUrlCustomParametersList()
The list of mappings that can be used to substitute custom parameter tags in a `tracking_url_template`, `final_urls`, or `mobile_final_urls`. For mutates, please use url custom parameter operations.
repeated .google.ads.googleads.v10.common.CustomParameter url_custom_parameters = 10;- Specified by:
getUrlCustomParametersListin interfaceAdOrBuilder
-
getUrlCustomParametersOrBuilderList
public java.util.List<? extends CustomParameterOrBuilder> getUrlCustomParametersOrBuilderList()
The list of mappings that can be used to substitute custom parameter tags in a `tracking_url_template`, `final_urls`, or `mobile_final_urls`. For mutates, please use url custom parameter operations.
repeated .google.ads.googleads.v10.common.CustomParameter url_custom_parameters = 10;- Specified by:
getUrlCustomParametersOrBuilderListin interfaceAdOrBuilder
-
getUrlCustomParametersCount
public int getUrlCustomParametersCount()
The list of mappings that can be used to substitute custom parameter tags in a `tracking_url_template`, `final_urls`, or `mobile_final_urls`. For mutates, please use url custom parameter operations.
repeated .google.ads.googleads.v10.common.CustomParameter url_custom_parameters = 10;- Specified by:
getUrlCustomParametersCountin interfaceAdOrBuilder
-
getUrlCustomParameters
public CustomParameter getUrlCustomParameters(int index)
The list of mappings that can be used to substitute custom parameter tags in a `tracking_url_template`, `final_urls`, or `mobile_final_urls`. For mutates, please use url custom parameter operations.
repeated .google.ads.googleads.v10.common.CustomParameter url_custom_parameters = 10;- Specified by:
getUrlCustomParametersin interfaceAdOrBuilder
-
getUrlCustomParametersOrBuilder
public CustomParameterOrBuilder getUrlCustomParametersOrBuilder(int index)
The list of mappings that can be used to substitute custom parameter tags in a `tracking_url_template`, `final_urls`, or `mobile_final_urls`. For mutates, please use url custom parameter operations.
repeated .google.ads.googleads.v10.common.CustomParameter url_custom_parameters = 10;- Specified by:
getUrlCustomParametersOrBuilderin interfaceAdOrBuilder
-
hasDisplayUrl
public boolean hasDisplayUrl()
The URL that appears in the ad description for some ad formats.
optional string display_url = 45;- Specified by:
hasDisplayUrlin interfaceAdOrBuilder- Returns:
- Whether the displayUrl field is set.
-
getDisplayUrl
public java.lang.String getDisplayUrl()
The URL that appears in the ad description for some ad formats.
optional string display_url = 45;- Specified by:
getDisplayUrlin interfaceAdOrBuilder- Returns:
- The displayUrl.
-
getDisplayUrlBytes
public com.google.protobuf.ByteString getDisplayUrlBytes()
The URL that appears in the ad description for some ad formats.
optional string display_url = 45;- Specified by:
getDisplayUrlBytesin interfaceAdOrBuilder- Returns:
- The bytes for displayUrl.
-
getTypeValue
public int getTypeValue()
Output only. The type of ad.
.google.ads.googleads.v10.enums.AdTypeEnum.AdType type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getTypeValuein interfaceAdOrBuilder- Returns:
- The enum numeric value on the wire for type.
-
getType
public AdTypeEnum.AdType getType()
Output only. The type of ad.
.google.ads.googleads.v10.enums.AdTypeEnum.AdType type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getTypein interfaceAdOrBuilder- Returns:
- The type.
-
hasAddedByGoogleAds
public boolean hasAddedByGoogleAds()
Output only. Indicates if this ad was automatically added by Google Ads and not by a user. For example, this could happen when ads are automatically created as suggestions for new ads based on knowledge of how existing ads are performing.
optional bool added_by_google_ads = 46 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasAddedByGoogleAdsin interfaceAdOrBuilder- Returns:
- Whether the addedByGoogleAds field is set.
-
getAddedByGoogleAds
public boolean getAddedByGoogleAds()
Output only. Indicates if this ad was automatically added by Google Ads and not by a user. For example, this could happen when ads are automatically created as suggestions for new ads based on knowledge of how existing ads are performing.
optional bool added_by_google_ads = 46 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getAddedByGoogleAdsin interfaceAdOrBuilder- Returns:
- The addedByGoogleAds.
-
getDevicePreferenceValue
public int getDevicePreferenceValue()
The device preference for the ad. You can only specify a preference for mobile devices. When this preference is set the ad will be preferred over other ads when being displayed on a mobile device. The ad can still be displayed on other device types, e.g. if no other ads are available. If unspecified (no device preference), all devices are targeted. This is only supported by some ad types.
.google.ads.googleads.v10.enums.DeviceEnum.Device device_preference = 20;- Specified by:
getDevicePreferenceValuein interfaceAdOrBuilder- Returns:
- The enum numeric value on the wire for devicePreference.
-
getDevicePreference
public DeviceEnum.Device getDevicePreference()
The device preference for the ad. You can only specify a preference for mobile devices. When this preference is set the ad will be preferred over other ads when being displayed on a mobile device. The ad can still be displayed on other device types, e.g. if no other ads are available. If unspecified (no device preference), all devices are targeted. This is only supported by some ad types.
.google.ads.googleads.v10.enums.DeviceEnum.Device device_preference = 20;- Specified by:
getDevicePreferencein interfaceAdOrBuilder- Returns:
- The devicePreference.
-
getUrlCollectionsList
public java.util.List<UrlCollection> getUrlCollectionsList()
Additional URLs for the ad that are tagged with a unique identifier that can be referenced from other fields in the ad.
repeated .google.ads.googleads.v10.common.UrlCollection url_collections = 26;- Specified by:
getUrlCollectionsListin interfaceAdOrBuilder
-
getUrlCollectionsOrBuilderList
public java.util.List<? extends UrlCollectionOrBuilder> getUrlCollectionsOrBuilderList()
Additional URLs for the ad that are tagged with a unique identifier that can be referenced from other fields in the ad.
repeated .google.ads.googleads.v10.common.UrlCollection url_collections = 26;- Specified by:
getUrlCollectionsOrBuilderListin interfaceAdOrBuilder
-
getUrlCollectionsCount
public int getUrlCollectionsCount()
Additional URLs for the ad that are tagged with a unique identifier that can be referenced from other fields in the ad.
repeated .google.ads.googleads.v10.common.UrlCollection url_collections = 26;- Specified by:
getUrlCollectionsCountin interfaceAdOrBuilder
-
getUrlCollections
public UrlCollection getUrlCollections(int index)
Additional URLs for the ad that are tagged with a unique identifier that can be referenced from other fields in the ad.
repeated .google.ads.googleads.v10.common.UrlCollection url_collections = 26;- Specified by:
getUrlCollectionsin interfaceAdOrBuilder
-
getUrlCollectionsOrBuilder
public UrlCollectionOrBuilder getUrlCollectionsOrBuilder(int index)
Additional URLs for the ad that are tagged with a unique identifier that can be referenced from other fields in the ad.
repeated .google.ads.googleads.v10.common.UrlCollection url_collections = 26;- Specified by:
getUrlCollectionsOrBuilderin interfaceAdOrBuilder
-
hasName
public boolean hasName()
Immutable. The name of the ad. This is only used to be able to identify the ad. It does not need to be unique and does not affect the served ad. The name field is currently only supported for DisplayUploadAd, ImageAd, ShoppingComparisonListingAd and VideoAd.
optional string name = 47 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
hasNamein interfaceAdOrBuilder- Returns:
- Whether the name field is set.
-
getName
public java.lang.String getName()
Immutable. The name of the ad. This is only used to be able to identify the ad. It does not need to be unique and does not affect the served ad. The name field is currently only supported for DisplayUploadAd, ImageAd, ShoppingComparisonListingAd and VideoAd.
optional string name = 47 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
getNamein interfaceAdOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
Immutable. The name of the ad. This is only used to be able to identify the ad. It does not need to be unique and does not affect the served ad. The name field is currently only supported for DisplayUploadAd, ImageAd, ShoppingComparisonListingAd and VideoAd.
optional string name = 47 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
getNameBytesin interfaceAdOrBuilder- Returns:
- The bytes for name.
-
getSystemManagedResourceSourceValue
public int getSystemManagedResourceSourceValue()
Output only. If this ad is system managed, then this field will indicate the source. This field is read-only.
.google.ads.googleads.v10.enums.SystemManagedResourceSourceEnum.SystemManagedResourceSource system_managed_resource_source = 27 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getSystemManagedResourceSourceValuein interfaceAdOrBuilder- Returns:
- The enum numeric value on the wire for systemManagedResourceSource.
-
getSystemManagedResourceSource
public SystemManagedResourceSourceEnum.SystemManagedResourceSource getSystemManagedResourceSource()
Output only. If this ad is system managed, then this field will indicate the source. This field is read-only.
.google.ads.googleads.v10.enums.SystemManagedResourceSourceEnum.SystemManagedResourceSource system_managed_resource_source = 27 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getSystemManagedResourceSourcein interfaceAdOrBuilder- Returns:
- The systemManagedResourceSource.
-
hasTextAd
public boolean hasTextAd()
Immutable. Details pertaining to a text ad.
.google.ads.googleads.v10.common.TextAdInfo text_ad = 6 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
hasTextAdin interfaceAdOrBuilder- Returns:
- Whether the textAd field is set.
-
getTextAd
public TextAdInfo getTextAd()
Immutable. Details pertaining to a text ad.
.google.ads.googleads.v10.common.TextAdInfo text_ad = 6 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
getTextAdin interfaceAdOrBuilder- Returns:
- The textAd.
-
getTextAdOrBuilder
public TextAdInfoOrBuilder getTextAdOrBuilder()
Immutable. Details pertaining to a text ad.
.google.ads.googleads.v10.common.TextAdInfo text_ad = 6 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
getTextAdOrBuilderin interfaceAdOrBuilder
-
hasExpandedTextAd
public boolean hasExpandedTextAd()
Details pertaining to an expanded text ad.
.google.ads.googleads.v10.common.ExpandedTextAdInfo expanded_text_ad = 7;- Specified by:
hasExpandedTextAdin interfaceAdOrBuilder- Returns:
- Whether the expandedTextAd field is set.
-
getExpandedTextAd
public ExpandedTextAdInfo getExpandedTextAd()
Details pertaining to an expanded text ad.
.google.ads.googleads.v10.common.ExpandedTextAdInfo expanded_text_ad = 7;- Specified by:
getExpandedTextAdin interfaceAdOrBuilder- Returns:
- The expandedTextAd.
-
getExpandedTextAdOrBuilder
public ExpandedTextAdInfoOrBuilder getExpandedTextAdOrBuilder()
Details pertaining to an expanded text ad.
.google.ads.googleads.v10.common.ExpandedTextAdInfo expanded_text_ad = 7;- Specified by:
getExpandedTextAdOrBuilderin interfaceAdOrBuilder
-
hasCallAd
public boolean hasCallAd()
Details pertaining to a call ad.
.google.ads.googleads.v10.common.CallAdInfo call_ad = 49;- Specified by:
hasCallAdin interfaceAdOrBuilder- Returns:
- Whether the callAd field is set.
-
getCallAd
public CallAdInfo getCallAd()
Details pertaining to a call ad.
.google.ads.googleads.v10.common.CallAdInfo call_ad = 49;- Specified by:
getCallAdin interfaceAdOrBuilder- Returns:
- The callAd.
-
getCallAdOrBuilder
public CallAdInfoOrBuilder getCallAdOrBuilder()
Details pertaining to a call ad.
.google.ads.googleads.v10.common.CallAdInfo call_ad = 49;- Specified by:
getCallAdOrBuilderin interfaceAdOrBuilder
-
hasExpandedDynamicSearchAd
public boolean hasExpandedDynamicSearchAd()
Immutable. Details pertaining to an Expanded Dynamic Search Ad. This type of ad has its headline, final URLs, and display URL auto-generated at serving time according to domain name specific information provided by `dynamic_search_ads_setting` linked at the campaign level.
.google.ads.googleads.v10.common.ExpandedDynamicSearchAdInfo expanded_dynamic_search_ad = 14 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
hasExpandedDynamicSearchAdin interfaceAdOrBuilder- Returns:
- Whether the expandedDynamicSearchAd field is set.
-
getExpandedDynamicSearchAd
public ExpandedDynamicSearchAdInfo getExpandedDynamicSearchAd()
Immutable. Details pertaining to an Expanded Dynamic Search Ad. This type of ad has its headline, final URLs, and display URL auto-generated at serving time according to domain name specific information provided by `dynamic_search_ads_setting` linked at the campaign level.
.google.ads.googleads.v10.common.ExpandedDynamicSearchAdInfo expanded_dynamic_search_ad = 14 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
getExpandedDynamicSearchAdin interfaceAdOrBuilder- Returns:
- The expandedDynamicSearchAd.
-
getExpandedDynamicSearchAdOrBuilder
public ExpandedDynamicSearchAdInfoOrBuilder getExpandedDynamicSearchAdOrBuilder()
Immutable. Details pertaining to an Expanded Dynamic Search Ad. This type of ad has its headline, final URLs, and display URL auto-generated at serving time according to domain name specific information provided by `dynamic_search_ads_setting` linked at the campaign level.
.google.ads.googleads.v10.common.ExpandedDynamicSearchAdInfo expanded_dynamic_search_ad = 14 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
getExpandedDynamicSearchAdOrBuilderin interfaceAdOrBuilder
-
hasHotelAd
public boolean hasHotelAd()
Details pertaining to a hotel ad.
.google.ads.googleads.v10.common.HotelAdInfo hotel_ad = 15;- Specified by:
hasHotelAdin interfaceAdOrBuilder- Returns:
- Whether the hotelAd field is set.
-
getHotelAd
public HotelAdInfo getHotelAd()
Details pertaining to a hotel ad.
.google.ads.googleads.v10.common.HotelAdInfo hotel_ad = 15;- Specified by:
getHotelAdin interfaceAdOrBuilder- Returns:
- The hotelAd.
-
getHotelAdOrBuilder
public HotelAdInfoOrBuilder getHotelAdOrBuilder()
Details pertaining to a hotel ad.
.google.ads.googleads.v10.common.HotelAdInfo hotel_ad = 15;- Specified by:
getHotelAdOrBuilderin interfaceAdOrBuilder
-
hasShoppingSmartAd
public boolean hasShoppingSmartAd()
Details pertaining to a Smart Shopping ad.
.google.ads.googleads.v10.common.ShoppingSmartAdInfo shopping_smart_ad = 17;- Specified by:
hasShoppingSmartAdin interfaceAdOrBuilder- Returns:
- Whether the shoppingSmartAd field is set.
-
getShoppingSmartAd
public ShoppingSmartAdInfo getShoppingSmartAd()
Details pertaining to a Smart Shopping ad.
.google.ads.googleads.v10.common.ShoppingSmartAdInfo shopping_smart_ad = 17;- Specified by:
getShoppingSmartAdin interfaceAdOrBuilder- Returns:
- The shoppingSmartAd.
-
getShoppingSmartAdOrBuilder
public ShoppingSmartAdInfoOrBuilder getShoppingSmartAdOrBuilder()
Details pertaining to a Smart Shopping ad.
.google.ads.googleads.v10.common.ShoppingSmartAdInfo shopping_smart_ad = 17;- Specified by:
getShoppingSmartAdOrBuilderin interfaceAdOrBuilder
-
hasShoppingProductAd
public boolean hasShoppingProductAd()
Details pertaining to a Shopping product ad.
.google.ads.googleads.v10.common.ShoppingProductAdInfo shopping_product_ad = 18;- Specified by:
hasShoppingProductAdin interfaceAdOrBuilder- Returns:
- Whether the shoppingProductAd field is set.
-
getShoppingProductAd
public ShoppingProductAdInfo getShoppingProductAd()
Details pertaining to a Shopping product ad.
.google.ads.googleads.v10.common.ShoppingProductAdInfo shopping_product_ad = 18;- Specified by:
getShoppingProductAdin interfaceAdOrBuilder- Returns:
- The shoppingProductAd.
-
getShoppingProductAdOrBuilder
public ShoppingProductAdInfoOrBuilder getShoppingProductAdOrBuilder()
Details pertaining to a Shopping product ad.
.google.ads.googleads.v10.common.ShoppingProductAdInfo shopping_product_ad = 18;- Specified by:
getShoppingProductAdOrBuilderin interfaceAdOrBuilder
-
hasGmailAd
public boolean hasGmailAd()
Immutable. Details pertaining to a Gmail ad.
.google.ads.googleads.v10.common.GmailAdInfo gmail_ad = 21 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
hasGmailAdin interfaceAdOrBuilder- Returns:
- Whether the gmailAd field is set.
-
getGmailAd
public GmailAdInfo getGmailAd()
Immutable. Details pertaining to a Gmail ad.
.google.ads.googleads.v10.common.GmailAdInfo gmail_ad = 21 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
getGmailAdin interfaceAdOrBuilder- Returns:
- The gmailAd.
-
getGmailAdOrBuilder
public GmailAdInfoOrBuilder getGmailAdOrBuilder()
Immutable. Details pertaining to a Gmail ad.
.google.ads.googleads.v10.common.GmailAdInfo gmail_ad = 21 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
getGmailAdOrBuilderin interfaceAdOrBuilder
-
hasImageAd
public boolean hasImageAd()
Immutable. Details pertaining to an Image ad.
.google.ads.googleads.v10.common.ImageAdInfo image_ad = 22 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
hasImageAdin interfaceAdOrBuilder- Returns:
- Whether the imageAd field is set.
-
getImageAd
public ImageAdInfo getImageAd()
Immutable. Details pertaining to an Image ad.
.google.ads.googleads.v10.common.ImageAdInfo image_ad = 22 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
getImageAdin interfaceAdOrBuilder- Returns:
- The imageAd.
-
getImageAdOrBuilder
public ImageAdInfoOrBuilder getImageAdOrBuilder()
Immutable. Details pertaining to an Image ad.
.google.ads.googleads.v10.common.ImageAdInfo image_ad = 22 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
getImageAdOrBuilderin interfaceAdOrBuilder
-
hasVideoAd
public boolean hasVideoAd()
Details pertaining to a Video ad.
.google.ads.googleads.v10.common.VideoAdInfo video_ad = 24;- Specified by:
hasVideoAdin interfaceAdOrBuilder- Returns:
- Whether the videoAd field is set.
-
getVideoAd
public VideoAdInfo getVideoAd()
Details pertaining to a Video ad.
.google.ads.googleads.v10.common.VideoAdInfo video_ad = 24;- Specified by:
getVideoAdin interfaceAdOrBuilder- Returns:
- The videoAd.
-
getVideoAdOrBuilder
public VideoAdInfoOrBuilder getVideoAdOrBuilder()
Details pertaining to a Video ad.
.google.ads.googleads.v10.common.VideoAdInfo video_ad = 24;- Specified by:
getVideoAdOrBuilderin interfaceAdOrBuilder
-
hasVideoResponsiveAd
public boolean hasVideoResponsiveAd()
Details pertaining to a Video responsive ad.
.google.ads.googleads.v10.common.VideoResponsiveAdInfo video_responsive_ad = 39;- Specified by:
hasVideoResponsiveAdin interfaceAdOrBuilder- Returns:
- Whether the videoResponsiveAd field is set.
-
getVideoResponsiveAd
public VideoResponsiveAdInfo getVideoResponsiveAd()
Details pertaining to a Video responsive ad.
.google.ads.googleads.v10.common.VideoResponsiveAdInfo video_responsive_ad = 39;- Specified by:
getVideoResponsiveAdin interfaceAdOrBuilder- Returns:
- The videoResponsiveAd.
-
getVideoResponsiveAdOrBuilder
public VideoResponsiveAdInfoOrBuilder getVideoResponsiveAdOrBuilder()
Details pertaining to a Video responsive ad.
.google.ads.googleads.v10.common.VideoResponsiveAdInfo video_responsive_ad = 39;- Specified by:
getVideoResponsiveAdOrBuilderin interfaceAdOrBuilder
-
hasResponsiveSearchAd
public boolean hasResponsiveSearchAd()
Details pertaining to a responsive search ad.
.google.ads.googleads.v10.common.ResponsiveSearchAdInfo responsive_search_ad = 25;- Specified by:
hasResponsiveSearchAdin interfaceAdOrBuilder- Returns:
- Whether the responsiveSearchAd field is set.
-
getResponsiveSearchAd
public ResponsiveSearchAdInfo getResponsiveSearchAd()
Details pertaining to a responsive search ad.
.google.ads.googleads.v10.common.ResponsiveSearchAdInfo responsive_search_ad = 25;- Specified by:
getResponsiveSearchAdin interfaceAdOrBuilder- Returns:
- The responsiveSearchAd.
-
getResponsiveSearchAdOrBuilder
public ResponsiveSearchAdInfoOrBuilder getResponsiveSearchAdOrBuilder()
Details pertaining to a responsive search ad.
.google.ads.googleads.v10.common.ResponsiveSearchAdInfo responsive_search_ad = 25;- Specified by:
getResponsiveSearchAdOrBuilderin interfaceAdOrBuilder
-
hasLegacyResponsiveDisplayAd
public boolean hasLegacyResponsiveDisplayAd()
Details pertaining to a legacy responsive display ad.
.google.ads.googleads.v10.common.LegacyResponsiveDisplayAdInfo legacy_responsive_display_ad = 28;- Specified by:
hasLegacyResponsiveDisplayAdin interfaceAdOrBuilder- Returns:
- Whether the legacyResponsiveDisplayAd field is set.
-
getLegacyResponsiveDisplayAd
public LegacyResponsiveDisplayAdInfo getLegacyResponsiveDisplayAd()
Details pertaining to a legacy responsive display ad.
.google.ads.googleads.v10.common.LegacyResponsiveDisplayAdInfo legacy_responsive_display_ad = 28;- Specified by:
getLegacyResponsiveDisplayAdin interfaceAdOrBuilder- Returns:
- The legacyResponsiveDisplayAd.
-
getLegacyResponsiveDisplayAdOrBuilder
public LegacyResponsiveDisplayAdInfoOrBuilder getLegacyResponsiveDisplayAdOrBuilder()
Details pertaining to a legacy responsive display ad.
.google.ads.googleads.v10.common.LegacyResponsiveDisplayAdInfo legacy_responsive_display_ad = 28;- Specified by:
getLegacyResponsiveDisplayAdOrBuilderin interfaceAdOrBuilder
-
hasAppAd
public boolean hasAppAd()
Details pertaining to an app ad.
.google.ads.googleads.v10.common.AppAdInfo app_ad = 29;- Specified by:
hasAppAdin interfaceAdOrBuilder- Returns:
- Whether the appAd field is set.
-
getAppAd
public AppAdInfo getAppAd()
Details pertaining to an app ad.
.google.ads.googleads.v10.common.AppAdInfo app_ad = 29;- Specified by:
getAppAdin interfaceAdOrBuilder- Returns:
- The appAd.
-
getAppAdOrBuilder
public AppAdInfoOrBuilder getAppAdOrBuilder()
Details pertaining to an app ad.
.google.ads.googleads.v10.common.AppAdInfo app_ad = 29;- Specified by:
getAppAdOrBuilderin interfaceAdOrBuilder
-
hasLegacyAppInstallAd
public boolean hasLegacyAppInstallAd()
Immutable. Details pertaining to a legacy app install ad.
.google.ads.googleads.v10.common.LegacyAppInstallAdInfo legacy_app_install_ad = 30 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
hasLegacyAppInstallAdin interfaceAdOrBuilder- Returns:
- Whether the legacyAppInstallAd field is set.
-
getLegacyAppInstallAd
public LegacyAppInstallAdInfo getLegacyAppInstallAd()
Immutable. Details pertaining to a legacy app install ad.
.google.ads.googleads.v10.common.LegacyAppInstallAdInfo legacy_app_install_ad = 30 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
getLegacyAppInstallAdin interfaceAdOrBuilder- Returns:
- The legacyAppInstallAd.
-
getLegacyAppInstallAdOrBuilder
public LegacyAppInstallAdInfoOrBuilder getLegacyAppInstallAdOrBuilder()
Immutable. Details pertaining to a legacy app install ad.
.google.ads.googleads.v10.common.LegacyAppInstallAdInfo legacy_app_install_ad = 30 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
getLegacyAppInstallAdOrBuilderin interfaceAdOrBuilder
-
hasResponsiveDisplayAd
public boolean hasResponsiveDisplayAd()
Details pertaining to a responsive display ad.
.google.ads.googleads.v10.common.ResponsiveDisplayAdInfo responsive_display_ad = 31;- Specified by:
hasResponsiveDisplayAdin interfaceAdOrBuilder- Returns:
- Whether the responsiveDisplayAd field is set.
-
getResponsiveDisplayAd
public ResponsiveDisplayAdInfo getResponsiveDisplayAd()
Details pertaining to a responsive display ad.
.google.ads.googleads.v10.common.ResponsiveDisplayAdInfo responsive_display_ad = 31;- Specified by:
getResponsiveDisplayAdin interfaceAdOrBuilder- Returns:
- The responsiveDisplayAd.
-
getResponsiveDisplayAdOrBuilder
public ResponsiveDisplayAdInfoOrBuilder getResponsiveDisplayAdOrBuilder()
Details pertaining to a responsive display ad.
.google.ads.googleads.v10.common.ResponsiveDisplayAdInfo responsive_display_ad = 31;- Specified by:
getResponsiveDisplayAdOrBuilderin interfaceAdOrBuilder
-
hasLocalAd
public boolean hasLocalAd()
Details pertaining to a local ad.
.google.ads.googleads.v10.common.LocalAdInfo local_ad = 32;- Specified by:
hasLocalAdin interfaceAdOrBuilder- Returns:
- Whether the localAd field is set.
-
getLocalAd
public LocalAdInfo getLocalAd()
Details pertaining to a local ad.
.google.ads.googleads.v10.common.LocalAdInfo local_ad = 32;- Specified by:
getLocalAdin interfaceAdOrBuilder- Returns:
- The localAd.
-
getLocalAdOrBuilder
public LocalAdInfoOrBuilder getLocalAdOrBuilder()
Details pertaining to a local ad.
.google.ads.googleads.v10.common.LocalAdInfo local_ad = 32;- Specified by:
getLocalAdOrBuilderin interfaceAdOrBuilder
-
hasDisplayUploadAd
public boolean hasDisplayUploadAd()
Details pertaining to a display upload ad.
.google.ads.googleads.v10.common.DisplayUploadAdInfo display_upload_ad = 33;- Specified by:
hasDisplayUploadAdin interfaceAdOrBuilder- Returns:
- Whether the displayUploadAd field is set.
-
getDisplayUploadAd
public DisplayUploadAdInfo getDisplayUploadAd()
Details pertaining to a display upload ad.
.google.ads.googleads.v10.common.DisplayUploadAdInfo display_upload_ad = 33;- Specified by:
getDisplayUploadAdin interfaceAdOrBuilder- Returns:
- The displayUploadAd.
-
getDisplayUploadAdOrBuilder
public DisplayUploadAdInfoOrBuilder getDisplayUploadAdOrBuilder()
Details pertaining to a display upload ad.
.google.ads.googleads.v10.common.DisplayUploadAdInfo display_upload_ad = 33;- Specified by:
getDisplayUploadAdOrBuilderin interfaceAdOrBuilder
-
hasAppEngagementAd
public boolean hasAppEngagementAd()
Details pertaining to an app engagement ad.
.google.ads.googleads.v10.common.AppEngagementAdInfo app_engagement_ad = 34;- Specified by:
hasAppEngagementAdin interfaceAdOrBuilder- Returns:
- Whether the appEngagementAd field is set.
-
getAppEngagementAd
public AppEngagementAdInfo getAppEngagementAd()
Details pertaining to an app engagement ad.
.google.ads.googleads.v10.common.AppEngagementAdInfo app_engagement_ad = 34;- Specified by:
getAppEngagementAdin interfaceAdOrBuilder- Returns:
- The appEngagementAd.
-
getAppEngagementAdOrBuilder
public AppEngagementAdInfoOrBuilder getAppEngagementAdOrBuilder()
Details pertaining to an app engagement ad.
.google.ads.googleads.v10.common.AppEngagementAdInfo app_engagement_ad = 34;- Specified by:
getAppEngagementAdOrBuilderin interfaceAdOrBuilder
-
hasShoppingComparisonListingAd
public boolean hasShoppingComparisonListingAd()
Details pertaining to a Shopping Comparison Listing ad.
.google.ads.googleads.v10.common.ShoppingComparisonListingAdInfo shopping_comparison_listing_ad = 36;- Specified by:
hasShoppingComparisonListingAdin interfaceAdOrBuilder- Returns:
- Whether the shoppingComparisonListingAd field is set.
-
getShoppingComparisonListingAd
public ShoppingComparisonListingAdInfo getShoppingComparisonListingAd()
Details pertaining to a Shopping Comparison Listing ad.
.google.ads.googleads.v10.common.ShoppingComparisonListingAdInfo shopping_comparison_listing_ad = 36;- Specified by:
getShoppingComparisonListingAdin interfaceAdOrBuilder- Returns:
- The shoppingComparisonListingAd.
-
getShoppingComparisonListingAdOrBuilder
public ShoppingComparisonListingAdInfoOrBuilder getShoppingComparisonListingAdOrBuilder()
Details pertaining to a Shopping Comparison Listing ad.
.google.ads.googleads.v10.common.ShoppingComparisonListingAdInfo shopping_comparison_listing_ad = 36;- Specified by:
getShoppingComparisonListingAdOrBuilderin interfaceAdOrBuilder
-
hasSmartCampaignAd
public boolean hasSmartCampaignAd()
Details pertaining to a Smart campaign ad.
.google.ads.googleads.v10.common.SmartCampaignAdInfo smart_campaign_ad = 48;- Specified by:
hasSmartCampaignAdin interfaceAdOrBuilder- Returns:
- Whether the smartCampaignAd field is set.
-
getSmartCampaignAd
public SmartCampaignAdInfo getSmartCampaignAd()
Details pertaining to a Smart campaign ad.
.google.ads.googleads.v10.common.SmartCampaignAdInfo smart_campaign_ad = 48;- Specified by:
getSmartCampaignAdin interfaceAdOrBuilder- Returns:
- The smartCampaignAd.
-
getSmartCampaignAdOrBuilder
public SmartCampaignAdInfoOrBuilder getSmartCampaignAdOrBuilder()
Details pertaining to a Smart campaign ad.
.google.ads.googleads.v10.common.SmartCampaignAdInfo smart_campaign_ad = 48;- Specified by:
getSmartCampaignAdOrBuilderin interfaceAdOrBuilder
-
hasAppPreRegistrationAd
public boolean hasAppPreRegistrationAd()
Details pertaining to an app pre-registration ad.
.google.ads.googleads.v10.common.AppPreRegistrationAdInfo app_pre_registration_ad = 50;- Specified by:
hasAppPreRegistrationAdin interfaceAdOrBuilder- Returns:
- Whether the appPreRegistrationAd field is set.
-
getAppPreRegistrationAd
public AppPreRegistrationAdInfo getAppPreRegistrationAd()
Details pertaining to an app pre-registration ad.
.google.ads.googleads.v10.common.AppPreRegistrationAdInfo app_pre_registration_ad = 50;- Specified by:
getAppPreRegistrationAdin interfaceAdOrBuilder- Returns:
- The appPreRegistrationAd.
-
getAppPreRegistrationAdOrBuilder
public AppPreRegistrationAdInfoOrBuilder getAppPreRegistrationAdOrBuilder()
Details pertaining to an app pre-registration ad.
.google.ads.googleads.v10.common.AppPreRegistrationAdInfo app_pre_registration_ad = 50;- Specified by:
getAppPreRegistrationAdOrBuilderin interfaceAdOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
java.io.IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(java.lang.Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Ad parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Ad parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Ad parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Ad parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Ad parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Ad parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Ad parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static Ad parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static Ad parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static Ad parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static Ad parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static Ad parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilderForType
public Ad.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Ad.Builder newBuilder()
-
newBuilder
public static Ad.Builder newBuilder(Ad prototype)
-
toBuilder
public Ad.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Ad.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Ad getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Ad> parser()
-
getParserForType
public com.google.protobuf.Parser<Ad> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Ad getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-