Class Ad
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.google.ads.googleads.v18.resources.Ad
- All Implemented Interfaces:
AdOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
An ad.Protobuf type
google.ads.googleads.v18.resources.Ad- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanOutput only.getAppAd()Details pertaining to an app ad.Details pertaining to an app ad.Details pertaining to an app engagement ad.Details pertaining to an app engagement ad.Details pertaining to an app pre-registration ad.Details pertaining to an app pre-registration ad.Details pertaining to a call ad.Details pertaining to a call ad.static AdDetails pertaining to a Demand Gen carousel ad.Details pertaining to a Demand Gen carousel ad.Details pertaining to a Demand Gen multi asset ad.Details pertaining to a Demand Gen multi asset ad.Details pertaining to a Demand Gen product ad.Details pertaining to a Demand Gen product ad.Details pertaining to a Demand Gen video responsive ad.Details pertaining to a Demand Gen video responsive ad.static final com.google.protobuf.Descriptors.DescriptorThe device preference for the ad.intThe device preference for the ad.Details pertaining to a display upload ad.Details pertaining to a display upload ad.The URL that appears in the ad description for some ad formats.com.google.protobuf.ByteStringThe URL that appears in the ad description for some ad formats.Immutable.Immutable.Details pertaining to an expanded text ad.Details pertaining to an expanded text ad.getFinalAppUrls(int index) A list of final app URLs that will be used on mobile if the user has the specific app installed.intA list of final app URLs that will be used on mobile if the user has the specific app installed.A list of final app URLs that will be used on mobile if the user has the specific app installed.getFinalAppUrlsOrBuilder(int index) A list of final app URLs that will be used on mobile if the user has the specific app installed.List<? extends FinalAppUrlOrBuilder>A list of final app URLs that will be used on mobile if the user has the specific app installed.getFinalMobileUrls(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.intThe list of possible final mobile URLs after all cross-domain redirects for the ad.com.google.protobuf.ProtocolStringListThe list of possible final mobile URLs after all cross-domain redirects for the ad.getFinalUrls(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.intThe list of possible final URLs after all cross-domain redirects for the ad.com.google.protobuf.ProtocolStringListThe list of possible final URLs after all cross-domain redirects for the ad.The suffix to use when constructing a final URL.com.google.protobuf.ByteStringThe suffix to use when constructing a final URL.Details pertaining to a hotel ad.Details pertaining to a hotel ad.longgetId()Output only.Immutable.Immutable.Immutable.Immutable.Details pertaining to a legacy responsive display ad.Details pertaining to a legacy responsive display ad.Details pertaining to a local ad.Details pertaining to a local ad.getName()Immutable.com.google.protobuf.ByteStringImmutable.com.google.protobuf.Parser<Ad>Immutable.com.google.protobuf.ByteStringImmutable.Details pertaining to a responsive display ad.Details pertaining to a responsive display ad.Details pertaining to a responsive search ad.Details pertaining to a responsive search ad.intDetails pertaining to a Shopping Comparison Listing ad.Details pertaining to a Shopping Comparison Listing ad.Details pertaining to a Shopping product ad.Details pertaining to a Shopping product ad.Details pertaining to a Smart Shopping ad.Details pertaining to a Smart Shopping ad.Details pertaining to a Smart campaign ad.Details pertaining to a Smart campaign ad.Output only.intOutput only.Immutable.Immutable.The URL template for constructing a tracking URL.com.google.protobuf.ByteStringThe URL template for constructing a tracking URL.Details pertaining to a travel ad.Details pertaining to a travel ad.getType()Output only.intOutput only.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.intAdditional URLs for the ad that are tagged with a unique identifier that can be referenced from other fields in the ad.Additional URLs for the ad that are tagged with a unique identifier that can be referenced from other fields in the ad.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.List<? extends UrlCollectionOrBuilder>Additional URLs for the ad that are tagged with a unique identifier that can be referenced from other fields in the ad.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`.intThe list of mappings that can be used to substitute custom parameter tags in a `tracking_url_template`, `final_urls`, or `mobile_final_urls`.The list of mappings that can be used to substitute custom parameter tags in a `tracking_url_template`, `final_urls`, or `mobile_final_urls`.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`.List<? extends CustomParameterOrBuilder>The list of mappings that can be used to substitute custom parameter tags in a `tracking_url_template`, `final_urls`, or `mobile_final_urls`.Details pertaining to a Video ad.Details pertaining to a Video ad.Details pertaining to a Video responsive ad.Details pertaining to a Video responsive ad.booleanOutput only.booleanhasAppAd()Details pertaining to an app ad.booleanDetails pertaining to an app engagement ad.booleanDetails pertaining to an app pre-registration ad.booleanDetails pertaining to a call ad.booleanDetails pertaining to a Demand Gen carousel ad.booleanDetails pertaining to a Demand Gen multi asset ad.booleanDetails pertaining to a Demand Gen product ad.booleanDetails pertaining to a Demand Gen video responsive ad.booleanDetails pertaining to a display upload ad.booleanThe URL that appears in the ad description for some ad formats.booleanImmutable.booleanDetails pertaining to an expanded text ad.booleanThe suffix to use when constructing a final URL.inthashCode()booleanDetails pertaining to a hotel ad.booleanhasId()Output only.booleanImmutable.booleanImmutable.booleanDetails pertaining to a legacy responsive display ad.booleanDetails pertaining to a local ad.booleanhasName()Immutable.booleanDetails pertaining to a responsive display ad.booleanDetails pertaining to a responsive search ad.booleanDetails pertaining to a Shopping Comparison Listing ad.booleanDetails pertaining to a Shopping product ad.booleanDetails pertaining to a Smart Shopping ad.booleanDetails pertaining to a Smart campaign ad.booleanImmutable.booleanThe URL template for constructing a tracking URL.booleanDetails pertaining to a travel ad.booleanDetails pertaining to a Video ad.booleanDetails pertaining to a Video responsive ad.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanstatic Ad.Builderstatic Ad.BuildernewBuilder(Ad prototype) protected Ad.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static AdparseDelimitedFrom(InputStream input) static AdparseDelimitedFrom(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(InputStream input) static AdparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AdparseFrom(ByteBuffer data) static AdparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Ad>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, 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, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
RESOURCE_NAME_FIELD_NUMBER
public static final int RESOURCE_NAME_FIELD_NUMBER- See Also:
-
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER- See Also:
-
FINAL_URLS_FIELD_NUMBER
public static final int FINAL_URLS_FIELD_NUMBER- See Also:
-
FINAL_APP_URLS_FIELD_NUMBER
public static final int FINAL_APP_URLS_FIELD_NUMBER- See Also:
-
FINAL_MOBILE_URLS_FIELD_NUMBER
public static final int FINAL_MOBILE_URLS_FIELD_NUMBER- See Also:
-
TRACKING_URL_TEMPLATE_FIELD_NUMBER
public static final int TRACKING_URL_TEMPLATE_FIELD_NUMBER- See Also:
-
FINAL_URL_SUFFIX_FIELD_NUMBER
public static final int FINAL_URL_SUFFIX_FIELD_NUMBER- See Also:
-
URL_CUSTOM_PARAMETERS_FIELD_NUMBER
public static final int URL_CUSTOM_PARAMETERS_FIELD_NUMBER- See Also:
-
DISPLAY_URL_FIELD_NUMBER
public static final int DISPLAY_URL_FIELD_NUMBER- See Also:
-
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER- See Also:
-
ADDED_BY_GOOGLE_ADS_FIELD_NUMBER
public static final int ADDED_BY_GOOGLE_ADS_FIELD_NUMBER- See Also:
-
DEVICE_PREFERENCE_FIELD_NUMBER
public static final int DEVICE_PREFERENCE_FIELD_NUMBER- See Also:
-
URL_COLLECTIONS_FIELD_NUMBER
public static final int URL_COLLECTIONS_FIELD_NUMBER- See Also:
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- See Also:
-
SYSTEM_MANAGED_RESOURCE_SOURCE_FIELD_NUMBER
public static final int SYSTEM_MANAGED_RESOURCE_SOURCE_FIELD_NUMBER- See Also:
-
TEXT_AD_FIELD_NUMBER
public static final int TEXT_AD_FIELD_NUMBER- See Also:
-
EXPANDED_TEXT_AD_FIELD_NUMBER
public static final int EXPANDED_TEXT_AD_FIELD_NUMBER- See Also:
-
CALL_AD_FIELD_NUMBER
public static final int CALL_AD_FIELD_NUMBER- See Also:
-
EXPANDED_DYNAMIC_SEARCH_AD_FIELD_NUMBER
public static final int EXPANDED_DYNAMIC_SEARCH_AD_FIELD_NUMBER- See Also:
-
HOTEL_AD_FIELD_NUMBER
public static final int HOTEL_AD_FIELD_NUMBER- See Also:
-
SHOPPING_SMART_AD_FIELD_NUMBER
public static final int SHOPPING_SMART_AD_FIELD_NUMBER- See Also:
-
SHOPPING_PRODUCT_AD_FIELD_NUMBER
public static final int SHOPPING_PRODUCT_AD_FIELD_NUMBER- See Also:
-
IMAGE_AD_FIELD_NUMBER
public static final int IMAGE_AD_FIELD_NUMBER- See Also:
-
VIDEO_AD_FIELD_NUMBER
public static final int VIDEO_AD_FIELD_NUMBER- See Also:
-
VIDEO_RESPONSIVE_AD_FIELD_NUMBER
public static final int VIDEO_RESPONSIVE_AD_FIELD_NUMBER- See Also:
-
RESPONSIVE_SEARCH_AD_FIELD_NUMBER
public static final int RESPONSIVE_SEARCH_AD_FIELD_NUMBER- See Also:
-
LEGACY_RESPONSIVE_DISPLAY_AD_FIELD_NUMBER
public static final int LEGACY_RESPONSIVE_DISPLAY_AD_FIELD_NUMBER- See Also:
-
APP_AD_FIELD_NUMBER
public static final int APP_AD_FIELD_NUMBER- See Also:
-
LEGACY_APP_INSTALL_AD_FIELD_NUMBER
public static final int LEGACY_APP_INSTALL_AD_FIELD_NUMBER- See Also:
-
RESPONSIVE_DISPLAY_AD_FIELD_NUMBER
public static final int RESPONSIVE_DISPLAY_AD_FIELD_NUMBER- See Also:
-
LOCAL_AD_FIELD_NUMBER
public static final int LOCAL_AD_FIELD_NUMBER- See Also:
-
DISPLAY_UPLOAD_AD_FIELD_NUMBER
public static final int DISPLAY_UPLOAD_AD_FIELD_NUMBER- See Also:
-
APP_ENGAGEMENT_AD_FIELD_NUMBER
public static final int APP_ENGAGEMENT_AD_FIELD_NUMBER- See Also:
-
SHOPPING_COMPARISON_LISTING_AD_FIELD_NUMBER
public static final int SHOPPING_COMPARISON_LISTING_AD_FIELD_NUMBER- See Also:
-
SMART_CAMPAIGN_AD_FIELD_NUMBER
public static final int SMART_CAMPAIGN_AD_FIELD_NUMBER- See Also:
-
APP_PRE_REGISTRATION_AD_FIELD_NUMBER
public static final int APP_PRE_REGISTRATION_AD_FIELD_NUMBER- See Also:
-
DEMAND_GEN_MULTI_ASSET_AD_FIELD_NUMBER
public static final int DEMAND_GEN_MULTI_ASSET_AD_FIELD_NUMBER- See Also:
-
DEMAND_GEN_CAROUSEL_AD_FIELD_NUMBER
public static final int DEMAND_GEN_CAROUSEL_AD_FIELD_NUMBER- See Also:
-
DEMAND_GEN_VIDEO_RESPONSIVE_AD_FIELD_NUMBER
public static final int DEMAND_GEN_VIDEO_RESPONSIVE_AD_FIELD_NUMBER- See Also:
-
DEMAND_GEN_PRODUCT_AD_FIELD_NUMBER
public static final int DEMAND_GEN_PRODUCT_AD_FIELD_NUMBER- See Also:
-
TRAVEL_AD_FIELD_NUMBER
public static final int TRAVEL_AD_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein 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
- Specified by:
getAdDataCasein interfaceAdOrBuilder
-
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
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
A list of final app URLs that will be used on mobile if the user has the specific app installed.
repeated .google.ads.googleads.v18.common.FinalAppUrl final_app_urls = 35;- Specified by:
getFinalAppUrlsListin interfaceAdOrBuilder
-
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.v18.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.v18.common.FinalAppUrl final_app_urls = 35;- Specified by:
getFinalAppUrlsCountin interfaceAdOrBuilder
-
getFinalAppUrls
A list of final app URLs that will be used on mobile if the user has the specific app installed.
repeated .google.ads.googleads.v18.common.FinalAppUrl final_app_urls = 35;- Specified by:
getFinalAppUrlsin interfaceAdOrBuilder
-
getFinalAppUrlsOrBuilder
A list of final app URLs that will be used on mobile if the user has the specific app installed.
repeated .google.ads.googleads.v18.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
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
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
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
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, use url custom parameter operations.
repeated .google.ads.googleads.v18.common.CustomParameter url_custom_parameters = 10;- Specified by:
getUrlCustomParametersListin interfaceAdOrBuilder
-
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, use url custom parameter operations.
repeated .google.ads.googleads.v18.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, use url custom parameter operations.
repeated .google.ads.googleads.v18.common.CustomParameter url_custom_parameters = 10;- Specified by:
getUrlCustomParametersCountin interfaceAdOrBuilder
-
getUrlCustomParameters
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, use url custom parameter operations.
repeated .google.ads.googleads.v18.common.CustomParameter url_custom_parameters = 10;- Specified by:
getUrlCustomParametersin interfaceAdOrBuilder
-
getUrlCustomParametersOrBuilder
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, use url custom parameter operations.
repeated .google.ads.googleads.v18.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
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.v18.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
Output only. The type of ad.
.google.ads.googleads.v18.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, for example, 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.v18.enums.DeviceEnum.Device device_preference = 20;- Specified by:
getDevicePreferenceValuein interfaceAdOrBuilder- Returns:
- The enum numeric value on the wire for devicePreference.
-
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, for example, 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.v18.enums.DeviceEnum.Device device_preference = 20;- Specified by:
getDevicePreferencein interfaceAdOrBuilder- Returns:
- The devicePreference.
-
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.v18.common.UrlCollection url_collections = 26;- Specified by:
getUrlCollectionsListin interfaceAdOrBuilder
-
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.v18.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.v18.common.UrlCollection url_collections = 26;- Specified by:
getUrlCollectionsCountin interfaceAdOrBuilder
-
getUrlCollections
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.v18.common.UrlCollection url_collections = 26;- Specified by:
getUrlCollectionsin interfaceAdOrBuilder
-
getUrlCollectionsOrBuilder
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.v18.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
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.v18.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
Output only. If this ad is system managed, then this field will indicate the source. This field is read-only.
.google.ads.googleads.v18.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.v18.common.TextAdInfo text_ad = 6 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
hasTextAdin interfaceAdOrBuilder- Returns:
- Whether the textAd field is set.
-
getTextAd
Immutable. Details pertaining to a text ad.
.google.ads.googleads.v18.common.TextAdInfo text_ad = 6 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
getTextAdin interfaceAdOrBuilder- Returns:
- The textAd.
-
getTextAdOrBuilder
Immutable. Details pertaining to a text ad.
.google.ads.googleads.v18.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.v18.common.ExpandedTextAdInfo expanded_text_ad = 7;- Specified by:
hasExpandedTextAdin interfaceAdOrBuilder- Returns:
- Whether the expandedTextAd field is set.
-
getExpandedTextAd
Details pertaining to an expanded text ad.
.google.ads.googleads.v18.common.ExpandedTextAdInfo expanded_text_ad = 7;- Specified by:
getExpandedTextAdin interfaceAdOrBuilder- Returns:
- The expandedTextAd.
-
getExpandedTextAdOrBuilder
Details pertaining to an expanded text ad.
.google.ads.googleads.v18.common.ExpandedTextAdInfo expanded_text_ad = 7;- Specified by:
getExpandedTextAdOrBuilderin interfaceAdOrBuilder
-
hasCallAd
public boolean hasCallAd()Details pertaining to a call ad.
.google.ads.googleads.v18.common.CallAdInfo call_ad = 49;- Specified by:
hasCallAdin interfaceAdOrBuilder- Returns:
- Whether the callAd field is set.
-
getCallAd
Details pertaining to a call ad.
.google.ads.googleads.v18.common.CallAdInfo call_ad = 49;- Specified by:
getCallAdin interfaceAdOrBuilder- Returns:
- The callAd.
-
getCallAdOrBuilder
Details pertaining to a call ad.
.google.ads.googleads.v18.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.v18.common.ExpandedDynamicSearchAdInfo expanded_dynamic_search_ad = 14 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
hasExpandedDynamicSearchAdin interfaceAdOrBuilder- Returns:
- Whether the expandedDynamicSearchAd field is set.
-
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.v18.common.ExpandedDynamicSearchAdInfo expanded_dynamic_search_ad = 14 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
getExpandedDynamicSearchAdin interfaceAdOrBuilder- Returns:
- The expandedDynamicSearchAd.
-
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.v18.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.v18.common.HotelAdInfo hotel_ad = 15;- Specified by:
hasHotelAdin interfaceAdOrBuilder- Returns:
- Whether the hotelAd field is set.
-
getHotelAd
Details pertaining to a hotel ad.
.google.ads.googleads.v18.common.HotelAdInfo hotel_ad = 15;- Specified by:
getHotelAdin interfaceAdOrBuilder- Returns:
- The hotelAd.
-
getHotelAdOrBuilder
Details pertaining to a hotel ad.
.google.ads.googleads.v18.common.HotelAdInfo hotel_ad = 15;- Specified by:
getHotelAdOrBuilderin interfaceAdOrBuilder
-
hasShoppingSmartAd
public boolean hasShoppingSmartAd()Details pertaining to a Smart Shopping ad.
.google.ads.googleads.v18.common.ShoppingSmartAdInfo shopping_smart_ad = 17;- Specified by:
hasShoppingSmartAdin interfaceAdOrBuilder- Returns:
- Whether the shoppingSmartAd field is set.
-
getShoppingSmartAd
Details pertaining to a Smart Shopping ad.
.google.ads.googleads.v18.common.ShoppingSmartAdInfo shopping_smart_ad = 17;- Specified by:
getShoppingSmartAdin interfaceAdOrBuilder- Returns:
- The shoppingSmartAd.
-
getShoppingSmartAdOrBuilder
Details pertaining to a Smart Shopping ad.
.google.ads.googleads.v18.common.ShoppingSmartAdInfo shopping_smart_ad = 17;- Specified by:
getShoppingSmartAdOrBuilderin interfaceAdOrBuilder
-
hasShoppingProductAd
public boolean hasShoppingProductAd()Details pertaining to a Shopping product ad.
.google.ads.googleads.v18.common.ShoppingProductAdInfo shopping_product_ad = 18;- Specified by:
hasShoppingProductAdin interfaceAdOrBuilder- Returns:
- Whether the shoppingProductAd field is set.
-
getShoppingProductAd
Details pertaining to a Shopping product ad.
.google.ads.googleads.v18.common.ShoppingProductAdInfo shopping_product_ad = 18;- Specified by:
getShoppingProductAdin interfaceAdOrBuilder- Returns:
- The shoppingProductAd.
-
getShoppingProductAdOrBuilder
Details pertaining to a Shopping product ad.
.google.ads.googleads.v18.common.ShoppingProductAdInfo shopping_product_ad = 18;- Specified by:
getShoppingProductAdOrBuilderin interfaceAdOrBuilder
-
hasImageAd
public boolean hasImageAd()Immutable. Details pertaining to an Image ad.
.google.ads.googleads.v18.common.ImageAdInfo image_ad = 22 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
hasImageAdin interfaceAdOrBuilder- Returns:
- Whether the imageAd field is set.
-
getImageAd
Immutable. Details pertaining to an Image ad.
.google.ads.googleads.v18.common.ImageAdInfo image_ad = 22 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
getImageAdin interfaceAdOrBuilder- Returns:
- The imageAd.
-
getImageAdOrBuilder
Immutable. Details pertaining to an Image ad.
.google.ads.googleads.v18.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.v18.common.VideoAdInfo video_ad = 24;- Specified by:
hasVideoAdin interfaceAdOrBuilder- Returns:
- Whether the videoAd field is set.
-
getVideoAd
Details pertaining to a Video ad.
.google.ads.googleads.v18.common.VideoAdInfo video_ad = 24;- Specified by:
getVideoAdin interfaceAdOrBuilder- Returns:
- The videoAd.
-
getVideoAdOrBuilder
Details pertaining to a Video ad.
.google.ads.googleads.v18.common.VideoAdInfo video_ad = 24;- Specified by:
getVideoAdOrBuilderin interfaceAdOrBuilder
-
hasVideoResponsiveAd
public boolean hasVideoResponsiveAd()Details pertaining to a Video responsive ad.
.google.ads.googleads.v18.common.VideoResponsiveAdInfo video_responsive_ad = 39;- Specified by:
hasVideoResponsiveAdin interfaceAdOrBuilder- Returns:
- Whether the videoResponsiveAd field is set.
-
getVideoResponsiveAd
Details pertaining to a Video responsive ad.
.google.ads.googleads.v18.common.VideoResponsiveAdInfo video_responsive_ad = 39;- Specified by:
getVideoResponsiveAdin interfaceAdOrBuilder- Returns:
- The videoResponsiveAd.
-
getVideoResponsiveAdOrBuilder
Details pertaining to a Video responsive ad.
.google.ads.googleads.v18.common.VideoResponsiveAdInfo video_responsive_ad = 39;- Specified by:
getVideoResponsiveAdOrBuilderin interfaceAdOrBuilder
-
hasResponsiveSearchAd
public boolean hasResponsiveSearchAd()Details pertaining to a responsive search ad.
.google.ads.googleads.v18.common.ResponsiveSearchAdInfo responsive_search_ad = 25;- Specified by:
hasResponsiveSearchAdin interfaceAdOrBuilder- Returns:
- Whether the responsiveSearchAd field is set.
-
getResponsiveSearchAd
Details pertaining to a responsive search ad.
.google.ads.googleads.v18.common.ResponsiveSearchAdInfo responsive_search_ad = 25;- Specified by:
getResponsiveSearchAdin interfaceAdOrBuilder- Returns:
- The responsiveSearchAd.
-
getResponsiveSearchAdOrBuilder
Details pertaining to a responsive search ad.
.google.ads.googleads.v18.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.v18.common.LegacyResponsiveDisplayAdInfo legacy_responsive_display_ad = 28;- Specified by:
hasLegacyResponsiveDisplayAdin interfaceAdOrBuilder- Returns:
- Whether the legacyResponsiveDisplayAd field is set.
-
getLegacyResponsiveDisplayAd
Details pertaining to a legacy responsive display ad.
.google.ads.googleads.v18.common.LegacyResponsiveDisplayAdInfo legacy_responsive_display_ad = 28;- Specified by:
getLegacyResponsiveDisplayAdin interfaceAdOrBuilder- Returns:
- The legacyResponsiveDisplayAd.
-
getLegacyResponsiveDisplayAdOrBuilder
Details pertaining to a legacy responsive display ad.
.google.ads.googleads.v18.common.LegacyResponsiveDisplayAdInfo legacy_responsive_display_ad = 28;- Specified by:
getLegacyResponsiveDisplayAdOrBuilderin interfaceAdOrBuilder
-
hasAppAd
public boolean hasAppAd()Details pertaining to an app ad.
.google.ads.googleads.v18.common.AppAdInfo app_ad = 29;- Specified by:
hasAppAdin interfaceAdOrBuilder- Returns:
- Whether the appAd field is set.
-
getAppAd
Details pertaining to an app ad.
.google.ads.googleads.v18.common.AppAdInfo app_ad = 29;- Specified by:
getAppAdin interfaceAdOrBuilder- Returns:
- The appAd.
-
getAppAdOrBuilder
Details pertaining to an app ad.
.google.ads.googleads.v18.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.v18.common.LegacyAppInstallAdInfo legacy_app_install_ad = 30 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
hasLegacyAppInstallAdin interfaceAdOrBuilder- Returns:
- Whether the legacyAppInstallAd field is set.
-
getLegacyAppInstallAd
Immutable. Details pertaining to a legacy app install ad.
.google.ads.googleads.v18.common.LegacyAppInstallAdInfo legacy_app_install_ad = 30 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
getLegacyAppInstallAdin interfaceAdOrBuilder- Returns:
- The legacyAppInstallAd.
-
getLegacyAppInstallAdOrBuilder
Immutable. Details pertaining to a legacy app install ad.
.google.ads.googleads.v18.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.v18.common.ResponsiveDisplayAdInfo responsive_display_ad = 31;- Specified by:
hasResponsiveDisplayAdin interfaceAdOrBuilder- Returns:
- Whether the responsiveDisplayAd field is set.
-
getResponsiveDisplayAd
Details pertaining to a responsive display ad.
.google.ads.googleads.v18.common.ResponsiveDisplayAdInfo responsive_display_ad = 31;- Specified by:
getResponsiveDisplayAdin interfaceAdOrBuilder- Returns:
- The responsiveDisplayAd.
-
getResponsiveDisplayAdOrBuilder
Details pertaining to a responsive display ad.
.google.ads.googleads.v18.common.ResponsiveDisplayAdInfo responsive_display_ad = 31;- Specified by:
getResponsiveDisplayAdOrBuilderin interfaceAdOrBuilder
-
hasLocalAd
public boolean hasLocalAd()Details pertaining to a local ad.
.google.ads.googleads.v18.common.LocalAdInfo local_ad = 32;- Specified by:
hasLocalAdin interfaceAdOrBuilder- Returns:
- Whether the localAd field is set.
-
getLocalAd
Details pertaining to a local ad.
.google.ads.googleads.v18.common.LocalAdInfo local_ad = 32;- Specified by:
getLocalAdin interfaceAdOrBuilder- Returns:
- The localAd.
-
getLocalAdOrBuilder
Details pertaining to a local ad.
.google.ads.googleads.v18.common.LocalAdInfo local_ad = 32;- Specified by:
getLocalAdOrBuilderin interfaceAdOrBuilder
-
hasDisplayUploadAd
public boolean hasDisplayUploadAd()Details pertaining to a display upload ad.
.google.ads.googleads.v18.common.DisplayUploadAdInfo display_upload_ad = 33;- Specified by:
hasDisplayUploadAdin interfaceAdOrBuilder- Returns:
- Whether the displayUploadAd field is set.
-
getDisplayUploadAd
Details pertaining to a display upload ad.
.google.ads.googleads.v18.common.DisplayUploadAdInfo display_upload_ad = 33;- Specified by:
getDisplayUploadAdin interfaceAdOrBuilder- Returns:
- The displayUploadAd.
-
getDisplayUploadAdOrBuilder
Details pertaining to a display upload ad.
.google.ads.googleads.v18.common.DisplayUploadAdInfo display_upload_ad = 33;- Specified by:
getDisplayUploadAdOrBuilderin interfaceAdOrBuilder
-
hasAppEngagementAd
public boolean hasAppEngagementAd()Details pertaining to an app engagement ad.
.google.ads.googleads.v18.common.AppEngagementAdInfo app_engagement_ad = 34;- Specified by:
hasAppEngagementAdin interfaceAdOrBuilder- Returns:
- Whether the appEngagementAd field is set.
-
getAppEngagementAd
Details pertaining to an app engagement ad.
.google.ads.googleads.v18.common.AppEngagementAdInfo app_engagement_ad = 34;- Specified by:
getAppEngagementAdin interfaceAdOrBuilder- Returns:
- The appEngagementAd.
-
getAppEngagementAdOrBuilder
Details pertaining to an app engagement ad.
.google.ads.googleads.v18.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.v18.common.ShoppingComparisonListingAdInfo shopping_comparison_listing_ad = 36;- Specified by:
hasShoppingComparisonListingAdin interfaceAdOrBuilder- Returns:
- Whether the shoppingComparisonListingAd field is set.
-
getShoppingComparisonListingAd
Details pertaining to a Shopping Comparison Listing ad.
.google.ads.googleads.v18.common.ShoppingComparisonListingAdInfo shopping_comparison_listing_ad = 36;- Specified by:
getShoppingComparisonListingAdin interfaceAdOrBuilder- Returns:
- The shoppingComparisonListingAd.
-
getShoppingComparisonListingAdOrBuilder
Details pertaining to a Shopping Comparison Listing ad.
.google.ads.googleads.v18.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.v18.common.SmartCampaignAdInfo smart_campaign_ad = 48;- Specified by:
hasSmartCampaignAdin interfaceAdOrBuilder- Returns:
- Whether the smartCampaignAd field is set.
-
getSmartCampaignAd
Details pertaining to a Smart campaign ad.
.google.ads.googleads.v18.common.SmartCampaignAdInfo smart_campaign_ad = 48;- Specified by:
getSmartCampaignAdin interfaceAdOrBuilder- Returns:
- The smartCampaignAd.
-
getSmartCampaignAdOrBuilder
Details pertaining to a Smart campaign ad.
.google.ads.googleads.v18.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.v18.common.AppPreRegistrationAdInfo app_pre_registration_ad = 50;- Specified by:
hasAppPreRegistrationAdin interfaceAdOrBuilder- Returns:
- Whether the appPreRegistrationAd field is set.
-
getAppPreRegistrationAd
Details pertaining to an app pre-registration ad.
.google.ads.googleads.v18.common.AppPreRegistrationAdInfo app_pre_registration_ad = 50;- Specified by:
getAppPreRegistrationAdin interfaceAdOrBuilder- Returns:
- The appPreRegistrationAd.
-
getAppPreRegistrationAdOrBuilder
Details pertaining to an app pre-registration ad.
.google.ads.googleads.v18.common.AppPreRegistrationAdInfo app_pre_registration_ad = 50;- Specified by:
getAppPreRegistrationAdOrBuilderin interfaceAdOrBuilder
-
hasDemandGenMultiAssetAd
public boolean hasDemandGenMultiAssetAd()Details pertaining to a Demand Gen multi asset ad.
.google.ads.googleads.v18.common.DemandGenMultiAssetAdInfo demand_gen_multi_asset_ad = 62;- Specified by:
hasDemandGenMultiAssetAdin interfaceAdOrBuilder- Returns:
- Whether the demandGenMultiAssetAd field is set.
-
getDemandGenMultiAssetAd
Details pertaining to a Demand Gen multi asset ad.
.google.ads.googleads.v18.common.DemandGenMultiAssetAdInfo demand_gen_multi_asset_ad = 62;- Specified by:
getDemandGenMultiAssetAdin interfaceAdOrBuilder- Returns:
- The demandGenMultiAssetAd.
-
getDemandGenMultiAssetAdOrBuilder
Details pertaining to a Demand Gen multi asset ad.
.google.ads.googleads.v18.common.DemandGenMultiAssetAdInfo demand_gen_multi_asset_ad = 62;- Specified by:
getDemandGenMultiAssetAdOrBuilderin interfaceAdOrBuilder
-
hasDemandGenCarouselAd
public boolean hasDemandGenCarouselAd()Details pertaining to a Demand Gen carousel ad.
.google.ads.googleads.v18.common.DemandGenCarouselAdInfo demand_gen_carousel_ad = 63;- Specified by:
hasDemandGenCarouselAdin interfaceAdOrBuilder- Returns:
- Whether the demandGenCarouselAd field is set.
-
getDemandGenCarouselAd
Details pertaining to a Demand Gen carousel ad.
.google.ads.googleads.v18.common.DemandGenCarouselAdInfo demand_gen_carousel_ad = 63;- Specified by:
getDemandGenCarouselAdin interfaceAdOrBuilder- Returns:
- The demandGenCarouselAd.
-
getDemandGenCarouselAdOrBuilder
Details pertaining to a Demand Gen carousel ad.
.google.ads.googleads.v18.common.DemandGenCarouselAdInfo demand_gen_carousel_ad = 63;- Specified by:
getDemandGenCarouselAdOrBuilderin interfaceAdOrBuilder
-
hasDemandGenVideoResponsiveAd
public boolean hasDemandGenVideoResponsiveAd()Details pertaining to a Demand Gen video responsive ad.
.google.ads.googleads.v18.common.DemandGenVideoResponsiveAdInfo demand_gen_video_responsive_ad = 64;- Specified by:
hasDemandGenVideoResponsiveAdin interfaceAdOrBuilder- Returns:
- Whether the demandGenVideoResponsiveAd field is set.
-
getDemandGenVideoResponsiveAd
Details pertaining to a Demand Gen video responsive ad.
.google.ads.googleads.v18.common.DemandGenVideoResponsiveAdInfo demand_gen_video_responsive_ad = 64;- Specified by:
getDemandGenVideoResponsiveAdin interfaceAdOrBuilder- Returns:
- The demandGenVideoResponsiveAd.
-
getDemandGenVideoResponsiveAdOrBuilder
Details pertaining to a Demand Gen video responsive ad.
.google.ads.googleads.v18.common.DemandGenVideoResponsiveAdInfo demand_gen_video_responsive_ad = 64;- Specified by:
getDemandGenVideoResponsiveAdOrBuilderin interfaceAdOrBuilder
-
hasDemandGenProductAd
public boolean hasDemandGenProductAd()Details pertaining to a Demand Gen product ad.
.google.ads.googleads.v18.common.DemandGenProductAdInfo demand_gen_product_ad = 61;- Specified by:
hasDemandGenProductAdin interfaceAdOrBuilder- Returns:
- Whether the demandGenProductAd field is set.
-
getDemandGenProductAd
Details pertaining to a Demand Gen product ad.
.google.ads.googleads.v18.common.DemandGenProductAdInfo demand_gen_product_ad = 61;- Specified by:
getDemandGenProductAdin interfaceAdOrBuilder- Returns:
- The demandGenProductAd.
-
getDemandGenProductAdOrBuilder
Details pertaining to a Demand Gen product ad.
.google.ads.googleads.v18.common.DemandGenProductAdInfo demand_gen_product_ad = 61;- Specified by:
getDemandGenProductAdOrBuilderin interfaceAdOrBuilder
-
hasTravelAd
public boolean hasTravelAd()Details pertaining to a travel ad.
.google.ads.googleads.v18.common.TravelAdInfo travel_ad = 54;- Specified by:
hasTravelAdin interfaceAdOrBuilder- Returns:
- Whether the travelAd field is set.
-
getTravelAd
Details pertaining to a travel ad.
.google.ads.googleads.v18.common.TravelAdInfo travel_ad = 54;- Specified by:
getTravelAdin interfaceAdOrBuilder- Returns:
- The travelAd.
-
getTravelAdOrBuilder
Details pertaining to a travel ad.
.google.ads.googleads.v18.common.TravelAdInfo travel_ad = 54;- Specified by:
getTravelAdOrBuilderin interfaceAdOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- 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(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Ad parseFrom(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
- 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
- Throws:
IOException
-
parseFrom
public static Ad parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Ad parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Ad parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-