Class SmartCampaignSuggestionInfo

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.google.ads.googleads.v18.services.SmartCampaignSuggestionInfo
All Implemented Interfaces:
SmartCampaignSuggestionInfoOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

public final class SmartCampaignSuggestionInfo extends com.google.protobuf.GeneratedMessageV3 implements SmartCampaignSuggestionInfoOrBuilder
 Information needed to get suggestion for Smart Campaign. More information
 provided will help the system to derive better suggestions.
 
Protobuf type google.ads.googleads.v18.services.SmartCampaignSuggestionInfo
See Also:
  • Field Details

    • FINAL_URL_FIELD_NUMBER

      public static final int FINAL_URL_FIELD_NUMBER
      See Also:
    • LANGUAGE_CODE_FIELD_NUMBER

      public static final int LANGUAGE_CODE_FIELD_NUMBER
      See Also:
    • AD_SCHEDULES_FIELD_NUMBER

      public static final int AD_SCHEDULES_FIELD_NUMBER
      See Also:
    • KEYWORD_THEMES_FIELD_NUMBER

      public static final int KEYWORD_THEMES_FIELD_NUMBER
      See Also:
    • BUSINESS_CONTEXT_FIELD_NUMBER

      public static final int BUSINESS_CONTEXT_FIELD_NUMBER
      See Also:
    • BUSINESS_PROFILE_LOCATION_FIELD_NUMBER

      public static final int BUSINESS_PROFILE_LOCATION_FIELD_NUMBER
      See Also:
    • LOCATION_LIST_FIELD_NUMBER

      public static final int LOCATION_LIST_FIELD_NUMBER
      See Also:
    • PROXIMITY_FIELD_NUMBER

      public static final int PROXIMITY_FIELD_NUMBER
      See Also:
  • Method Details

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • 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
    • getBusinessSettingCase

      public SmartCampaignSuggestionInfo.BusinessSettingCase getBusinessSettingCase()
      Specified by:
      getBusinessSettingCase in interface SmartCampaignSuggestionInfoOrBuilder
    • getGeoTargetCase

      public SmartCampaignSuggestionInfo.GeoTargetCase getGeoTargetCase()
      Specified by:
      getGeoTargetCase in interface SmartCampaignSuggestionInfoOrBuilder
    • getFinalUrl

      public String getFinalUrl()
       Optional. Landing page URL of the campaign.
       
      string final_url = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getFinalUrl in interface SmartCampaignSuggestionInfoOrBuilder
      Returns:
      The finalUrl.
    • getFinalUrlBytes

      public com.google.protobuf.ByteString getFinalUrlBytes()
       Optional. Landing page URL of the campaign.
       
      string final_url = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getFinalUrlBytes in interface SmartCampaignSuggestionInfoOrBuilder
      Returns:
      The bytes for finalUrl.
    • getLanguageCode

      public String getLanguageCode()
       Optional. The two letter advertising language for the Smart campaign to be
       constructed, default to 'en' if not set.
       
      string language_code = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLanguageCode in interface SmartCampaignSuggestionInfoOrBuilder
      Returns:
      The languageCode.
    • getLanguageCodeBytes

      public com.google.protobuf.ByteString getLanguageCodeBytes()
       Optional. The two letter advertising language for the Smart campaign to be
       constructed, default to 'en' if not set.
       
      string language_code = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLanguageCodeBytes in interface SmartCampaignSuggestionInfoOrBuilder
      Returns:
      The bytes for languageCode.
    • getAdSchedulesList

      public List<AdScheduleInfo> getAdSchedulesList()
       Optional. The business ad schedule.
       
      repeated .google.ads.googleads.v18.common.AdScheduleInfo ad_schedules = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAdSchedulesList in interface SmartCampaignSuggestionInfoOrBuilder
    • getAdSchedulesOrBuilderList

      public List<? extends AdScheduleInfoOrBuilder> getAdSchedulesOrBuilderList()
       Optional. The business ad schedule.
       
      repeated .google.ads.googleads.v18.common.AdScheduleInfo ad_schedules = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAdSchedulesOrBuilderList in interface SmartCampaignSuggestionInfoOrBuilder
    • getAdSchedulesCount

      public int getAdSchedulesCount()
       Optional. The business ad schedule.
       
      repeated .google.ads.googleads.v18.common.AdScheduleInfo ad_schedules = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAdSchedulesCount in interface SmartCampaignSuggestionInfoOrBuilder
    • getAdSchedules

      public AdScheduleInfo getAdSchedules(int index)
       Optional. The business ad schedule.
       
      repeated .google.ads.googleads.v18.common.AdScheduleInfo ad_schedules = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAdSchedules in interface SmartCampaignSuggestionInfoOrBuilder
    • getAdSchedulesOrBuilder

      public AdScheduleInfoOrBuilder getAdSchedulesOrBuilder(int index)
       Optional. The business ad schedule.
       
      repeated .google.ads.googleads.v18.common.AdScheduleInfo ad_schedules = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAdSchedulesOrBuilder in interface SmartCampaignSuggestionInfoOrBuilder
    • getKeywordThemesList

      public List<KeywordThemeInfo> getKeywordThemesList()
       Optional. Smart campaign keyword themes. This field may greatly improve
       suggestion accuracy and we recommend always setting it if possible.
       
      repeated .google.ads.googleads.v18.common.KeywordThemeInfo keyword_themes = 7 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getKeywordThemesList in interface SmartCampaignSuggestionInfoOrBuilder
    • getKeywordThemesOrBuilderList

      public List<? extends KeywordThemeInfoOrBuilder> getKeywordThemesOrBuilderList()
       Optional. Smart campaign keyword themes. This field may greatly improve
       suggestion accuracy and we recommend always setting it if possible.
       
      repeated .google.ads.googleads.v18.common.KeywordThemeInfo keyword_themes = 7 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getKeywordThemesOrBuilderList in interface SmartCampaignSuggestionInfoOrBuilder
    • getKeywordThemesCount

      public int getKeywordThemesCount()
       Optional. Smart campaign keyword themes. This field may greatly improve
       suggestion accuracy and we recommend always setting it if possible.
       
      repeated .google.ads.googleads.v18.common.KeywordThemeInfo keyword_themes = 7 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getKeywordThemesCount in interface SmartCampaignSuggestionInfoOrBuilder
    • getKeywordThemes

      public KeywordThemeInfo getKeywordThemes(int index)
       Optional. Smart campaign keyword themes. This field may greatly improve
       suggestion accuracy and we recommend always setting it if possible.
       
      repeated .google.ads.googleads.v18.common.KeywordThemeInfo keyword_themes = 7 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getKeywordThemes in interface SmartCampaignSuggestionInfoOrBuilder
    • getKeywordThemesOrBuilder

      public KeywordThemeInfoOrBuilder getKeywordThemesOrBuilder(int index)
       Optional. Smart campaign keyword themes. This field may greatly improve
       suggestion accuracy and we recommend always setting it if possible.
       
      repeated .google.ads.googleads.v18.common.KeywordThemeInfo keyword_themes = 7 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getKeywordThemesOrBuilder in interface SmartCampaignSuggestionInfoOrBuilder
    • hasBusinessContext

      public boolean hasBusinessContext()
       Optional. Context describing the business to advertise.
       
      .google.ads.googleads.v18.services.SmartCampaignSuggestionInfo.BusinessContext business_context = 8 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasBusinessContext in interface SmartCampaignSuggestionInfoOrBuilder
      Returns:
      Whether the businessContext field is set.
    • getBusinessContext

      public SmartCampaignSuggestionInfo.BusinessContext getBusinessContext()
       Optional. Context describing the business to advertise.
       
      .google.ads.googleads.v18.services.SmartCampaignSuggestionInfo.BusinessContext business_context = 8 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getBusinessContext in interface SmartCampaignSuggestionInfoOrBuilder
      Returns:
      The businessContext.
    • getBusinessContextOrBuilder

      public SmartCampaignSuggestionInfo.BusinessContextOrBuilder getBusinessContextOrBuilder()
       Optional. Context describing the business to advertise.
       
      .google.ads.googleads.v18.services.SmartCampaignSuggestionInfo.BusinessContext business_context = 8 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getBusinessContextOrBuilder in interface SmartCampaignSuggestionInfoOrBuilder
    • hasBusinessProfileLocation

      public boolean hasBusinessProfileLocation()
       Optional. The resource name of a Business Profile location.
       Business Profile location resource names can be fetched through the
       Business Profile API and adhere to the following format:
       `locations/{locationId}`.
      
       See the [Business Profile API]
       (https://developers.google.com/my-business/reference/businessinformation/rest/v1/accounts.locations)
       for additional details.
       
      string business_profile_location = 9 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasBusinessProfileLocation in interface SmartCampaignSuggestionInfoOrBuilder
      Returns:
      Whether the businessProfileLocation field is set.
    • getBusinessProfileLocation

      public String getBusinessProfileLocation()
       Optional. The resource name of a Business Profile location.
       Business Profile location resource names can be fetched through the
       Business Profile API and adhere to the following format:
       `locations/{locationId}`.
      
       See the [Business Profile API]
       (https://developers.google.com/my-business/reference/businessinformation/rest/v1/accounts.locations)
       for additional details.
       
      string business_profile_location = 9 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getBusinessProfileLocation in interface SmartCampaignSuggestionInfoOrBuilder
      Returns:
      The businessProfileLocation.
    • getBusinessProfileLocationBytes

      public com.google.protobuf.ByteString getBusinessProfileLocationBytes()
       Optional. The resource name of a Business Profile location.
       Business Profile location resource names can be fetched through the
       Business Profile API and adhere to the following format:
       `locations/{locationId}`.
      
       See the [Business Profile API]
       (https://developers.google.com/my-business/reference/businessinformation/rest/v1/accounts.locations)
       for additional details.
       
      string business_profile_location = 9 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getBusinessProfileLocationBytes in interface SmartCampaignSuggestionInfoOrBuilder
      Returns:
      The bytes for businessProfileLocation.
    • hasLocationList

      public boolean hasLocationList()
       Optional. The targeting geo location by locations.
       
      .google.ads.googleads.v18.services.SmartCampaignSuggestionInfo.LocationList location_list = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasLocationList in interface SmartCampaignSuggestionInfoOrBuilder
      Returns:
      Whether the locationList field is set.
    • getLocationList

      public SmartCampaignSuggestionInfo.LocationList getLocationList()
       Optional. The targeting geo location by locations.
       
      .google.ads.googleads.v18.services.SmartCampaignSuggestionInfo.LocationList location_list = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLocationList in interface SmartCampaignSuggestionInfoOrBuilder
      Returns:
      The locationList.
    • getLocationListOrBuilder

      public SmartCampaignSuggestionInfo.LocationListOrBuilder getLocationListOrBuilder()
       Optional. The targeting geo location by locations.
       
      .google.ads.googleads.v18.services.SmartCampaignSuggestionInfo.LocationList location_list = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLocationListOrBuilder in interface SmartCampaignSuggestionInfoOrBuilder
    • hasProximity

      public boolean hasProximity()
       Optional. The targeting geo location by proximity.
       
      .google.ads.googleads.v18.common.ProximityInfo proximity = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasProximity in interface SmartCampaignSuggestionInfoOrBuilder
      Returns:
      Whether the proximity field is set.
    • getProximity

      public ProximityInfo getProximity()
       Optional. The targeting geo location by proximity.
       
      .google.ads.googleads.v18.common.ProximityInfo proximity = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getProximity in interface SmartCampaignSuggestionInfoOrBuilder
      Returns:
      The proximity.
    • getProximityOrBuilder

      public ProximityInfoOrBuilder getProximityOrBuilder()
       Optional. The targeting geo location by proximity.
       
      .google.ads.googleads.v18.common.ProximityInfo proximity = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getProximityOrBuilder in interface SmartCampaignSuggestionInfoOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static SmartCampaignSuggestionInfo parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static SmartCampaignSuggestionInfo parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static SmartCampaignSuggestionInfo parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static SmartCampaignSuggestionInfo parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static SmartCampaignSuggestionInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static SmartCampaignSuggestionInfo parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static SmartCampaignSuggestionInfo parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static SmartCampaignSuggestionInfo parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static SmartCampaignSuggestionInfo parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static SmartCampaignSuggestionInfo parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static SmartCampaignSuggestionInfo parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static SmartCampaignSuggestionInfo parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public SmartCampaignSuggestionInfo.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static SmartCampaignSuggestionInfo.Builder newBuilder()
    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected SmartCampaignSuggestionInfo.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static SmartCampaignSuggestionInfo getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<SmartCampaignSuggestionInfo> parser()
    • getParserForType

      public com.google.protobuf.Parser<SmartCampaignSuggestionInfo> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

      public SmartCampaignSuggestionInfo getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder