Interface AdOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
Ad, Ad.Builder

public interface AdOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getResourceName

      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) = { ... }
      Returns:
      The resourceName.
    • getResourceNameBytes

      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) = { ... }
      Returns:
      The bytes for resourceName.
    • hasId

      boolean hasId()
       Output only. The ID of the ad.
       
      optional int64 id = 40 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      Whether the id field is set.
    • getId

      long getId()
       Output only. The ID of the ad.
       
      optional int64 id = 40 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The id.
    • getFinalUrlsList

      List<String> getFinalUrlsList()
       The list of possible final URLs after all cross-domain redirects for the
       ad.
       
      repeated string final_urls = 41;
      Returns:
      A list containing the finalUrls.
    • getFinalUrlsCount

      int getFinalUrlsCount()
       The list of possible final URLs after all cross-domain redirects for the
       ad.
       
      repeated string final_urls = 41;
      Returns:
      The count of finalUrls.
    • getFinalUrls

      String getFinalUrls(int index)
       The list of possible final URLs after all cross-domain redirects for the
       ad.
       
      repeated string final_urls = 41;
      Parameters:
      index - The index of the element to return.
      Returns:
      The finalUrls at the given index.
    • getFinalUrlsBytes

      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;
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the finalUrls at the given index.
    • getFinalAppUrlsList

      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.v18.common.FinalAppUrl final_app_urls = 35;
    • getFinalAppUrls

      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.v18.common.FinalAppUrl final_app_urls = 35;
    • getFinalAppUrlsCount

      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;
    • getFinalAppUrlsOrBuilderList

      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.v18.common.FinalAppUrl final_app_urls = 35;
    • getFinalAppUrlsOrBuilder

      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.v18.common.FinalAppUrl final_app_urls = 35;
    • getFinalMobileUrlsList

      List<String> getFinalMobileUrlsList()
       The list of possible final mobile URLs after all cross-domain redirects
       for the ad.
       
      repeated string final_mobile_urls = 42;
      Returns:
      A list containing the finalMobileUrls.
    • getFinalMobileUrlsCount

      int getFinalMobileUrlsCount()
       The list of possible final mobile URLs after all cross-domain redirects
       for the ad.
       
      repeated string final_mobile_urls = 42;
      Returns:
      The count of finalMobileUrls.
    • getFinalMobileUrls

      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;
      Parameters:
      index - The index of the element to return.
      Returns:
      The finalMobileUrls at the given index.
    • getFinalMobileUrlsBytes

      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;
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the finalMobileUrls at the given index.
    • hasTrackingUrlTemplate

      boolean hasTrackingUrlTemplate()
       The URL template for constructing a tracking URL.
       
      optional string tracking_url_template = 43;
      Returns:
      Whether the trackingUrlTemplate field is set.
    • getTrackingUrlTemplate

      String getTrackingUrlTemplate()
       The URL template for constructing a tracking URL.
       
      optional string tracking_url_template = 43;
      Returns:
      The trackingUrlTemplate.
    • getTrackingUrlTemplateBytes

      com.google.protobuf.ByteString getTrackingUrlTemplateBytes()
       The URL template for constructing a tracking URL.
       
      optional string tracking_url_template = 43;
      Returns:
      The bytes for trackingUrlTemplate.
    • hasFinalUrlSuffix

      boolean hasFinalUrlSuffix()
       The suffix to use when constructing a final URL.
       
      optional string final_url_suffix = 44;
      Returns:
      Whether the finalUrlSuffix field is set.
    • getFinalUrlSuffix

      String getFinalUrlSuffix()
       The suffix to use when constructing a final URL.
       
      optional string final_url_suffix = 44;
      Returns:
      The finalUrlSuffix.
    • getFinalUrlSuffixBytes

      com.google.protobuf.ByteString getFinalUrlSuffixBytes()
       The suffix to use when constructing a final URL.
       
      optional string final_url_suffix = 44;
      Returns:
      The bytes for finalUrlSuffix.
    • getUrlCustomParametersList

      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, use url custom parameter operations.
       
      repeated .google.ads.googleads.v18.common.CustomParameter url_custom_parameters = 10;
    • getUrlCustomParameters

      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, use url custom parameter operations.
       
      repeated .google.ads.googleads.v18.common.CustomParameter url_custom_parameters = 10;
    • getUrlCustomParametersCount

      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;
    • getUrlCustomParametersOrBuilderList

      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, use url custom parameter operations.
       
      repeated .google.ads.googleads.v18.common.CustomParameter url_custom_parameters = 10;
    • getUrlCustomParametersOrBuilder

      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, use url custom parameter operations.
       
      repeated .google.ads.googleads.v18.common.CustomParameter url_custom_parameters = 10;
    • hasDisplayUrl

      boolean hasDisplayUrl()
       The URL that appears in the ad description for some ad formats.
       
      optional string display_url = 45;
      Returns:
      Whether the displayUrl field is set.
    • getDisplayUrl

      String getDisplayUrl()
       The URL that appears in the ad description for some ad formats.
       
      optional string display_url = 45;
      Returns:
      The displayUrl.
    • getDisplayUrlBytes

      com.google.protobuf.ByteString getDisplayUrlBytes()
       The URL that appears in the ad description for some ad formats.
       
      optional string display_url = 45;
      Returns:
      The bytes for displayUrl.
    • getTypeValue

      int getTypeValue()
       Output only. The type of ad.
       
      .google.ads.googleads.v18.enums.AdTypeEnum.AdType type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      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];
      Returns:
      The type.
    • hasAddedByGoogleAds

      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];
      Returns:
      Whether the addedByGoogleAds field is set.
    • getAddedByGoogleAds

      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];
      Returns:
      The addedByGoogleAds.
    • getDevicePreferenceValue

      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;
      Returns:
      The enum numeric value on the wire for devicePreference.
    • getDevicePreference

      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, 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;
      Returns:
      The devicePreference.
    • getUrlCollectionsList

      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.v18.common.UrlCollection url_collections = 26;
    • getUrlCollections

      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.v18.common.UrlCollection url_collections = 26;
    • getUrlCollectionsCount

      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;
    • getUrlCollectionsOrBuilderList

      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.v18.common.UrlCollection url_collections = 26;
    • getUrlCollectionsOrBuilder

      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.v18.common.UrlCollection url_collections = 26;
    • hasName

      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];
      Returns:
      Whether the name field is set.
    • getName

      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];
      Returns:
      The name.
    • getNameBytes

      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];
      Returns:
      The bytes for name.
    • getSystemManagedResourceSourceValue

      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];
      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];
      Returns:
      The systemManagedResourceSource.
    • hasTextAd

      boolean hasTextAd()
       Immutable. Details pertaining to a text ad.
       
      .google.ads.googleads.v18.common.TextAdInfo text_ad = 6 [(.google.api.field_behavior) = IMMUTABLE];
      Returns:
      Whether the textAd field is set.
    • getTextAd

      TextAdInfo getTextAd()
       Immutable. Details pertaining to a text ad.
       
      .google.ads.googleads.v18.common.TextAdInfo text_ad = 6 [(.google.api.field_behavior) = IMMUTABLE];
      Returns:
      The textAd.
    • getTextAdOrBuilder

      TextAdInfoOrBuilder getTextAdOrBuilder()
       Immutable. Details pertaining to a text ad.
       
      .google.ads.googleads.v18.common.TextAdInfo text_ad = 6 [(.google.api.field_behavior) = IMMUTABLE];
    • hasExpandedTextAd

      boolean hasExpandedTextAd()
       Details pertaining to an expanded text ad.
       
      .google.ads.googleads.v18.common.ExpandedTextAdInfo expanded_text_ad = 7;
      Returns:
      Whether the expandedTextAd field is set.
    • getExpandedTextAd

      ExpandedTextAdInfo getExpandedTextAd()
       Details pertaining to an expanded text ad.
       
      .google.ads.googleads.v18.common.ExpandedTextAdInfo expanded_text_ad = 7;
      Returns:
      The expandedTextAd.
    • getExpandedTextAdOrBuilder

      ExpandedTextAdInfoOrBuilder getExpandedTextAdOrBuilder()
       Details pertaining to an expanded text ad.
       
      .google.ads.googleads.v18.common.ExpandedTextAdInfo expanded_text_ad = 7;
    • hasCallAd

      boolean hasCallAd()
       Details pertaining to a call ad.
       
      .google.ads.googleads.v18.common.CallAdInfo call_ad = 49;
      Returns:
      Whether the callAd field is set.
    • getCallAd

      CallAdInfo getCallAd()
       Details pertaining to a call ad.
       
      .google.ads.googleads.v18.common.CallAdInfo call_ad = 49;
      Returns:
      The callAd.
    • getCallAdOrBuilder

      CallAdInfoOrBuilder getCallAdOrBuilder()
       Details pertaining to a call ad.
       
      .google.ads.googleads.v18.common.CallAdInfo call_ad = 49;
    • hasExpandedDynamicSearchAd

      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];
      Returns:
      Whether the expandedDynamicSearchAd field is set.
    • getExpandedDynamicSearchAd

      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.v18.common.ExpandedDynamicSearchAdInfo expanded_dynamic_search_ad = 14 [(.google.api.field_behavior) = IMMUTABLE];
      Returns:
      The expandedDynamicSearchAd.
    • getExpandedDynamicSearchAdOrBuilder

      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.v18.common.ExpandedDynamicSearchAdInfo expanded_dynamic_search_ad = 14 [(.google.api.field_behavior) = IMMUTABLE];
    • hasHotelAd

      boolean hasHotelAd()
       Details pertaining to a hotel ad.
       
      .google.ads.googleads.v18.common.HotelAdInfo hotel_ad = 15;
      Returns:
      Whether the hotelAd field is set.
    • getHotelAd

      HotelAdInfo getHotelAd()
       Details pertaining to a hotel ad.
       
      .google.ads.googleads.v18.common.HotelAdInfo hotel_ad = 15;
      Returns:
      The hotelAd.
    • getHotelAdOrBuilder

      HotelAdInfoOrBuilder getHotelAdOrBuilder()
       Details pertaining to a hotel ad.
       
      .google.ads.googleads.v18.common.HotelAdInfo hotel_ad = 15;
    • hasShoppingSmartAd

      boolean hasShoppingSmartAd()
       Details pertaining to a Smart Shopping ad.
       
      .google.ads.googleads.v18.common.ShoppingSmartAdInfo shopping_smart_ad = 17;
      Returns:
      Whether the shoppingSmartAd field is set.
    • getShoppingSmartAd

      ShoppingSmartAdInfo getShoppingSmartAd()
       Details pertaining to a Smart Shopping ad.
       
      .google.ads.googleads.v18.common.ShoppingSmartAdInfo shopping_smart_ad = 17;
      Returns:
      The shoppingSmartAd.
    • getShoppingSmartAdOrBuilder

      ShoppingSmartAdInfoOrBuilder getShoppingSmartAdOrBuilder()
       Details pertaining to a Smart Shopping ad.
       
      .google.ads.googleads.v18.common.ShoppingSmartAdInfo shopping_smart_ad = 17;
    • hasShoppingProductAd

      boolean hasShoppingProductAd()
       Details pertaining to a Shopping product ad.
       
      .google.ads.googleads.v18.common.ShoppingProductAdInfo shopping_product_ad = 18;
      Returns:
      Whether the shoppingProductAd field is set.
    • getShoppingProductAd

      ShoppingProductAdInfo getShoppingProductAd()
       Details pertaining to a Shopping product ad.
       
      .google.ads.googleads.v18.common.ShoppingProductAdInfo shopping_product_ad = 18;
      Returns:
      The shoppingProductAd.
    • getShoppingProductAdOrBuilder

      ShoppingProductAdInfoOrBuilder getShoppingProductAdOrBuilder()
       Details pertaining to a Shopping product ad.
       
      .google.ads.googleads.v18.common.ShoppingProductAdInfo shopping_product_ad = 18;
    • hasImageAd

      boolean hasImageAd()
       Immutable. Details pertaining to an Image ad.
       
      .google.ads.googleads.v18.common.ImageAdInfo image_ad = 22 [(.google.api.field_behavior) = IMMUTABLE];
      Returns:
      Whether the imageAd field is set.
    • getImageAd

      ImageAdInfo getImageAd()
       Immutable. Details pertaining to an Image ad.
       
      .google.ads.googleads.v18.common.ImageAdInfo image_ad = 22 [(.google.api.field_behavior) = IMMUTABLE];
      Returns:
      The imageAd.
    • getImageAdOrBuilder

      ImageAdInfoOrBuilder getImageAdOrBuilder()
       Immutable. Details pertaining to an Image ad.
       
      .google.ads.googleads.v18.common.ImageAdInfo image_ad = 22 [(.google.api.field_behavior) = IMMUTABLE];
    • hasVideoAd

      boolean hasVideoAd()
       Details pertaining to a Video ad.
       
      .google.ads.googleads.v18.common.VideoAdInfo video_ad = 24;
      Returns:
      Whether the videoAd field is set.
    • getVideoAd

      VideoAdInfo getVideoAd()
       Details pertaining to a Video ad.
       
      .google.ads.googleads.v18.common.VideoAdInfo video_ad = 24;
      Returns:
      The videoAd.
    • getVideoAdOrBuilder

      VideoAdInfoOrBuilder getVideoAdOrBuilder()
       Details pertaining to a Video ad.
       
      .google.ads.googleads.v18.common.VideoAdInfo video_ad = 24;
    • hasVideoResponsiveAd

      boolean hasVideoResponsiveAd()
       Details pertaining to a Video responsive ad.
       
      .google.ads.googleads.v18.common.VideoResponsiveAdInfo video_responsive_ad = 39;
      Returns:
      Whether the videoResponsiveAd field is set.
    • getVideoResponsiveAd

      VideoResponsiveAdInfo getVideoResponsiveAd()
       Details pertaining to a Video responsive ad.
       
      .google.ads.googleads.v18.common.VideoResponsiveAdInfo video_responsive_ad = 39;
      Returns:
      The videoResponsiveAd.
    • getVideoResponsiveAdOrBuilder

      VideoResponsiveAdInfoOrBuilder getVideoResponsiveAdOrBuilder()
       Details pertaining to a Video responsive ad.
       
      .google.ads.googleads.v18.common.VideoResponsiveAdInfo video_responsive_ad = 39;
    • hasResponsiveSearchAd

      boolean hasResponsiveSearchAd()
       Details pertaining to a responsive search ad.
       
      .google.ads.googleads.v18.common.ResponsiveSearchAdInfo responsive_search_ad = 25;
      Returns:
      Whether the responsiveSearchAd field is set.
    • getResponsiveSearchAd

      ResponsiveSearchAdInfo getResponsiveSearchAd()
       Details pertaining to a responsive search ad.
       
      .google.ads.googleads.v18.common.ResponsiveSearchAdInfo responsive_search_ad = 25;
      Returns:
      The responsiveSearchAd.
    • getResponsiveSearchAdOrBuilder

      ResponsiveSearchAdInfoOrBuilder getResponsiveSearchAdOrBuilder()
       Details pertaining to a responsive search ad.
       
      .google.ads.googleads.v18.common.ResponsiveSearchAdInfo responsive_search_ad = 25;
    • hasLegacyResponsiveDisplayAd

      boolean hasLegacyResponsiveDisplayAd()
       Details pertaining to a legacy responsive display ad.
       
      .google.ads.googleads.v18.common.LegacyResponsiveDisplayAdInfo legacy_responsive_display_ad = 28;
      Returns:
      Whether the legacyResponsiveDisplayAd field is set.
    • getLegacyResponsiveDisplayAd

      LegacyResponsiveDisplayAdInfo getLegacyResponsiveDisplayAd()
       Details pertaining to a legacy responsive display ad.
       
      .google.ads.googleads.v18.common.LegacyResponsiveDisplayAdInfo legacy_responsive_display_ad = 28;
      Returns:
      The legacyResponsiveDisplayAd.
    • getLegacyResponsiveDisplayAdOrBuilder

      LegacyResponsiveDisplayAdInfoOrBuilder getLegacyResponsiveDisplayAdOrBuilder()
       Details pertaining to a legacy responsive display ad.
       
      .google.ads.googleads.v18.common.LegacyResponsiveDisplayAdInfo legacy_responsive_display_ad = 28;
    • hasAppAd

      boolean hasAppAd()
       Details pertaining to an app ad.
       
      .google.ads.googleads.v18.common.AppAdInfo app_ad = 29;
      Returns:
      Whether the appAd field is set.
    • getAppAd

      AppAdInfo getAppAd()
       Details pertaining to an app ad.
       
      .google.ads.googleads.v18.common.AppAdInfo app_ad = 29;
      Returns:
      The appAd.
    • getAppAdOrBuilder

      AppAdInfoOrBuilder getAppAdOrBuilder()
       Details pertaining to an app ad.
       
      .google.ads.googleads.v18.common.AppAdInfo app_ad = 29;
    • hasLegacyAppInstallAd

      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];
      Returns:
      Whether the legacyAppInstallAd field is set.
    • getLegacyAppInstallAd

      LegacyAppInstallAdInfo 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];
      Returns:
      The legacyAppInstallAd.
    • getLegacyAppInstallAdOrBuilder

      LegacyAppInstallAdInfoOrBuilder 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];
    • hasResponsiveDisplayAd

      boolean hasResponsiveDisplayAd()
       Details pertaining to a responsive display ad.
       
      .google.ads.googleads.v18.common.ResponsiveDisplayAdInfo responsive_display_ad = 31;
      Returns:
      Whether the responsiveDisplayAd field is set.
    • getResponsiveDisplayAd

      ResponsiveDisplayAdInfo getResponsiveDisplayAd()
       Details pertaining to a responsive display ad.
       
      .google.ads.googleads.v18.common.ResponsiveDisplayAdInfo responsive_display_ad = 31;
      Returns:
      The responsiveDisplayAd.
    • getResponsiveDisplayAdOrBuilder

      ResponsiveDisplayAdInfoOrBuilder getResponsiveDisplayAdOrBuilder()
       Details pertaining to a responsive display ad.
       
      .google.ads.googleads.v18.common.ResponsiveDisplayAdInfo responsive_display_ad = 31;
    • hasLocalAd

      boolean hasLocalAd()
       Details pertaining to a local ad.
       
      .google.ads.googleads.v18.common.LocalAdInfo local_ad = 32;
      Returns:
      Whether the localAd field is set.
    • getLocalAd

      LocalAdInfo getLocalAd()
       Details pertaining to a local ad.
       
      .google.ads.googleads.v18.common.LocalAdInfo local_ad = 32;
      Returns:
      The localAd.
    • getLocalAdOrBuilder

      LocalAdInfoOrBuilder getLocalAdOrBuilder()
       Details pertaining to a local ad.
       
      .google.ads.googleads.v18.common.LocalAdInfo local_ad = 32;
    • hasDisplayUploadAd

      boolean hasDisplayUploadAd()
       Details pertaining to a display upload ad.
       
      .google.ads.googleads.v18.common.DisplayUploadAdInfo display_upload_ad = 33;
      Returns:
      Whether the displayUploadAd field is set.
    • getDisplayUploadAd

      DisplayUploadAdInfo getDisplayUploadAd()
       Details pertaining to a display upload ad.
       
      .google.ads.googleads.v18.common.DisplayUploadAdInfo display_upload_ad = 33;
      Returns:
      The displayUploadAd.
    • getDisplayUploadAdOrBuilder

      DisplayUploadAdInfoOrBuilder getDisplayUploadAdOrBuilder()
       Details pertaining to a display upload ad.
       
      .google.ads.googleads.v18.common.DisplayUploadAdInfo display_upload_ad = 33;
    • hasAppEngagementAd

      boolean hasAppEngagementAd()
       Details pertaining to an app engagement ad.
       
      .google.ads.googleads.v18.common.AppEngagementAdInfo app_engagement_ad = 34;
      Returns:
      Whether the appEngagementAd field is set.
    • getAppEngagementAd

      AppEngagementAdInfo getAppEngagementAd()
       Details pertaining to an app engagement ad.
       
      .google.ads.googleads.v18.common.AppEngagementAdInfo app_engagement_ad = 34;
      Returns:
      The appEngagementAd.
    • getAppEngagementAdOrBuilder

      AppEngagementAdInfoOrBuilder getAppEngagementAdOrBuilder()
       Details pertaining to an app engagement ad.
       
      .google.ads.googleads.v18.common.AppEngagementAdInfo app_engagement_ad = 34;
    • hasShoppingComparisonListingAd

      boolean hasShoppingComparisonListingAd()
       Details pertaining to a Shopping Comparison Listing ad.
       
      .google.ads.googleads.v18.common.ShoppingComparisonListingAdInfo shopping_comparison_listing_ad = 36;
      Returns:
      Whether the shoppingComparisonListingAd field is set.
    • getShoppingComparisonListingAd

      ShoppingComparisonListingAdInfo getShoppingComparisonListingAd()
       Details pertaining to a Shopping Comparison Listing ad.
       
      .google.ads.googleads.v18.common.ShoppingComparisonListingAdInfo shopping_comparison_listing_ad = 36;
      Returns:
      The shoppingComparisonListingAd.
    • getShoppingComparisonListingAdOrBuilder

      ShoppingComparisonListingAdInfoOrBuilder getShoppingComparisonListingAdOrBuilder()
       Details pertaining to a Shopping Comparison Listing ad.
       
      .google.ads.googleads.v18.common.ShoppingComparisonListingAdInfo shopping_comparison_listing_ad = 36;
    • hasSmartCampaignAd

      boolean hasSmartCampaignAd()
       Details pertaining to a Smart campaign ad.
       
      .google.ads.googleads.v18.common.SmartCampaignAdInfo smart_campaign_ad = 48;
      Returns:
      Whether the smartCampaignAd field is set.
    • getSmartCampaignAd

      SmartCampaignAdInfo getSmartCampaignAd()
       Details pertaining to a Smart campaign ad.
       
      .google.ads.googleads.v18.common.SmartCampaignAdInfo smart_campaign_ad = 48;
      Returns:
      The smartCampaignAd.
    • getSmartCampaignAdOrBuilder

      SmartCampaignAdInfoOrBuilder getSmartCampaignAdOrBuilder()
       Details pertaining to a Smart campaign ad.
       
      .google.ads.googleads.v18.common.SmartCampaignAdInfo smart_campaign_ad = 48;
    • hasAppPreRegistrationAd

      boolean hasAppPreRegistrationAd()
       Details pertaining to an app pre-registration ad.
       
      .google.ads.googleads.v18.common.AppPreRegistrationAdInfo app_pre_registration_ad = 50;
      Returns:
      Whether the appPreRegistrationAd field is set.
    • getAppPreRegistrationAd

      AppPreRegistrationAdInfo getAppPreRegistrationAd()
       Details pertaining to an app pre-registration ad.
       
      .google.ads.googleads.v18.common.AppPreRegistrationAdInfo app_pre_registration_ad = 50;
      Returns:
      The appPreRegistrationAd.
    • getAppPreRegistrationAdOrBuilder

      AppPreRegistrationAdInfoOrBuilder getAppPreRegistrationAdOrBuilder()
       Details pertaining to an app pre-registration ad.
       
      .google.ads.googleads.v18.common.AppPreRegistrationAdInfo app_pre_registration_ad = 50;
    • hasDemandGenMultiAssetAd

      boolean hasDemandGenMultiAssetAd()
       Details pertaining to a Demand Gen multi asset ad.
       
      .google.ads.googleads.v18.common.DemandGenMultiAssetAdInfo demand_gen_multi_asset_ad = 62;
      Returns:
      Whether the demandGenMultiAssetAd field is set.
    • getDemandGenMultiAssetAd

      DemandGenMultiAssetAdInfo getDemandGenMultiAssetAd()
       Details pertaining to a Demand Gen multi asset ad.
       
      .google.ads.googleads.v18.common.DemandGenMultiAssetAdInfo demand_gen_multi_asset_ad = 62;
      Returns:
      The demandGenMultiAssetAd.
    • getDemandGenMultiAssetAdOrBuilder

      DemandGenMultiAssetAdInfoOrBuilder getDemandGenMultiAssetAdOrBuilder()
       Details pertaining to a Demand Gen multi asset ad.
       
      .google.ads.googleads.v18.common.DemandGenMultiAssetAdInfo demand_gen_multi_asset_ad = 62;
    • hasDemandGenCarouselAd

      boolean hasDemandGenCarouselAd()
       Details pertaining to a Demand Gen carousel ad.
       
      .google.ads.googleads.v18.common.DemandGenCarouselAdInfo demand_gen_carousel_ad = 63;
      Returns:
      Whether the demandGenCarouselAd field is set.
    • getDemandGenCarouselAd

      DemandGenCarouselAdInfo getDemandGenCarouselAd()
       Details pertaining to a Demand Gen carousel ad.
       
      .google.ads.googleads.v18.common.DemandGenCarouselAdInfo demand_gen_carousel_ad = 63;
      Returns:
      The demandGenCarouselAd.
    • getDemandGenCarouselAdOrBuilder

      DemandGenCarouselAdInfoOrBuilder getDemandGenCarouselAdOrBuilder()
       Details pertaining to a Demand Gen carousel ad.
       
      .google.ads.googleads.v18.common.DemandGenCarouselAdInfo demand_gen_carousel_ad = 63;
    • hasDemandGenVideoResponsiveAd

      boolean hasDemandGenVideoResponsiveAd()
       Details pertaining to a Demand Gen video responsive ad.
       
      .google.ads.googleads.v18.common.DemandGenVideoResponsiveAdInfo demand_gen_video_responsive_ad = 64;
      Returns:
      Whether the demandGenVideoResponsiveAd field is set.
    • getDemandGenVideoResponsiveAd

      DemandGenVideoResponsiveAdInfo getDemandGenVideoResponsiveAd()
       Details pertaining to a Demand Gen video responsive ad.
       
      .google.ads.googleads.v18.common.DemandGenVideoResponsiveAdInfo demand_gen_video_responsive_ad = 64;
      Returns:
      The demandGenVideoResponsiveAd.
    • getDemandGenVideoResponsiveAdOrBuilder

      DemandGenVideoResponsiveAdInfoOrBuilder getDemandGenVideoResponsiveAdOrBuilder()
       Details pertaining to a Demand Gen video responsive ad.
       
      .google.ads.googleads.v18.common.DemandGenVideoResponsiveAdInfo demand_gen_video_responsive_ad = 64;
    • hasDemandGenProductAd

      boolean hasDemandGenProductAd()
       Details pertaining to a Demand Gen product ad.
       
      .google.ads.googleads.v18.common.DemandGenProductAdInfo demand_gen_product_ad = 61;
      Returns:
      Whether the demandGenProductAd field is set.
    • getDemandGenProductAd

      DemandGenProductAdInfo getDemandGenProductAd()
       Details pertaining to a Demand Gen product ad.
       
      .google.ads.googleads.v18.common.DemandGenProductAdInfo demand_gen_product_ad = 61;
      Returns:
      The demandGenProductAd.
    • getDemandGenProductAdOrBuilder

      DemandGenProductAdInfoOrBuilder getDemandGenProductAdOrBuilder()
       Details pertaining to a Demand Gen product ad.
       
      .google.ads.googleads.v18.common.DemandGenProductAdInfo demand_gen_product_ad = 61;
    • hasTravelAd

      boolean hasTravelAd()
       Details pertaining to a travel ad.
       
      .google.ads.googleads.v18.common.TravelAdInfo travel_ad = 54;
      Returns:
      Whether the travelAd field is set.
    • getTravelAd

      TravelAdInfo getTravelAd()
       Details pertaining to a travel ad.
       
      .google.ads.googleads.v18.common.TravelAdInfo travel_ad = 54;
      Returns:
      The travelAd.
    • getTravelAdOrBuilder

      TravelAdInfoOrBuilder getTravelAdOrBuilder()
       Details pertaining to a travel ad.
       
      .google.ads.googleads.v18.common.TravelAdInfo travel_ad = 54;
    • getAdDataCase

      Ad.AdDataCase getAdDataCase()