Class Ad.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<Ad.Builder>
com.google.ads.googleads.v18.resources.Ad.Builder
All Implemented Interfaces:
AdOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
Ad

public static final class Ad.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Ad.Builder> implements AdOrBuilder
 An ad.
 
Protobuf type google.ads.googleads.v18.resources.Ad
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Ad.Builder>
    • clear

      public Ad.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<Ad.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Ad.Builder>
    • getDefaultInstanceForType

      public Ad getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public Ad build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public Ad buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      public Ad.Builder clone()
      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<Ad.Builder>
    • setField

      public Ad.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<Ad.Builder>
    • clearField

      public Ad.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<Ad.Builder>
    • clearOneof

      public Ad.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Ad.Builder>
    • setRepeatedField

      public Ad.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Ad.Builder>
    • addRepeatedField

      public Ad.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Ad.Builder>
    • mergeFrom

      public Ad.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Ad.Builder>
    • mergeFrom

      public Ad.Builder mergeFrom(Ad other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Ad.Builder>
    • mergeFrom

      public Ad.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Ad.Builder>
      Throws:
      IOException
    • getAdDataCase

      public Ad.AdDataCase getAdDataCase()
      Specified by:
      getAdDataCase in interface AdOrBuilder
    • clearAdData

      public Ad.Builder clearAdData()
    • getResourceName

      public String getResourceName()
       Immutable. The resource name of the ad.
       Ad resource names have the form:
      
       `customers/{customer_id}/ads/{ad_id}`
       
      string resource_name = 37 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
      Specified by:
      getResourceName in interface AdOrBuilder
      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:
      getResourceNameBytes in interface AdOrBuilder
      Returns:
      The bytes for resourceName.
    • setResourceName

      public Ad.Builder setResourceName(String value)
       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) = { ... }
      Parameters:
      value - The resourceName to set.
      Returns:
      This builder for chaining.
    • clearResourceName

      public Ad.Builder clearResourceName()
       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:
      This builder for chaining.
    • setResourceNameBytes

      public Ad.Builder setResourceNameBytes(com.google.protobuf.ByteString value)
       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) = { ... }
      Parameters:
      value - The bytes for resourceName to set.
      Returns:
      This builder for chaining.
    • hasId

      public boolean hasId()
       Output only. The ID of the ad.
       
      optional int64 id = 40 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasId in interface AdOrBuilder
      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:
      getId in interface AdOrBuilder
      Returns:
      The id.
    • setId

      public Ad.Builder setId(long value)
       Output only. The ID of the ad.
       
      optional int64 id = 40 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The id to set.
      Returns:
      This builder for chaining.
    • clearId

      public Ad.Builder clearId()
       Output only. The ID of the ad.
       
      optional int64 id = 40 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • 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:
      getFinalUrlsList in interface AdOrBuilder
      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:
      getFinalUrlsCount in interface AdOrBuilder
      Returns:
      The count of finalUrls.
    • getFinalUrls

      public String getFinalUrls(int index)
       The list of possible final URLs after all cross-domain redirects for the
       ad.
       
      repeated string final_urls = 41;
      Specified by:
      getFinalUrls in interface AdOrBuilder
      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:
      getFinalUrlsBytes in interface AdOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the finalUrls at the given index.
    • setFinalUrls

      public Ad.Builder setFinalUrls(int index, String value)
       The list of possible final URLs after all cross-domain redirects for the
       ad.
       
      repeated string final_urls = 41;
      Parameters:
      index - The index to set the value at.
      value - The finalUrls to set.
      Returns:
      This builder for chaining.
    • addFinalUrls

      public Ad.Builder addFinalUrls(String value)
       The list of possible final URLs after all cross-domain redirects for the
       ad.
       
      repeated string final_urls = 41;
      Parameters:
      value - The finalUrls to add.
      Returns:
      This builder for chaining.
    • addAllFinalUrls

      public Ad.Builder addAllFinalUrls(Iterable<String> values)
       The list of possible final URLs after all cross-domain redirects for the
       ad.
       
      repeated string final_urls = 41;
      Parameters:
      values - The finalUrls to add.
      Returns:
      This builder for chaining.
    • clearFinalUrls

      public Ad.Builder clearFinalUrls()
       The list of possible final URLs after all cross-domain redirects for the
       ad.
       
      repeated string final_urls = 41;
      Returns:
      This builder for chaining.
    • addFinalUrlsBytes

      public Ad.Builder addFinalUrlsBytes(com.google.protobuf.ByteString value)
       The list of possible final URLs after all cross-domain redirects for the
       ad.
       
      repeated string final_urls = 41;
      Parameters:
      value - The bytes of the finalUrls to add.
      Returns:
      This builder for chaining.
    • getFinalAppUrlsList

      public 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;
      Specified by:
      getFinalAppUrlsList in interface AdOrBuilder
    • 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:
      getFinalAppUrlsCount in interface AdOrBuilder
    • getFinalAppUrls

      public FinalAppUrl getFinalAppUrls(int index)
       A list of final app URLs that will be used on mobile if the user has the
       specific app installed.
       
      repeated .google.ads.googleads.v18.common.FinalAppUrl final_app_urls = 35;
      Specified by:
      getFinalAppUrls in interface AdOrBuilder
    • setFinalAppUrls

      public Ad.Builder setFinalAppUrls(int index, FinalAppUrl value)
       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;
    • setFinalAppUrls

      public Ad.Builder setFinalAppUrls(int index, FinalAppUrl.Builder builderForValue)
       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;
    • addFinalAppUrls

      public Ad.Builder addFinalAppUrls(FinalAppUrl value)
       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;
    • addFinalAppUrls

      public Ad.Builder addFinalAppUrls(int index, FinalAppUrl value)
       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;
    • addFinalAppUrls

      public Ad.Builder addFinalAppUrls(FinalAppUrl.Builder builderForValue)
       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;
    • addFinalAppUrls

      public Ad.Builder addFinalAppUrls(int index, FinalAppUrl.Builder builderForValue)
       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;
    • addAllFinalAppUrls

      public Ad.Builder addAllFinalAppUrls(Iterable<? extends FinalAppUrl> values)
       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;
    • clearFinalAppUrls

      public Ad.Builder clearFinalAppUrls()
       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;
    • removeFinalAppUrls

      public Ad.Builder removeFinalAppUrls(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;
    • getFinalAppUrlsBuilder

      public FinalAppUrl.Builder getFinalAppUrlsBuilder(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;
    • getFinalAppUrlsOrBuilder

      public FinalAppUrlOrBuilder getFinalAppUrlsOrBuilder(int index)
       A list of final app URLs that will be used on mobile if the user has the
       specific app installed.
       
      repeated .google.ads.googleads.v18.common.FinalAppUrl final_app_urls = 35;
      Specified by:
      getFinalAppUrlsOrBuilder in interface AdOrBuilder
    • getFinalAppUrlsOrBuilderList

      public 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;
      Specified by:
      getFinalAppUrlsOrBuilderList in interface AdOrBuilder
    • addFinalAppUrlsBuilder

      public FinalAppUrl.Builder addFinalAppUrlsBuilder()
       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;
    • addFinalAppUrlsBuilder

      public FinalAppUrl.Builder addFinalAppUrlsBuilder(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;
    • getFinalAppUrlsBuilderList

      public List<FinalAppUrl.Builder> getFinalAppUrlsBuilderList()
       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

      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:
      getFinalMobileUrlsList in interface AdOrBuilder
      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:
      getFinalMobileUrlsCount in interface AdOrBuilder
      Returns:
      The count of finalMobileUrls.
    • getFinalMobileUrls

      public String getFinalMobileUrls(int index)
       The list of possible final mobile URLs after all cross-domain redirects
       for the ad.
       
      repeated string final_mobile_urls = 42;
      Specified by:
      getFinalMobileUrls in interface AdOrBuilder
      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:
      getFinalMobileUrlsBytes in interface AdOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the finalMobileUrls at the given index.
    • setFinalMobileUrls

      public Ad.Builder setFinalMobileUrls(int index, String value)
       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 to set the value at.
      value - The finalMobileUrls to set.
      Returns:
      This builder for chaining.
    • addFinalMobileUrls

      public Ad.Builder addFinalMobileUrls(String value)
       The list of possible final mobile URLs after all cross-domain redirects
       for the ad.
       
      repeated string final_mobile_urls = 42;
      Parameters:
      value - The finalMobileUrls to add.
      Returns:
      This builder for chaining.
    • addAllFinalMobileUrls

      public Ad.Builder addAllFinalMobileUrls(Iterable<String> values)
       The list of possible final mobile URLs after all cross-domain redirects
       for the ad.
       
      repeated string final_mobile_urls = 42;
      Parameters:
      values - The finalMobileUrls to add.
      Returns:
      This builder for chaining.
    • clearFinalMobileUrls

      public Ad.Builder clearFinalMobileUrls()
       The list of possible final mobile URLs after all cross-domain redirects
       for the ad.
       
      repeated string final_mobile_urls = 42;
      Returns:
      This builder for chaining.
    • addFinalMobileUrlsBytes

      public Ad.Builder addFinalMobileUrlsBytes(com.google.protobuf.ByteString value)
       The list of possible final mobile URLs after all cross-domain redirects
       for the ad.
       
      repeated string final_mobile_urls = 42;
      Parameters:
      value - The bytes of the finalMobileUrls to add.
      Returns:
      This builder for chaining.
    • hasTrackingUrlTemplate

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

      public String getTrackingUrlTemplate()
       The URL template for constructing a tracking URL.
       
      optional string tracking_url_template = 43;
      Specified by:
      getTrackingUrlTemplate in interface AdOrBuilder
      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:
      getTrackingUrlTemplateBytes in interface AdOrBuilder
      Returns:
      The bytes for trackingUrlTemplate.
    • setTrackingUrlTemplate

      public Ad.Builder setTrackingUrlTemplate(String value)
       The URL template for constructing a tracking URL.
       
      optional string tracking_url_template = 43;
      Parameters:
      value - The trackingUrlTemplate to set.
      Returns:
      This builder for chaining.
    • clearTrackingUrlTemplate

      public Ad.Builder clearTrackingUrlTemplate()
       The URL template for constructing a tracking URL.
       
      optional string tracking_url_template = 43;
      Returns:
      This builder for chaining.
    • setTrackingUrlTemplateBytes

      public Ad.Builder setTrackingUrlTemplateBytes(com.google.protobuf.ByteString value)
       The URL template for constructing a tracking URL.
       
      optional string tracking_url_template = 43;
      Parameters:
      value - The bytes for trackingUrlTemplate to set.
      Returns:
      This builder for chaining.
    • hasFinalUrlSuffix

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

      public String getFinalUrlSuffix()
       The suffix to use when constructing a final URL.
       
      optional string final_url_suffix = 44;
      Specified by:
      getFinalUrlSuffix in interface AdOrBuilder
      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:
      getFinalUrlSuffixBytes in interface AdOrBuilder
      Returns:
      The bytes for finalUrlSuffix.
    • setFinalUrlSuffix

      public Ad.Builder setFinalUrlSuffix(String value)
       The suffix to use when constructing a final URL.
       
      optional string final_url_suffix = 44;
      Parameters:
      value - The finalUrlSuffix to set.
      Returns:
      This builder for chaining.
    • clearFinalUrlSuffix

      public Ad.Builder clearFinalUrlSuffix()
       The suffix to use when constructing a final URL.
       
      optional string final_url_suffix = 44;
      Returns:
      This builder for chaining.
    • setFinalUrlSuffixBytes

      public Ad.Builder setFinalUrlSuffixBytes(com.google.protobuf.ByteString value)
       The suffix to use when constructing a final URL.
       
      optional string final_url_suffix = 44;
      Parameters:
      value - The bytes for finalUrlSuffix to set.
      Returns:
      This builder for chaining.
    • getUrlCustomParametersList

      public 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;
      Specified by:
      getUrlCustomParametersList in interface AdOrBuilder
    • 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:
      getUrlCustomParametersCount in interface AdOrBuilder
    • getUrlCustomParameters

      public CustomParameter getUrlCustomParameters(int index)
       The list of mappings that can be used to substitute custom parameter tags
       in a `tracking_url_template`, `final_urls`, or `mobile_final_urls`.
       For mutates, use url custom parameter operations.
       
      repeated .google.ads.googleads.v18.common.CustomParameter url_custom_parameters = 10;
      Specified by:
      getUrlCustomParameters in interface AdOrBuilder
    • setUrlCustomParameters

      public Ad.Builder setUrlCustomParameters(int index, CustomParameter value)
       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;
    • setUrlCustomParameters

      public Ad.Builder setUrlCustomParameters(int index, CustomParameter.Builder builderForValue)
       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;
    • addUrlCustomParameters

      public Ad.Builder addUrlCustomParameters(CustomParameter value)
       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;
    • addUrlCustomParameters

      public Ad.Builder addUrlCustomParameters(int index, CustomParameter value)
       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;
    • addUrlCustomParameters

      public Ad.Builder addUrlCustomParameters(CustomParameter.Builder builderForValue)
       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;
    • addUrlCustomParameters

      public Ad.Builder addUrlCustomParameters(int index, CustomParameter.Builder builderForValue)
       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;
    • addAllUrlCustomParameters

      public Ad.Builder addAllUrlCustomParameters(Iterable<? extends CustomParameter> values)
       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;
    • clearUrlCustomParameters

      public Ad.Builder clearUrlCustomParameters()
       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;
    • removeUrlCustomParameters

      public Ad.Builder removeUrlCustomParameters(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;
    • getUrlCustomParametersBuilder

      public CustomParameter.Builder getUrlCustomParametersBuilder(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;
    • getUrlCustomParametersOrBuilder

      public CustomParameterOrBuilder getUrlCustomParametersOrBuilder(int index)
       The list of mappings that can be used to substitute custom parameter tags
       in a `tracking_url_template`, `final_urls`, or `mobile_final_urls`.
       For mutates, use url custom parameter operations.
       
      repeated .google.ads.googleads.v18.common.CustomParameter url_custom_parameters = 10;
      Specified by:
      getUrlCustomParametersOrBuilder in interface AdOrBuilder
    • getUrlCustomParametersOrBuilderList

      public 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;
      Specified by:
      getUrlCustomParametersOrBuilderList in interface AdOrBuilder
    • addUrlCustomParametersBuilder

      public CustomParameter.Builder addUrlCustomParametersBuilder()
       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;
    • addUrlCustomParametersBuilder

      public CustomParameter.Builder addUrlCustomParametersBuilder(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;
    • getUrlCustomParametersBuilderList

      public List<CustomParameter.Builder> getUrlCustomParametersBuilderList()
       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

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

      public String getDisplayUrl()
       The URL that appears in the ad description for some ad formats.
       
      optional string display_url = 45;
      Specified by:
      getDisplayUrl in interface AdOrBuilder
      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:
      getDisplayUrlBytes in interface AdOrBuilder
      Returns:
      The bytes for displayUrl.
    • setDisplayUrl

      public Ad.Builder setDisplayUrl(String value)
       The URL that appears in the ad description for some ad formats.
       
      optional string display_url = 45;
      Parameters:
      value - The displayUrl to set.
      Returns:
      This builder for chaining.
    • clearDisplayUrl

      public Ad.Builder clearDisplayUrl()
       The URL that appears in the ad description for some ad formats.
       
      optional string display_url = 45;
      Returns:
      This builder for chaining.
    • setDisplayUrlBytes

      public Ad.Builder setDisplayUrlBytes(com.google.protobuf.ByteString value)
       The URL that appears in the ad description for some ad formats.
       
      optional string display_url = 45;
      Parameters:
      value - The bytes for displayUrl to set.
      Returns:
      This builder for chaining.
    • 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:
      getTypeValue in interface AdOrBuilder
      Returns:
      The enum numeric value on the wire for type.
    • setTypeValue

      public Ad.Builder setTypeValue(int value)
       Output only. The type of ad.
       
      .google.ads.googleads.v18.enums.AdTypeEnum.AdType type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The enum numeric value on the wire for type to set.
      Returns:
      This builder for chaining.
    • getType

      public AdTypeEnum.AdType getType()
       Output only. The type of ad.
       
      .google.ads.googleads.v18.enums.AdTypeEnum.AdType type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getType in interface AdOrBuilder
      Returns:
      The type.
    • setType

      public Ad.Builder setType(AdTypeEnum.AdType value)
       Output only. The type of ad.
       
      .google.ads.googleads.v18.enums.AdTypeEnum.AdType type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The type to set.
      Returns:
      This builder for chaining.
    • clearType

      public Ad.Builder clearType()
       Output only. The type of ad.
       
      .google.ads.googleads.v18.enums.AdTypeEnum.AdType type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • 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:
      hasAddedByGoogleAds in interface AdOrBuilder
      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:
      getAddedByGoogleAds in interface AdOrBuilder
      Returns:
      The addedByGoogleAds.
    • setAddedByGoogleAds

      public Ad.Builder setAddedByGoogleAds(boolean value)
       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];
      Parameters:
      value - The addedByGoogleAds to set.
      Returns:
      This builder for chaining.
    • clearAddedByGoogleAds

      public Ad.Builder clearAddedByGoogleAds()
       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:
      This builder for chaining.
    • 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:
      getDevicePreferenceValue in interface AdOrBuilder
      Returns:
      The enum numeric value on the wire for devicePreference.
    • setDevicePreferenceValue

      public Ad.Builder setDevicePreferenceValue(int value)
       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;
      Parameters:
      value - The enum numeric value on the wire for devicePreference to set.
      Returns:
      This builder for chaining.
    • getDevicePreference

      public DeviceEnum.Device getDevicePreference()
       The device preference for the ad. You can only specify a preference for
       mobile devices. When this preference is set the ad will be preferred over
       other ads when being displayed on a mobile device. The ad can still be
       displayed on other device types, 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:
      getDevicePreference in interface AdOrBuilder
      Returns:
      The devicePreference.
    • setDevicePreference

      public Ad.Builder setDevicePreference(DeviceEnum.Device value)
       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;
      Parameters:
      value - The devicePreference to set.
      Returns:
      This builder for chaining.
    • clearDevicePreference

      public Ad.Builder clearDevicePreference()
       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:
      This builder for chaining.
    • getUrlCollectionsList

      public 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;
      Specified by:
      getUrlCollectionsList in interface AdOrBuilder
    • 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:
      getUrlCollectionsCount in interface AdOrBuilder
    • getUrlCollections

      public UrlCollection getUrlCollections(int index)
       Additional URLs for the ad that are tagged with a unique identifier that
       can be referenced from other fields in the ad.
       
      repeated .google.ads.googleads.v18.common.UrlCollection url_collections = 26;
      Specified by:
      getUrlCollections in interface AdOrBuilder
    • setUrlCollections

      public Ad.Builder setUrlCollections(int index, UrlCollection value)
       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;
    • setUrlCollections

      public Ad.Builder setUrlCollections(int index, UrlCollection.Builder builderForValue)
       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;
    • addUrlCollections

      public Ad.Builder addUrlCollections(UrlCollection value)
       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;
    • addUrlCollections

      public Ad.Builder addUrlCollections(int index, UrlCollection value)
       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;
    • addUrlCollections

      public Ad.Builder addUrlCollections(UrlCollection.Builder builderForValue)
       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;
    • addUrlCollections

      public Ad.Builder addUrlCollections(int index, UrlCollection.Builder builderForValue)
       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;
    • addAllUrlCollections

      public Ad.Builder addAllUrlCollections(Iterable<? extends UrlCollection> values)
       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;
    • clearUrlCollections

      public Ad.Builder clearUrlCollections()
       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;
    • removeUrlCollections

      public Ad.Builder removeUrlCollections(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;
    • getUrlCollectionsBuilder

      public UrlCollection.Builder getUrlCollectionsBuilder(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;
    • getUrlCollectionsOrBuilder

      public UrlCollectionOrBuilder getUrlCollectionsOrBuilder(int index)
       Additional URLs for the ad that are tagged with a unique identifier that
       can be referenced from other fields in the ad.
       
      repeated .google.ads.googleads.v18.common.UrlCollection url_collections = 26;
      Specified by:
      getUrlCollectionsOrBuilder in interface AdOrBuilder
    • getUrlCollectionsOrBuilderList

      public 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;
      Specified by:
      getUrlCollectionsOrBuilderList in interface AdOrBuilder
    • addUrlCollectionsBuilder

      public UrlCollection.Builder addUrlCollectionsBuilder()
       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;
    • addUrlCollectionsBuilder

      public UrlCollection.Builder addUrlCollectionsBuilder(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;
    • getUrlCollectionsBuilderList

      public List<UrlCollection.Builder> getUrlCollectionsBuilderList()
       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

      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:
      hasName in interface AdOrBuilder
      Returns:
      Whether the name field is set.
    • getName

      public String getName()
       Immutable. The name of the ad. This is only used to be able to identify the
       ad. It does not need to be unique and does not affect the served ad. The
       name field is currently only supported for DisplayUploadAd, ImageAd,
       ShoppingComparisonListingAd and VideoAd.
       
      optional string name = 47 [(.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getName in interface AdOrBuilder
      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:
      getNameBytes in interface AdOrBuilder
      Returns:
      The bytes for name.
    • setName

      public Ad.Builder setName(String value)
       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];
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public Ad.Builder clearName()
       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:
      This builder for chaining.
    • setNameBytes

      public Ad.Builder setNameBytes(com.google.protobuf.ByteString value)
       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];
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • 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:
      getSystemManagedResourceSourceValue in interface AdOrBuilder
      Returns:
      The enum numeric value on the wire for systemManagedResourceSource.
    • setSystemManagedResourceSourceValue

      public Ad.Builder setSystemManagedResourceSourceValue(int value)
       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];
      Parameters:
      value - The enum numeric value on the wire for systemManagedResourceSource to set.
      Returns:
      This builder for chaining.
    • getSystemManagedResourceSource

      public SystemManagedResourceSourceEnum.SystemManagedResourceSource getSystemManagedResourceSource()
       Output only. If this ad is system managed, then this field will indicate
       the source. This field is read-only.
       
      .google.ads.googleads.v18.enums.SystemManagedResourceSourceEnum.SystemManagedResourceSource system_managed_resource_source = 27 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getSystemManagedResourceSource in interface AdOrBuilder
      Returns:
      The systemManagedResourceSource.
    • setSystemManagedResourceSource

      public Ad.Builder setSystemManagedResourceSource(SystemManagedResourceSourceEnum.SystemManagedResourceSource value)
       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];
      Parameters:
      value - The systemManagedResourceSource to set.
      Returns:
      This builder for chaining.
    • clearSystemManagedResourceSource

      public Ad.Builder clearSystemManagedResourceSource()
       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:
      This builder for chaining.
    • 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:
      hasTextAd in interface AdOrBuilder
      Returns:
      Whether the textAd field is set.
    • getTextAd

      public TextAdInfo getTextAd()
       Immutable. Details pertaining to a text ad.
       
      .google.ads.googleads.v18.common.TextAdInfo text_ad = 6 [(.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getTextAd in interface AdOrBuilder
      Returns:
      The textAd.
    • setTextAd

      public Ad.Builder setTextAd(TextAdInfo value)
       Immutable. Details pertaining to a text ad.
       
      .google.ads.googleads.v18.common.TextAdInfo text_ad = 6 [(.google.api.field_behavior) = IMMUTABLE];
    • setTextAd

      public Ad.Builder setTextAd(TextAdInfo.Builder builderForValue)
       Immutable. Details pertaining to a text ad.
       
      .google.ads.googleads.v18.common.TextAdInfo text_ad = 6 [(.google.api.field_behavior) = IMMUTABLE];
    • mergeTextAd

      public Ad.Builder mergeTextAd(TextAdInfo value)
       Immutable. Details pertaining to a text ad.
       
      .google.ads.googleads.v18.common.TextAdInfo text_ad = 6 [(.google.api.field_behavior) = IMMUTABLE];
    • clearTextAd

      public Ad.Builder clearTextAd()
       Immutable. Details pertaining to a text ad.
       
      .google.ads.googleads.v18.common.TextAdInfo text_ad = 6 [(.google.api.field_behavior) = IMMUTABLE];
    • getTextAdBuilder

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

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

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

      public ExpandedTextAdInfo getExpandedTextAd()
       Details pertaining to an expanded text ad.
       
      .google.ads.googleads.v18.common.ExpandedTextAdInfo expanded_text_ad = 7;
      Specified by:
      getExpandedTextAd in interface AdOrBuilder
      Returns:
      The expandedTextAd.
    • setExpandedTextAd

      public Ad.Builder setExpandedTextAd(ExpandedTextAdInfo value)
       Details pertaining to an expanded text ad.
       
      .google.ads.googleads.v18.common.ExpandedTextAdInfo expanded_text_ad = 7;
    • setExpandedTextAd

      public Ad.Builder setExpandedTextAd(ExpandedTextAdInfo.Builder builderForValue)
       Details pertaining to an expanded text ad.
       
      .google.ads.googleads.v18.common.ExpandedTextAdInfo expanded_text_ad = 7;
    • mergeExpandedTextAd

      public Ad.Builder mergeExpandedTextAd(ExpandedTextAdInfo value)
       Details pertaining to an expanded text ad.
       
      .google.ads.googleads.v18.common.ExpandedTextAdInfo expanded_text_ad = 7;
    • clearExpandedTextAd

      public Ad.Builder clearExpandedTextAd()
       Details pertaining to an expanded text ad.
       
      .google.ads.googleads.v18.common.ExpandedTextAdInfo expanded_text_ad = 7;
    • getExpandedTextAdBuilder

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

      public ExpandedTextAdInfoOrBuilder getExpandedTextAdOrBuilder()
       Details pertaining to an expanded text ad.
       
      .google.ads.googleads.v18.common.ExpandedTextAdInfo expanded_text_ad = 7;
      Specified by:
      getExpandedTextAdOrBuilder in interface AdOrBuilder
    • hasCallAd

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

      public CallAdInfo getCallAd()
       Details pertaining to a call ad.
       
      .google.ads.googleads.v18.common.CallAdInfo call_ad = 49;
      Specified by:
      getCallAd in interface AdOrBuilder
      Returns:
      The callAd.
    • setCallAd

      public Ad.Builder setCallAd(CallAdInfo value)
       Details pertaining to a call ad.
       
      .google.ads.googleads.v18.common.CallAdInfo call_ad = 49;
    • setCallAd

      public Ad.Builder setCallAd(CallAdInfo.Builder builderForValue)
       Details pertaining to a call ad.
       
      .google.ads.googleads.v18.common.CallAdInfo call_ad = 49;
    • mergeCallAd

      public Ad.Builder mergeCallAd(CallAdInfo value)
       Details pertaining to a call ad.
       
      .google.ads.googleads.v18.common.CallAdInfo call_ad = 49;
    • clearCallAd

      public Ad.Builder clearCallAd()
       Details pertaining to a call ad.
       
      .google.ads.googleads.v18.common.CallAdInfo call_ad = 49;
    • getCallAdBuilder

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

      public CallAdInfoOrBuilder getCallAdOrBuilder()
       Details pertaining to a call ad.
       
      .google.ads.googleads.v18.common.CallAdInfo call_ad = 49;
      Specified by:
      getCallAdOrBuilder in interface AdOrBuilder
    • 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:
      hasExpandedDynamicSearchAd in interface AdOrBuilder
      Returns:
      Whether the expandedDynamicSearchAd field is set.
    • getExpandedDynamicSearchAd

      public ExpandedDynamicSearchAdInfo getExpandedDynamicSearchAd()
       Immutable. Details pertaining to an Expanded Dynamic Search Ad.
       This type of ad has its headline, final URLs, and display URL
       auto-generated at serving time according to domain name specific
       information provided by `dynamic_search_ads_setting` linked at the
       campaign level.
       
      .google.ads.googleads.v18.common.ExpandedDynamicSearchAdInfo expanded_dynamic_search_ad = 14 [(.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getExpandedDynamicSearchAd in interface AdOrBuilder
      Returns:
      The expandedDynamicSearchAd.
    • setExpandedDynamicSearchAd

      public Ad.Builder setExpandedDynamicSearchAd(ExpandedDynamicSearchAdInfo value)
       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];
    • setExpandedDynamicSearchAd

      public Ad.Builder setExpandedDynamicSearchAd(ExpandedDynamicSearchAdInfo.Builder builderForValue)
       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];
    • mergeExpandedDynamicSearchAd

      public Ad.Builder mergeExpandedDynamicSearchAd(ExpandedDynamicSearchAdInfo value)
       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];
    • clearExpandedDynamicSearchAd

      public Ad.Builder clearExpandedDynamicSearchAd()
       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];
    • getExpandedDynamicSearchAdBuilder

      public ExpandedDynamicSearchAdInfo.Builder getExpandedDynamicSearchAdBuilder()
       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];
    • getExpandedDynamicSearchAdOrBuilder

      public ExpandedDynamicSearchAdInfoOrBuilder getExpandedDynamicSearchAdOrBuilder()
       Immutable. Details pertaining to an Expanded Dynamic Search Ad.
       This type of ad has its headline, final URLs, and display URL
       auto-generated at serving time according to domain name specific
       information provided by `dynamic_search_ads_setting` linked at the
       campaign level.
       
      .google.ads.googleads.v18.common.ExpandedDynamicSearchAdInfo expanded_dynamic_search_ad = 14 [(.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getExpandedDynamicSearchAdOrBuilder in interface AdOrBuilder
    • hasHotelAd

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

      public HotelAdInfo getHotelAd()
       Details pertaining to a hotel ad.
       
      .google.ads.googleads.v18.common.HotelAdInfo hotel_ad = 15;
      Specified by:
      getHotelAd in interface AdOrBuilder
      Returns:
      The hotelAd.
    • setHotelAd

      public Ad.Builder setHotelAd(HotelAdInfo value)
       Details pertaining to a hotel ad.
       
      .google.ads.googleads.v18.common.HotelAdInfo hotel_ad = 15;
    • setHotelAd

      public Ad.Builder setHotelAd(HotelAdInfo.Builder builderForValue)
       Details pertaining to a hotel ad.
       
      .google.ads.googleads.v18.common.HotelAdInfo hotel_ad = 15;
    • mergeHotelAd

      public Ad.Builder mergeHotelAd(HotelAdInfo value)
       Details pertaining to a hotel ad.
       
      .google.ads.googleads.v18.common.HotelAdInfo hotel_ad = 15;
    • clearHotelAd

      public Ad.Builder clearHotelAd()
       Details pertaining to a hotel ad.
       
      .google.ads.googleads.v18.common.HotelAdInfo hotel_ad = 15;
    • getHotelAdBuilder

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

      public HotelAdInfoOrBuilder getHotelAdOrBuilder()
       Details pertaining to a hotel ad.
       
      .google.ads.googleads.v18.common.HotelAdInfo hotel_ad = 15;
      Specified by:
      getHotelAdOrBuilder in interface AdOrBuilder
    • hasShoppingSmartAd

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

      public ShoppingSmartAdInfo getShoppingSmartAd()
       Details pertaining to a Smart Shopping ad.
       
      .google.ads.googleads.v18.common.ShoppingSmartAdInfo shopping_smart_ad = 17;
      Specified by:
      getShoppingSmartAd in interface AdOrBuilder
      Returns:
      The shoppingSmartAd.
    • setShoppingSmartAd

      public Ad.Builder setShoppingSmartAd(ShoppingSmartAdInfo value)
       Details pertaining to a Smart Shopping ad.
       
      .google.ads.googleads.v18.common.ShoppingSmartAdInfo shopping_smart_ad = 17;
    • setShoppingSmartAd

      public Ad.Builder setShoppingSmartAd(ShoppingSmartAdInfo.Builder builderForValue)
       Details pertaining to a Smart Shopping ad.
       
      .google.ads.googleads.v18.common.ShoppingSmartAdInfo shopping_smart_ad = 17;
    • mergeShoppingSmartAd

      public Ad.Builder mergeShoppingSmartAd(ShoppingSmartAdInfo value)
       Details pertaining to a Smart Shopping ad.
       
      .google.ads.googleads.v18.common.ShoppingSmartAdInfo shopping_smart_ad = 17;
    • clearShoppingSmartAd

      public Ad.Builder clearShoppingSmartAd()
       Details pertaining to a Smart Shopping ad.
       
      .google.ads.googleads.v18.common.ShoppingSmartAdInfo shopping_smart_ad = 17;
    • getShoppingSmartAdBuilder

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

      public ShoppingSmartAdInfoOrBuilder getShoppingSmartAdOrBuilder()
       Details pertaining to a Smart Shopping ad.
       
      .google.ads.googleads.v18.common.ShoppingSmartAdInfo shopping_smart_ad = 17;
      Specified by:
      getShoppingSmartAdOrBuilder in interface AdOrBuilder
    • hasShoppingProductAd

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

      public ShoppingProductAdInfo getShoppingProductAd()
       Details pertaining to a Shopping product ad.
       
      .google.ads.googleads.v18.common.ShoppingProductAdInfo shopping_product_ad = 18;
      Specified by:
      getShoppingProductAd in interface AdOrBuilder
      Returns:
      The shoppingProductAd.
    • setShoppingProductAd

      public Ad.Builder setShoppingProductAd(ShoppingProductAdInfo value)
       Details pertaining to a Shopping product ad.
       
      .google.ads.googleads.v18.common.ShoppingProductAdInfo shopping_product_ad = 18;
    • setShoppingProductAd

      public Ad.Builder setShoppingProductAd(ShoppingProductAdInfo.Builder builderForValue)
       Details pertaining to a Shopping product ad.
       
      .google.ads.googleads.v18.common.ShoppingProductAdInfo shopping_product_ad = 18;
    • mergeShoppingProductAd

      public Ad.Builder mergeShoppingProductAd(ShoppingProductAdInfo value)
       Details pertaining to a Shopping product ad.
       
      .google.ads.googleads.v18.common.ShoppingProductAdInfo shopping_product_ad = 18;
    • clearShoppingProductAd

      public Ad.Builder clearShoppingProductAd()
       Details pertaining to a Shopping product ad.
       
      .google.ads.googleads.v18.common.ShoppingProductAdInfo shopping_product_ad = 18;
    • getShoppingProductAdBuilder

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

      public ShoppingProductAdInfoOrBuilder getShoppingProductAdOrBuilder()
       Details pertaining to a Shopping product ad.
       
      .google.ads.googleads.v18.common.ShoppingProductAdInfo shopping_product_ad = 18;
      Specified by:
      getShoppingProductAdOrBuilder in interface AdOrBuilder
    • 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:
      hasImageAd in interface AdOrBuilder
      Returns:
      Whether the imageAd field is set.
    • getImageAd

      public ImageAdInfo getImageAd()
       Immutable. Details pertaining to an Image ad.
       
      .google.ads.googleads.v18.common.ImageAdInfo image_ad = 22 [(.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getImageAd in interface AdOrBuilder
      Returns:
      The imageAd.
    • setImageAd

      public Ad.Builder setImageAd(ImageAdInfo value)
       Immutable. Details pertaining to an Image ad.
       
      .google.ads.googleads.v18.common.ImageAdInfo image_ad = 22 [(.google.api.field_behavior) = IMMUTABLE];
    • setImageAd

      public Ad.Builder setImageAd(ImageAdInfo.Builder builderForValue)
       Immutable. Details pertaining to an Image ad.
       
      .google.ads.googleads.v18.common.ImageAdInfo image_ad = 22 [(.google.api.field_behavior) = IMMUTABLE];
    • mergeImageAd

      public Ad.Builder mergeImageAd(ImageAdInfo value)
       Immutable. Details pertaining to an Image ad.
       
      .google.ads.googleads.v18.common.ImageAdInfo image_ad = 22 [(.google.api.field_behavior) = IMMUTABLE];
    • clearImageAd

      public Ad.Builder clearImageAd()
       Immutable. Details pertaining to an Image ad.
       
      .google.ads.googleads.v18.common.ImageAdInfo image_ad = 22 [(.google.api.field_behavior) = IMMUTABLE];
    • getImageAdBuilder

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

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

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

      public VideoAdInfo getVideoAd()
       Details pertaining to a Video ad.
       
      .google.ads.googleads.v18.common.VideoAdInfo video_ad = 24;
      Specified by:
      getVideoAd in interface AdOrBuilder
      Returns:
      The videoAd.
    • setVideoAd

      public Ad.Builder setVideoAd(VideoAdInfo value)
       Details pertaining to a Video ad.
       
      .google.ads.googleads.v18.common.VideoAdInfo video_ad = 24;
    • setVideoAd

      public Ad.Builder setVideoAd(VideoAdInfo.Builder builderForValue)
       Details pertaining to a Video ad.
       
      .google.ads.googleads.v18.common.VideoAdInfo video_ad = 24;
    • mergeVideoAd

      public Ad.Builder mergeVideoAd(VideoAdInfo value)
       Details pertaining to a Video ad.
       
      .google.ads.googleads.v18.common.VideoAdInfo video_ad = 24;
    • clearVideoAd

      public Ad.Builder clearVideoAd()
       Details pertaining to a Video ad.
       
      .google.ads.googleads.v18.common.VideoAdInfo video_ad = 24;
    • getVideoAdBuilder

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

      public VideoAdInfoOrBuilder getVideoAdOrBuilder()
       Details pertaining to a Video ad.
       
      .google.ads.googleads.v18.common.VideoAdInfo video_ad = 24;
      Specified by:
      getVideoAdOrBuilder in interface AdOrBuilder
    • hasVideoResponsiveAd

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

      public VideoResponsiveAdInfo getVideoResponsiveAd()
       Details pertaining to a Video responsive ad.
       
      .google.ads.googleads.v18.common.VideoResponsiveAdInfo video_responsive_ad = 39;
      Specified by:
      getVideoResponsiveAd in interface AdOrBuilder
      Returns:
      The videoResponsiveAd.
    • setVideoResponsiveAd

      public Ad.Builder setVideoResponsiveAd(VideoResponsiveAdInfo value)
       Details pertaining to a Video responsive ad.
       
      .google.ads.googleads.v18.common.VideoResponsiveAdInfo video_responsive_ad = 39;
    • setVideoResponsiveAd

      public Ad.Builder setVideoResponsiveAd(VideoResponsiveAdInfo.Builder builderForValue)
       Details pertaining to a Video responsive ad.
       
      .google.ads.googleads.v18.common.VideoResponsiveAdInfo video_responsive_ad = 39;
    • mergeVideoResponsiveAd

      public Ad.Builder mergeVideoResponsiveAd(VideoResponsiveAdInfo value)
       Details pertaining to a Video responsive ad.
       
      .google.ads.googleads.v18.common.VideoResponsiveAdInfo video_responsive_ad = 39;
    • clearVideoResponsiveAd

      public Ad.Builder clearVideoResponsiveAd()
       Details pertaining to a Video responsive ad.
       
      .google.ads.googleads.v18.common.VideoResponsiveAdInfo video_responsive_ad = 39;
    • getVideoResponsiveAdBuilder

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

      public VideoResponsiveAdInfoOrBuilder getVideoResponsiveAdOrBuilder()
       Details pertaining to a Video responsive ad.
       
      .google.ads.googleads.v18.common.VideoResponsiveAdInfo video_responsive_ad = 39;
      Specified by:
      getVideoResponsiveAdOrBuilder in interface AdOrBuilder
    • hasResponsiveSearchAd

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

      public ResponsiveSearchAdInfo getResponsiveSearchAd()
       Details pertaining to a responsive search ad.
       
      .google.ads.googleads.v18.common.ResponsiveSearchAdInfo responsive_search_ad = 25;
      Specified by:
      getResponsiveSearchAd in interface AdOrBuilder
      Returns:
      The responsiveSearchAd.
    • setResponsiveSearchAd

      public Ad.Builder setResponsiveSearchAd(ResponsiveSearchAdInfo value)
       Details pertaining to a responsive search ad.
       
      .google.ads.googleads.v18.common.ResponsiveSearchAdInfo responsive_search_ad = 25;
    • setResponsiveSearchAd

      public Ad.Builder setResponsiveSearchAd(ResponsiveSearchAdInfo.Builder builderForValue)
       Details pertaining to a responsive search ad.
       
      .google.ads.googleads.v18.common.ResponsiveSearchAdInfo responsive_search_ad = 25;
    • mergeResponsiveSearchAd

      public Ad.Builder mergeResponsiveSearchAd(ResponsiveSearchAdInfo value)
       Details pertaining to a responsive search ad.
       
      .google.ads.googleads.v18.common.ResponsiveSearchAdInfo responsive_search_ad = 25;
    • clearResponsiveSearchAd

      public Ad.Builder clearResponsiveSearchAd()
       Details pertaining to a responsive search ad.
       
      .google.ads.googleads.v18.common.ResponsiveSearchAdInfo responsive_search_ad = 25;
    • getResponsiveSearchAdBuilder

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

      public ResponsiveSearchAdInfoOrBuilder getResponsiveSearchAdOrBuilder()
       Details pertaining to a responsive search ad.
       
      .google.ads.googleads.v18.common.ResponsiveSearchAdInfo responsive_search_ad = 25;
      Specified by:
      getResponsiveSearchAdOrBuilder in interface AdOrBuilder
    • 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:
      hasLegacyResponsiveDisplayAd in interface AdOrBuilder
      Returns:
      Whether the legacyResponsiveDisplayAd field is set.
    • getLegacyResponsiveDisplayAd

      public LegacyResponsiveDisplayAdInfo getLegacyResponsiveDisplayAd()
       Details pertaining to a legacy responsive display ad.
       
      .google.ads.googleads.v18.common.LegacyResponsiveDisplayAdInfo legacy_responsive_display_ad = 28;
      Specified by:
      getLegacyResponsiveDisplayAd in interface AdOrBuilder
      Returns:
      The legacyResponsiveDisplayAd.
    • setLegacyResponsiveDisplayAd

      public Ad.Builder setLegacyResponsiveDisplayAd(LegacyResponsiveDisplayAdInfo value)
       Details pertaining to a legacy responsive display ad.
       
      .google.ads.googleads.v18.common.LegacyResponsiveDisplayAdInfo legacy_responsive_display_ad = 28;
    • setLegacyResponsiveDisplayAd

      public Ad.Builder setLegacyResponsiveDisplayAd(LegacyResponsiveDisplayAdInfo.Builder builderForValue)
       Details pertaining to a legacy responsive display ad.
       
      .google.ads.googleads.v18.common.LegacyResponsiveDisplayAdInfo legacy_responsive_display_ad = 28;
    • mergeLegacyResponsiveDisplayAd

      public Ad.Builder mergeLegacyResponsiveDisplayAd(LegacyResponsiveDisplayAdInfo value)
       Details pertaining to a legacy responsive display ad.
       
      .google.ads.googleads.v18.common.LegacyResponsiveDisplayAdInfo legacy_responsive_display_ad = 28;
    • clearLegacyResponsiveDisplayAd

      public Ad.Builder clearLegacyResponsiveDisplayAd()
       Details pertaining to a legacy responsive display ad.
       
      .google.ads.googleads.v18.common.LegacyResponsiveDisplayAdInfo legacy_responsive_display_ad = 28;
    • getLegacyResponsiveDisplayAdBuilder

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

      public LegacyResponsiveDisplayAdInfoOrBuilder getLegacyResponsiveDisplayAdOrBuilder()
       Details pertaining to a legacy responsive display ad.
       
      .google.ads.googleads.v18.common.LegacyResponsiveDisplayAdInfo legacy_responsive_display_ad = 28;
      Specified by:
      getLegacyResponsiveDisplayAdOrBuilder in interface AdOrBuilder
    • hasAppAd

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

      public AppAdInfo getAppAd()
       Details pertaining to an app ad.
       
      .google.ads.googleads.v18.common.AppAdInfo app_ad = 29;
      Specified by:
      getAppAd in interface AdOrBuilder
      Returns:
      The appAd.
    • setAppAd

      public Ad.Builder setAppAd(AppAdInfo value)
       Details pertaining to an app ad.
       
      .google.ads.googleads.v18.common.AppAdInfo app_ad = 29;
    • setAppAd

      public Ad.Builder setAppAd(AppAdInfo.Builder builderForValue)
       Details pertaining to an app ad.
       
      .google.ads.googleads.v18.common.AppAdInfo app_ad = 29;
    • mergeAppAd

      public Ad.Builder mergeAppAd(AppAdInfo value)
       Details pertaining to an app ad.
       
      .google.ads.googleads.v18.common.AppAdInfo app_ad = 29;
    • clearAppAd

      public Ad.Builder clearAppAd()
       Details pertaining to an app ad.
       
      .google.ads.googleads.v18.common.AppAdInfo app_ad = 29;
    • getAppAdBuilder

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

      public AppAdInfoOrBuilder getAppAdOrBuilder()
       Details pertaining to an app ad.
       
      .google.ads.googleads.v18.common.AppAdInfo app_ad = 29;
      Specified by:
      getAppAdOrBuilder in interface AdOrBuilder
    • 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:
      hasLegacyAppInstallAd in interface AdOrBuilder
      Returns:
      Whether the legacyAppInstallAd field is set.
    • getLegacyAppInstallAd

      public 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];
      Specified by:
      getLegacyAppInstallAd in interface AdOrBuilder
      Returns:
      The legacyAppInstallAd.
    • setLegacyAppInstallAd

      public Ad.Builder setLegacyAppInstallAd(LegacyAppInstallAdInfo value)
       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];
    • setLegacyAppInstallAd

      public Ad.Builder setLegacyAppInstallAd(LegacyAppInstallAdInfo.Builder builderForValue)
       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];
    • mergeLegacyAppInstallAd

      public Ad.Builder mergeLegacyAppInstallAd(LegacyAppInstallAdInfo value)
       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];
    • clearLegacyAppInstallAd

      public Ad.Builder clearLegacyAppInstallAd()
       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];
    • getLegacyAppInstallAdBuilder

      public LegacyAppInstallAdInfo.Builder getLegacyAppInstallAdBuilder()
       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];
    • getLegacyAppInstallAdOrBuilder

      public 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];
      Specified by:
      getLegacyAppInstallAdOrBuilder in interface AdOrBuilder
    • hasResponsiveDisplayAd

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

      public ResponsiveDisplayAdInfo getResponsiveDisplayAd()
       Details pertaining to a responsive display ad.
       
      .google.ads.googleads.v18.common.ResponsiveDisplayAdInfo responsive_display_ad = 31;
      Specified by:
      getResponsiveDisplayAd in interface AdOrBuilder
      Returns:
      The responsiveDisplayAd.
    • setResponsiveDisplayAd

      public Ad.Builder setResponsiveDisplayAd(ResponsiveDisplayAdInfo value)
       Details pertaining to a responsive display ad.
       
      .google.ads.googleads.v18.common.ResponsiveDisplayAdInfo responsive_display_ad = 31;
    • setResponsiveDisplayAd

      public Ad.Builder setResponsiveDisplayAd(ResponsiveDisplayAdInfo.Builder builderForValue)
       Details pertaining to a responsive display ad.
       
      .google.ads.googleads.v18.common.ResponsiveDisplayAdInfo responsive_display_ad = 31;
    • mergeResponsiveDisplayAd

      public Ad.Builder mergeResponsiveDisplayAd(ResponsiveDisplayAdInfo value)
       Details pertaining to a responsive display ad.
       
      .google.ads.googleads.v18.common.ResponsiveDisplayAdInfo responsive_display_ad = 31;
    • clearResponsiveDisplayAd

      public Ad.Builder clearResponsiveDisplayAd()
       Details pertaining to a responsive display ad.
       
      .google.ads.googleads.v18.common.ResponsiveDisplayAdInfo responsive_display_ad = 31;
    • getResponsiveDisplayAdBuilder

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

      public ResponsiveDisplayAdInfoOrBuilder getResponsiveDisplayAdOrBuilder()
       Details pertaining to a responsive display ad.
       
      .google.ads.googleads.v18.common.ResponsiveDisplayAdInfo responsive_display_ad = 31;
      Specified by:
      getResponsiveDisplayAdOrBuilder in interface AdOrBuilder
    • hasLocalAd

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

      public LocalAdInfo getLocalAd()
       Details pertaining to a local ad.
       
      .google.ads.googleads.v18.common.LocalAdInfo local_ad = 32;
      Specified by:
      getLocalAd in interface AdOrBuilder
      Returns:
      The localAd.
    • setLocalAd

      public Ad.Builder setLocalAd(LocalAdInfo value)
       Details pertaining to a local ad.
       
      .google.ads.googleads.v18.common.LocalAdInfo local_ad = 32;
    • setLocalAd

      public Ad.Builder setLocalAd(LocalAdInfo.Builder builderForValue)
       Details pertaining to a local ad.
       
      .google.ads.googleads.v18.common.LocalAdInfo local_ad = 32;
    • mergeLocalAd

      public Ad.Builder mergeLocalAd(LocalAdInfo value)
       Details pertaining to a local ad.
       
      .google.ads.googleads.v18.common.LocalAdInfo local_ad = 32;
    • clearLocalAd

      public Ad.Builder clearLocalAd()
       Details pertaining to a local ad.
       
      .google.ads.googleads.v18.common.LocalAdInfo local_ad = 32;
    • getLocalAdBuilder

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

      public LocalAdInfoOrBuilder getLocalAdOrBuilder()
       Details pertaining to a local ad.
       
      .google.ads.googleads.v18.common.LocalAdInfo local_ad = 32;
      Specified by:
      getLocalAdOrBuilder in interface AdOrBuilder
    • hasDisplayUploadAd

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

      public DisplayUploadAdInfo getDisplayUploadAd()
       Details pertaining to a display upload ad.
       
      .google.ads.googleads.v18.common.DisplayUploadAdInfo display_upload_ad = 33;
      Specified by:
      getDisplayUploadAd in interface AdOrBuilder
      Returns:
      The displayUploadAd.
    • setDisplayUploadAd

      public Ad.Builder setDisplayUploadAd(DisplayUploadAdInfo value)
       Details pertaining to a display upload ad.
       
      .google.ads.googleads.v18.common.DisplayUploadAdInfo display_upload_ad = 33;
    • setDisplayUploadAd

      public Ad.Builder setDisplayUploadAd(DisplayUploadAdInfo.Builder builderForValue)
       Details pertaining to a display upload ad.
       
      .google.ads.googleads.v18.common.DisplayUploadAdInfo display_upload_ad = 33;
    • mergeDisplayUploadAd

      public Ad.Builder mergeDisplayUploadAd(DisplayUploadAdInfo value)
       Details pertaining to a display upload ad.
       
      .google.ads.googleads.v18.common.DisplayUploadAdInfo display_upload_ad = 33;
    • clearDisplayUploadAd

      public Ad.Builder clearDisplayUploadAd()
       Details pertaining to a display upload ad.
       
      .google.ads.googleads.v18.common.DisplayUploadAdInfo display_upload_ad = 33;
    • getDisplayUploadAdBuilder

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

      public DisplayUploadAdInfoOrBuilder getDisplayUploadAdOrBuilder()
       Details pertaining to a display upload ad.
       
      .google.ads.googleads.v18.common.DisplayUploadAdInfo display_upload_ad = 33;
      Specified by:
      getDisplayUploadAdOrBuilder in interface AdOrBuilder
    • hasAppEngagementAd

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

      public AppEngagementAdInfo getAppEngagementAd()
       Details pertaining to an app engagement ad.
       
      .google.ads.googleads.v18.common.AppEngagementAdInfo app_engagement_ad = 34;
      Specified by:
      getAppEngagementAd in interface AdOrBuilder
      Returns:
      The appEngagementAd.
    • setAppEngagementAd

      public Ad.Builder setAppEngagementAd(AppEngagementAdInfo value)
       Details pertaining to an app engagement ad.
       
      .google.ads.googleads.v18.common.AppEngagementAdInfo app_engagement_ad = 34;
    • setAppEngagementAd

      public Ad.Builder setAppEngagementAd(AppEngagementAdInfo.Builder builderForValue)
       Details pertaining to an app engagement ad.
       
      .google.ads.googleads.v18.common.AppEngagementAdInfo app_engagement_ad = 34;
    • mergeAppEngagementAd

      public Ad.Builder mergeAppEngagementAd(AppEngagementAdInfo value)
       Details pertaining to an app engagement ad.
       
      .google.ads.googleads.v18.common.AppEngagementAdInfo app_engagement_ad = 34;
    • clearAppEngagementAd

      public Ad.Builder clearAppEngagementAd()
       Details pertaining to an app engagement ad.
       
      .google.ads.googleads.v18.common.AppEngagementAdInfo app_engagement_ad = 34;
    • getAppEngagementAdBuilder

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

      public AppEngagementAdInfoOrBuilder getAppEngagementAdOrBuilder()
       Details pertaining to an app engagement ad.
       
      .google.ads.googleads.v18.common.AppEngagementAdInfo app_engagement_ad = 34;
      Specified by:
      getAppEngagementAdOrBuilder in interface AdOrBuilder
    • 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:
      hasShoppingComparisonListingAd in interface AdOrBuilder
      Returns:
      Whether the shoppingComparisonListingAd field is set.
    • getShoppingComparisonListingAd

      public ShoppingComparisonListingAdInfo getShoppingComparisonListingAd()
       Details pertaining to a Shopping Comparison Listing ad.
       
      .google.ads.googleads.v18.common.ShoppingComparisonListingAdInfo shopping_comparison_listing_ad = 36;
      Specified by:
      getShoppingComparisonListingAd in interface AdOrBuilder
      Returns:
      The shoppingComparisonListingAd.
    • setShoppingComparisonListingAd

      public Ad.Builder setShoppingComparisonListingAd(ShoppingComparisonListingAdInfo value)
       Details pertaining to a Shopping Comparison Listing ad.
       
      .google.ads.googleads.v18.common.ShoppingComparisonListingAdInfo shopping_comparison_listing_ad = 36;
    • setShoppingComparisonListingAd

      public Ad.Builder setShoppingComparisonListingAd(ShoppingComparisonListingAdInfo.Builder builderForValue)
       Details pertaining to a Shopping Comparison Listing ad.
       
      .google.ads.googleads.v18.common.ShoppingComparisonListingAdInfo shopping_comparison_listing_ad = 36;
    • mergeShoppingComparisonListingAd

      public Ad.Builder mergeShoppingComparisonListingAd(ShoppingComparisonListingAdInfo value)
       Details pertaining to a Shopping Comparison Listing ad.
       
      .google.ads.googleads.v18.common.ShoppingComparisonListingAdInfo shopping_comparison_listing_ad = 36;
    • clearShoppingComparisonListingAd

      public Ad.Builder clearShoppingComparisonListingAd()
       Details pertaining to a Shopping Comparison Listing ad.
       
      .google.ads.googleads.v18.common.ShoppingComparisonListingAdInfo shopping_comparison_listing_ad = 36;
    • getShoppingComparisonListingAdBuilder

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

      public ShoppingComparisonListingAdInfoOrBuilder getShoppingComparisonListingAdOrBuilder()
       Details pertaining to a Shopping Comparison Listing ad.
       
      .google.ads.googleads.v18.common.ShoppingComparisonListingAdInfo shopping_comparison_listing_ad = 36;
      Specified by:
      getShoppingComparisonListingAdOrBuilder in interface AdOrBuilder
    • hasSmartCampaignAd

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

      public SmartCampaignAdInfo getSmartCampaignAd()
       Details pertaining to a Smart campaign ad.
       
      .google.ads.googleads.v18.common.SmartCampaignAdInfo smart_campaign_ad = 48;
      Specified by:
      getSmartCampaignAd in interface AdOrBuilder
      Returns:
      The smartCampaignAd.
    • setSmartCampaignAd

      public Ad.Builder setSmartCampaignAd(SmartCampaignAdInfo value)
       Details pertaining to a Smart campaign ad.
       
      .google.ads.googleads.v18.common.SmartCampaignAdInfo smart_campaign_ad = 48;
    • setSmartCampaignAd

      public Ad.Builder setSmartCampaignAd(SmartCampaignAdInfo.Builder builderForValue)
       Details pertaining to a Smart campaign ad.
       
      .google.ads.googleads.v18.common.SmartCampaignAdInfo smart_campaign_ad = 48;
    • mergeSmartCampaignAd

      public Ad.Builder mergeSmartCampaignAd(SmartCampaignAdInfo value)
       Details pertaining to a Smart campaign ad.
       
      .google.ads.googleads.v18.common.SmartCampaignAdInfo smart_campaign_ad = 48;
    • clearSmartCampaignAd

      public Ad.Builder clearSmartCampaignAd()
       Details pertaining to a Smart campaign ad.
       
      .google.ads.googleads.v18.common.SmartCampaignAdInfo smart_campaign_ad = 48;
    • getSmartCampaignAdBuilder

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

      public SmartCampaignAdInfoOrBuilder getSmartCampaignAdOrBuilder()
       Details pertaining to a Smart campaign ad.
       
      .google.ads.googleads.v18.common.SmartCampaignAdInfo smart_campaign_ad = 48;
      Specified by:
      getSmartCampaignAdOrBuilder in interface AdOrBuilder
    • 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:
      hasAppPreRegistrationAd in interface AdOrBuilder
      Returns:
      Whether the appPreRegistrationAd field is set.
    • getAppPreRegistrationAd

      public AppPreRegistrationAdInfo getAppPreRegistrationAd()
       Details pertaining to an app pre-registration ad.
       
      .google.ads.googleads.v18.common.AppPreRegistrationAdInfo app_pre_registration_ad = 50;
      Specified by:
      getAppPreRegistrationAd in interface AdOrBuilder
      Returns:
      The appPreRegistrationAd.
    • setAppPreRegistrationAd

      public Ad.Builder setAppPreRegistrationAd(AppPreRegistrationAdInfo value)
       Details pertaining to an app pre-registration ad.
       
      .google.ads.googleads.v18.common.AppPreRegistrationAdInfo app_pre_registration_ad = 50;
    • setAppPreRegistrationAd

      public Ad.Builder setAppPreRegistrationAd(AppPreRegistrationAdInfo.Builder builderForValue)
       Details pertaining to an app pre-registration ad.
       
      .google.ads.googleads.v18.common.AppPreRegistrationAdInfo app_pre_registration_ad = 50;
    • mergeAppPreRegistrationAd

      public Ad.Builder mergeAppPreRegistrationAd(AppPreRegistrationAdInfo value)
       Details pertaining to an app pre-registration ad.
       
      .google.ads.googleads.v18.common.AppPreRegistrationAdInfo app_pre_registration_ad = 50;
    • clearAppPreRegistrationAd

      public Ad.Builder clearAppPreRegistrationAd()
       Details pertaining to an app pre-registration ad.
       
      .google.ads.googleads.v18.common.AppPreRegistrationAdInfo app_pre_registration_ad = 50;
    • getAppPreRegistrationAdBuilder

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

      public AppPreRegistrationAdInfoOrBuilder getAppPreRegistrationAdOrBuilder()
       Details pertaining to an app pre-registration ad.
       
      .google.ads.googleads.v18.common.AppPreRegistrationAdInfo app_pre_registration_ad = 50;
      Specified by:
      getAppPreRegistrationAdOrBuilder in interface AdOrBuilder
    • 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:
      hasDemandGenMultiAssetAd in interface AdOrBuilder
      Returns:
      Whether the demandGenMultiAssetAd field is set.
    • getDemandGenMultiAssetAd

      public DemandGenMultiAssetAdInfo getDemandGenMultiAssetAd()
       Details pertaining to a Demand Gen multi asset ad.
       
      .google.ads.googleads.v18.common.DemandGenMultiAssetAdInfo demand_gen_multi_asset_ad = 62;
      Specified by:
      getDemandGenMultiAssetAd in interface AdOrBuilder
      Returns:
      The demandGenMultiAssetAd.
    • setDemandGenMultiAssetAd

      public Ad.Builder setDemandGenMultiAssetAd(DemandGenMultiAssetAdInfo value)
       Details pertaining to a Demand Gen multi asset ad.
       
      .google.ads.googleads.v18.common.DemandGenMultiAssetAdInfo demand_gen_multi_asset_ad = 62;
    • setDemandGenMultiAssetAd

      public Ad.Builder setDemandGenMultiAssetAd(DemandGenMultiAssetAdInfo.Builder builderForValue)
       Details pertaining to a Demand Gen multi asset ad.
       
      .google.ads.googleads.v18.common.DemandGenMultiAssetAdInfo demand_gen_multi_asset_ad = 62;
    • mergeDemandGenMultiAssetAd

      public Ad.Builder mergeDemandGenMultiAssetAd(DemandGenMultiAssetAdInfo value)
       Details pertaining to a Demand Gen multi asset ad.
       
      .google.ads.googleads.v18.common.DemandGenMultiAssetAdInfo demand_gen_multi_asset_ad = 62;
    • clearDemandGenMultiAssetAd

      public Ad.Builder clearDemandGenMultiAssetAd()
       Details pertaining to a Demand Gen multi asset ad.
       
      .google.ads.googleads.v18.common.DemandGenMultiAssetAdInfo demand_gen_multi_asset_ad = 62;
    • getDemandGenMultiAssetAdBuilder

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

      public DemandGenMultiAssetAdInfoOrBuilder getDemandGenMultiAssetAdOrBuilder()
       Details pertaining to a Demand Gen multi asset ad.
       
      .google.ads.googleads.v18.common.DemandGenMultiAssetAdInfo demand_gen_multi_asset_ad = 62;
      Specified by:
      getDemandGenMultiAssetAdOrBuilder in interface AdOrBuilder
    • 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:
      hasDemandGenCarouselAd in interface AdOrBuilder
      Returns:
      Whether the demandGenCarouselAd field is set.
    • getDemandGenCarouselAd

      public DemandGenCarouselAdInfo getDemandGenCarouselAd()
       Details pertaining to a Demand Gen carousel ad.
       
      .google.ads.googleads.v18.common.DemandGenCarouselAdInfo demand_gen_carousel_ad = 63;
      Specified by:
      getDemandGenCarouselAd in interface AdOrBuilder
      Returns:
      The demandGenCarouselAd.
    • setDemandGenCarouselAd

      public Ad.Builder setDemandGenCarouselAd(DemandGenCarouselAdInfo value)
       Details pertaining to a Demand Gen carousel ad.
       
      .google.ads.googleads.v18.common.DemandGenCarouselAdInfo demand_gen_carousel_ad = 63;
    • setDemandGenCarouselAd

      public Ad.Builder setDemandGenCarouselAd(DemandGenCarouselAdInfo.Builder builderForValue)
       Details pertaining to a Demand Gen carousel ad.
       
      .google.ads.googleads.v18.common.DemandGenCarouselAdInfo demand_gen_carousel_ad = 63;
    • mergeDemandGenCarouselAd

      public Ad.Builder mergeDemandGenCarouselAd(DemandGenCarouselAdInfo value)
       Details pertaining to a Demand Gen carousel ad.
       
      .google.ads.googleads.v18.common.DemandGenCarouselAdInfo demand_gen_carousel_ad = 63;
    • clearDemandGenCarouselAd

      public Ad.Builder clearDemandGenCarouselAd()
       Details pertaining to a Demand Gen carousel ad.
       
      .google.ads.googleads.v18.common.DemandGenCarouselAdInfo demand_gen_carousel_ad = 63;
    • getDemandGenCarouselAdBuilder

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

      public DemandGenCarouselAdInfoOrBuilder getDemandGenCarouselAdOrBuilder()
       Details pertaining to a Demand Gen carousel ad.
       
      .google.ads.googleads.v18.common.DemandGenCarouselAdInfo demand_gen_carousel_ad = 63;
      Specified by:
      getDemandGenCarouselAdOrBuilder in interface AdOrBuilder
    • 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:
      hasDemandGenVideoResponsiveAd in interface AdOrBuilder
      Returns:
      Whether the demandGenVideoResponsiveAd field is set.
    • getDemandGenVideoResponsiveAd

      public DemandGenVideoResponsiveAdInfo getDemandGenVideoResponsiveAd()
       Details pertaining to a Demand Gen video responsive ad.
       
      .google.ads.googleads.v18.common.DemandGenVideoResponsiveAdInfo demand_gen_video_responsive_ad = 64;
      Specified by:
      getDemandGenVideoResponsiveAd in interface AdOrBuilder
      Returns:
      The demandGenVideoResponsiveAd.
    • setDemandGenVideoResponsiveAd

      public Ad.Builder setDemandGenVideoResponsiveAd(DemandGenVideoResponsiveAdInfo value)
       Details pertaining to a Demand Gen video responsive ad.
       
      .google.ads.googleads.v18.common.DemandGenVideoResponsiveAdInfo demand_gen_video_responsive_ad = 64;
    • setDemandGenVideoResponsiveAd

      public Ad.Builder setDemandGenVideoResponsiveAd(DemandGenVideoResponsiveAdInfo.Builder builderForValue)
       Details pertaining to a Demand Gen video responsive ad.
       
      .google.ads.googleads.v18.common.DemandGenVideoResponsiveAdInfo demand_gen_video_responsive_ad = 64;
    • mergeDemandGenVideoResponsiveAd

      public Ad.Builder mergeDemandGenVideoResponsiveAd(DemandGenVideoResponsiveAdInfo value)
       Details pertaining to a Demand Gen video responsive ad.
       
      .google.ads.googleads.v18.common.DemandGenVideoResponsiveAdInfo demand_gen_video_responsive_ad = 64;
    • clearDemandGenVideoResponsiveAd

      public Ad.Builder clearDemandGenVideoResponsiveAd()
       Details pertaining to a Demand Gen video responsive ad.
       
      .google.ads.googleads.v18.common.DemandGenVideoResponsiveAdInfo demand_gen_video_responsive_ad = 64;
    • getDemandGenVideoResponsiveAdBuilder

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

      public DemandGenVideoResponsiveAdInfoOrBuilder getDemandGenVideoResponsiveAdOrBuilder()
       Details pertaining to a Demand Gen video responsive ad.
       
      .google.ads.googleads.v18.common.DemandGenVideoResponsiveAdInfo demand_gen_video_responsive_ad = 64;
      Specified by:
      getDemandGenVideoResponsiveAdOrBuilder in interface AdOrBuilder
    • 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:
      hasDemandGenProductAd in interface AdOrBuilder
      Returns:
      Whether the demandGenProductAd field is set.
    • getDemandGenProductAd

      public DemandGenProductAdInfo getDemandGenProductAd()
       Details pertaining to a Demand Gen product ad.
       
      .google.ads.googleads.v18.common.DemandGenProductAdInfo demand_gen_product_ad = 61;
      Specified by:
      getDemandGenProductAd in interface AdOrBuilder
      Returns:
      The demandGenProductAd.
    • setDemandGenProductAd

      public Ad.Builder setDemandGenProductAd(DemandGenProductAdInfo value)
       Details pertaining to a Demand Gen product ad.
       
      .google.ads.googleads.v18.common.DemandGenProductAdInfo demand_gen_product_ad = 61;
    • setDemandGenProductAd

      public Ad.Builder setDemandGenProductAd(DemandGenProductAdInfo.Builder builderForValue)
       Details pertaining to a Demand Gen product ad.
       
      .google.ads.googleads.v18.common.DemandGenProductAdInfo demand_gen_product_ad = 61;
    • mergeDemandGenProductAd

      public Ad.Builder mergeDemandGenProductAd(DemandGenProductAdInfo value)
       Details pertaining to a Demand Gen product ad.
       
      .google.ads.googleads.v18.common.DemandGenProductAdInfo demand_gen_product_ad = 61;
    • clearDemandGenProductAd

      public Ad.Builder clearDemandGenProductAd()
       Details pertaining to a Demand Gen product ad.
       
      .google.ads.googleads.v18.common.DemandGenProductAdInfo demand_gen_product_ad = 61;
    • getDemandGenProductAdBuilder

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

      public DemandGenProductAdInfoOrBuilder getDemandGenProductAdOrBuilder()
       Details pertaining to a Demand Gen product ad.
       
      .google.ads.googleads.v18.common.DemandGenProductAdInfo demand_gen_product_ad = 61;
      Specified by:
      getDemandGenProductAdOrBuilder in interface AdOrBuilder
    • hasTravelAd

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

      public TravelAdInfo getTravelAd()
       Details pertaining to a travel ad.
       
      .google.ads.googleads.v18.common.TravelAdInfo travel_ad = 54;
      Specified by:
      getTravelAd in interface AdOrBuilder
      Returns:
      The travelAd.
    • setTravelAd

      public Ad.Builder setTravelAd(TravelAdInfo value)
       Details pertaining to a travel ad.
       
      .google.ads.googleads.v18.common.TravelAdInfo travel_ad = 54;
    • setTravelAd

      public Ad.Builder setTravelAd(TravelAdInfo.Builder builderForValue)
       Details pertaining to a travel ad.
       
      .google.ads.googleads.v18.common.TravelAdInfo travel_ad = 54;
    • mergeTravelAd

      public Ad.Builder mergeTravelAd(TravelAdInfo value)
       Details pertaining to a travel ad.
       
      .google.ads.googleads.v18.common.TravelAdInfo travel_ad = 54;
    • clearTravelAd

      public Ad.Builder clearTravelAd()
       Details pertaining to a travel ad.
       
      .google.ads.googleads.v18.common.TravelAdInfo travel_ad = 54;
    • getTravelAdBuilder

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

      public TravelAdInfoOrBuilder getTravelAdOrBuilder()
       Details pertaining to a travel ad.
       
      .google.ads.googleads.v18.common.TravelAdInfo travel_ad = 54;
      Specified by:
      getTravelAdOrBuilder in interface AdOrBuilder
    • setUnknownFields

      public final Ad.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Ad.Builder>
    • mergeUnknownFields

      public final Ad.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Ad.Builder>