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:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classInformation needed to get suggestion for Smart Campaign.static final classA context that describes a business.static interfacestatic enumstatic enumstatic final classA list of locations.static interfaceNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleangetAdSchedules(int index) Optional.intOptional.Optional.getAdSchedulesOrBuilder(int index) Optional.List<? extends AdScheduleInfoOrBuilder>Optional.Optional.Optional.Optional.com.google.protobuf.ByteStringOptional.static SmartCampaignSuggestionInfostatic final com.google.protobuf.Descriptors.DescriptorOptional.com.google.protobuf.ByteStringOptional.getKeywordThemes(int index) Optional.intOptional.Optional.getKeywordThemesOrBuilder(int index) Optional.List<? extends KeywordThemeInfoOrBuilder>Optional.Optional.com.google.protobuf.ByteStringOptional.Optional.Optional.com.google.protobuf.Parser<SmartCampaignSuggestionInfo>Optional.Optional.intbooleanOptional.booleanOptional.inthashCode()booleanOptional.booleanOptional.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleannewBuilder(SmartCampaignSuggestionInfo prototype) protected SmartCampaignSuggestionInfo.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static SmartCampaignSuggestionInfoparseDelimitedFrom(InputStream input) static SmartCampaignSuggestionInfoparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SmartCampaignSuggestionInfoparseFrom(byte[] data) static SmartCampaignSuggestionInfoparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SmartCampaignSuggestionInfoparseFrom(com.google.protobuf.ByteString data) static SmartCampaignSuggestionInfoparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SmartCampaignSuggestionInfoparseFrom(com.google.protobuf.CodedInputStream input) static SmartCampaignSuggestionInfoparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SmartCampaignSuggestionInfoparseFrom(InputStream input) static SmartCampaignSuggestionInfoparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SmartCampaignSuggestionInfoparseFrom(ByteBuffer data) static SmartCampaignSuggestionInfoparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<SmartCampaignSuggestionInfo>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
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
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getBusinessSettingCase
- Specified by:
getBusinessSettingCasein interfaceSmartCampaignSuggestionInfoOrBuilder
-
getGeoTargetCase
- Specified by:
getGeoTargetCasein interfaceSmartCampaignSuggestionInfoOrBuilder
-
getFinalUrl
Optional. Landing page URL of the campaign.
string final_url = 1 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getFinalUrlin interfaceSmartCampaignSuggestionInfoOrBuilder- 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:
getFinalUrlBytesin interfaceSmartCampaignSuggestionInfoOrBuilder- Returns:
- The bytes for finalUrl.
-
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:
getLanguageCodein interfaceSmartCampaignSuggestionInfoOrBuilder- 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:
getLanguageCodeBytesin interfaceSmartCampaignSuggestionInfoOrBuilder- Returns:
- The bytes for languageCode.
-
getAdSchedulesList
Optional. The business ad schedule.
repeated .google.ads.googleads.v18.common.AdScheduleInfo ad_schedules = 6 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAdSchedulesListin interfaceSmartCampaignSuggestionInfoOrBuilder
-
getAdSchedulesOrBuilderList
Optional. The business ad schedule.
repeated .google.ads.googleads.v18.common.AdScheduleInfo ad_schedules = 6 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAdSchedulesOrBuilderListin interfaceSmartCampaignSuggestionInfoOrBuilder
-
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:
getAdSchedulesCountin interfaceSmartCampaignSuggestionInfoOrBuilder
-
getAdSchedules
Optional. The business ad schedule.
repeated .google.ads.googleads.v18.common.AdScheduleInfo ad_schedules = 6 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAdSchedulesin interfaceSmartCampaignSuggestionInfoOrBuilder
-
getAdSchedulesOrBuilder
Optional. The business ad schedule.
repeated .google.ads.googleads.v18.common.AdScheduleInfo ad_schedules = 6 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAdSchedulesOrBuilderin interfaceSmartCampaignSuggestionInfoOrBuilder
-
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:
getKeywordThemesListin interfaceSmartCampaignSuggestionInfoOrBuilder
-
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:
getKeywordThemesOrBuilderListin interfaceSmartCampaignSuggestionInfoOrBuilder
-
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:
getKeywordThemesCountin interfaceSmartCampaignSuggestionInfoOrBuilder
-
getKeywordThemes
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:
getKeywordThemesin interfaceSmartCampaignSuggestionInfoOrBuilder
-
getKeywordThemesOrBuilder
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:
getKeywordThemesOrBuilderin interfaceSmartCampaignSuggestionInfoOrBuilder
-
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:
hasBusinessContextin interfaceSmartCampaignSuggestionInfoOrBuilder- Returns:
- Whether the businessContext field is set.
-
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:
getBusinessContextin interfaceSmartCampaignSuggestionInfoOrBuilder- Returns:
- The businessContext.
-
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:
getBusinessContextOrBuilderin interfaceSmartCampaignSuggestionInfoOrBuilder
-
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:
hasBusinessProfileLocationin interfaceSmartCampaignSuggestionInfoOrBuilder- Returns:
- Whether the businessProfileLocation field is set.
-
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:
getBusinessProfileLocationin interfaceSmartCampaignSuggestionInfoOrBuilder- 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:
getBusinessProfileLocationBytesin interfaceSmartCampaignSuggestionInfoOrBuilder- 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:
hasLocationListin interfaceSmartCampaignSuggestionInfoOrBuilder- Returns:
- Whether the locationList field is set.
-
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:
getLocationListin interfaceSmartCampaignSuggestionInfoOrBuilder- Returns:
- The locationList.
-
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:
getLocationListOrBuilderin interfaceSmartCampaignSuggestionInfoOrBuilder
-
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:
hasProximityin interfaceSmartCampaignSuggestionInfoOrBuilder- Returns:
- Whether the proximity field is set.
-
getProximity
Optional. The targeting geo location by proximity.
.google.ads.googleads.v18.common.ProximityInfo proximity = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getProximityin interfaceSmartCampaignSuggestionInfoOrBuilder- Returns:
- The proximity.
-
getProximityOrBuilder
Optional. The targeting geo location by proximity.
.google.ads.googleads.v18.common.ProximityInfo proximity = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getProximityOrBuilderin interfaceSmartCampaignSuggestionInfoOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static 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
- Throws:
IOException
-
parseFrom
public static SmartCampaignSuggestionInfo parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- 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
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected SmartCampaignSuggestionInfo.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-