Class GenerateKeywordIdeasRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<GenerateKeywordIdeasRequest.Builder>
com.google.ads.googleads.v18.services.GenerateKeywordIdeasRequest.Builder
- All Implemented Interfaces:
GenerateKeywordIdeasRequestOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- GenerateKeywordIdeasRequest
public static final class GenerateKeywordIdeasRequest.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<GenerateKeywordIdeasRequest.Builder>
implements GenerateKeywordIdeasRequestOrBuilder
Request message for [KeywordPlanIdeaService.GenerateKeywordIdeas][google.ads.googleads.v18.services.KeywordPlanIdeaService.GenerateKeywordIdeas].Protobuf type
google.ads.googleads.v18.services.GenerateKeywordIdeasRequest-
Method Summary
Modifier and TypeMethodDescriptionaddAllGeoTargetConstants(Iterable<String> values) The resource names of the location to target.addAllKeywordAnnotation(Iterable<? extends KeywordPlanKeywordAnnotationEnum.KeywordPlanKeywordAnnotation> values) The keyword annotations to include in response.addAllKeywordAnnotationValue(Iterable<Integer> values) The keyword annotations to include in response.addGeoTargetConstants(String value) The resource names of the location to target.addGeoTargetConstantsBytes(com.google.protobuf.ByteString value) The resource names of the location to target.The keyword annotations to include in response.addKeywordAnnotationValue(int value) The keyword annotations to include in response.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()The aggregate fields to include in response.The ID of the customer with the recommendation.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) The resource names of the location to target.The options for historical metrics data.If true, adult keywords will be included in response.A Keyword and a specific Url to generate ideas from for example, cars, www.example.com/cars.The keyword annotations to include in response.Targeting network.A Keyword or phrase to generate ideas from, for example, cars.The resource name of the language to target.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Number of results to retrieve in a single page.Token of the page to retrieve.The site to generate ideas from, for example, www.example.com.A specific url to generate ideas from, for example, www.example.com/cars.clone()The aggregate fields to include in response.The aggregate fields to include in response.The aggregate fields to include in response.The ID of the customer with the recommendation.com.google.protobuf.ByteStringThe ID of the customer with the recommendation.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetGeoTargetConstants(int index) The resource names of the location to target.com.google.protobuf.ByteStringgetGeoTargetConstantsBytes(int index) The resource names of the location to target.intThe resource names of the location to target.com.google.protobuf.ProtocolStringListThe resource names of the location to target.The options for historical metrics data.The options for historical metrics data.The options for historical metrics data.booleanIf true, adult keywords will be included in response.A Keyword and a specific Url to generate ideas from for example, cars, www.example.com/cars.A Keyword and a specific Url to generate ideas from for example, cars, www.example.com/cars.A Keyword and a specific Url to generate ideas from for example, cars, www.example.com/cars.getKeywordAnnotation(int index) The keyword annotations to include in response.intThe keyword annotations to include in response.The keyword annotations to include in response.intgetKeywordAnnotationValue(int index) The keyword annotations to include in response.The keyword annotations to include in response.Targeting network.intTargeting network.A Keyword or phrase to generate ideas from, for example, cars.A Keyword or phrase to generate ideas from, for example, cars.A Keyword or phrase to generate ideas from, for example, cars.The resource name of the language to target.com.google.protobuf.ByteStringThe resource name of the language to target.intNumber of results to retrieve in a single page.Token of the page to retrieve.com.google.protobuf.ByteStringToken of the page to retrieve.The site to generate ideas from, for example, www.example.com.The site to generate ideas from, for example, www.example.com.The site to generate ideas from, for example, www.example.com.A specific url to generate ideas from, for example, www.example.com/cars.A specific url to generate ideas from, for example, www.example.com/cars.A specific url to generate ideas from, for example, www.example.com/cars.booleanThe aggregate fields to include in response.booleanThe options for historical metrics data.booleanA Keyword and a specific Url to generate ideas from for example, cars, www.example.com/cars.booleanA Keyword or phrase to generate ideas from, for example, cars.booleanThe resource name of the language to target.booleanThe site to generate ideas from, for example, www.example.com.booleanA specific url to generate ideas from, for example, www.example.com/cars.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanThe aggregate fields to include in response.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) The options for historical metrics data.A Keyword and a specific Url to generate ideas from for example, cars, www.example.com/cars.mergeKeywordSeed(KeywordSeed value) A Keyword or phrase to generate ideas from, for example, cars.mergeSiteSeed(SiteSeed value) The site to generate ideas from, for example, www.example.com.mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) mergeUrlSeed(UrlSeed value) A specific url to generate ideas from, for example, www.example.com/cars.The aggregate fields to include in response.setAggregateMetrics(KeywordPlanAggregateMetrics.Builder builderForValue) The aggregate fields to include in response.setCustomerId(String value) The ID of the customer with the recommendation.setCustomerIdBytes(com.google.protobuf.ByteString value) The ID of the customer with the recommendation.setGeoTargetConstants(int index, String value) The resource names of the location to target.The options for historical metrics data.setHistoricalMetricsOptions(HistoricalMetricsOptions.Builder builderForValue) The options for historical metrics data.setIncludeAdultKeywords(boolean value) If true, adult keywords will be included in response.A Keyword and a specific Url to generate ideas from for example, cars, www.example.com/cars.setKeywordAndUrlSeed(KeywordAndUrlSeed.Builder builderForValue) A Keyword and a specific Url to generate ideas from for example, cars, www.example.com/cars.setKeywordAnnotation(int index, KeywordPlanKeywordAnnotationEnum.KeywordPlanKeywordAnnotation value) The keyword annotations to include in response.setKeywordAnnotationValue(int index, int value) The keyword annotations to include in response.Targeting network.setKeywordPlanNetworkValue(int value) Targeting network.setKeywordSeed(KeywordSeed value) A Keyword or phrase to generate ideas from, for example, cars.setKeywordSeed(KeywordSeed.Builder builderForValue) A Keyword or phrase to generate ideas from, for example, cars.setLanguage(String value) The resource name of the language to target.setLanguageBytes(com.google.protobuf.ByteString value) The resource name of the language to target.setPageSize(int value) Number of results to retrieve in a single page.setPageToken(String value) Token of the page to retrieve.setPageTokenBytes(com.google.protobuf.ByteString value) Token of the page to retrieve.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setSiteSeed(SiteSeed value) The site to generate ideas from, for example, www.example.com.setSiteSeed(SiteSeed.Builder builderForValue) The site to generate ideas from, for example, www.example.com.setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setUrlSeed(UrlSeed value) A specific url to generate ideas from, for example, www.example.com/cars.setUrlSeed(UrlSeed.Builder builderForValue) A specific url to generate ideas from, for example, www.example.com/cars.Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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.Builder<GenerateKeywordIdeasRequest.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<GenerateKeywordIdeasRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<GenerateKeywordIdeasRequest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<GenerateKeywordIdeasRequest.Builder>
-
setField
public GenerateKeywordIdeasRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<GenerateKeywordIdeasRequest.Builder>
-
clearField
public GenerateKeywordIdeasRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<GenerateKeywordIdeasRequest.Builder>
-
clearOneof
public GenerateKeywordIdeasRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<GenerateKeywordIdeasRequest.Builder>
-
setRepeatedField
public GenerateKeywordIdeasRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<GenerateKeywordIdeasRequest.Builder>
-
addRepeatedField
public GenerateKeywordIdeasRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<GenerateKeywordIdeasRequest.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<GenerateKeywordIdeasRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<GenerateKeywordIdeasRequest.Builder>
-
mergeFrom
public GenerateKeywordIdeasRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<GenerateKeywordIdeasRequest.Builder>- Throws:
IOException
-
getSeedCase
- Specified by:
getSeedCasein interfaceGenerateKeywordIdeasRequestOrBuilder
-
clearSeed
-
getCustomerId
The ID of the customer with the recommendation.
string customer_id = 1;- Specified by:
getCustomerIdin interfaceGenerateKeywordIdeasRequestOrBuilder- Returns:
- The customerId.
-
getCustomerIdBytes
public com.google.protobuf.ByteString getCustomerIdBytes()The ID of the customer with the recommendation.
string customer_id = 1;- Specified by:
getCustomerIdBytesin interfaceGenerateKeywordIdeasRequestOrBuilder- Returns:
- The bytes for customerId.
-
setCustomerId
The ID of the customer with the recommendation.
string customer_id = 1;- Parameters:
value- The customerId to set.- Returns:
- This builder for chaining.
-
clearCustomerId
The ID of the customer with the recommendation.
string customer_id = 1;- Returns:
- This builder for chaining.
-
setCustomerIdBytes
The ID of the customer with the recommendation.
string customer_id = 1;- Parameters:
value- The bytes for customerId to set.- Returns:
- This builder for chaining.
-
hasLanguage
public boolean hasLanguage()The resource name of the language to target. Each keyword belongs to some set of languages; a keyword is included if language is one of its languages. If not set, all keywords will be included.
optional string language = 14;- Specified by:
hasLanguagein interfaceGenerateKeywordIdeasRequestOrBuilder- Returns:
- Whether the language field is set.
-
getLanguage
The resource name of the language to target. Each keyword belongs to some set of languages; a keyword is included if language is one of its languages. If not set, all keywords will be included.
optional string language = 14;- Specified by:
getLanguagein interfaceGenerateKeywordIdeasRequestOrBuilder- Returns:
- The language.
-
getLanguageBytes
public com.google.protobuf.ByteString getLanguageBytes()The resource name of the language to target. Each keyword belongs to some set of languages; a keyword is included if language is one of its languages. If not set, all keywords will be included.
optional string language = 14;- Specified by:
getLanguageBytesin interfaceGenerateKeywordIdeasRequestOrBuilder- Returns:
- The bytes for language.
-
setLanguage
The resource name of the language to target. Each keyword belongs to some set of languages; a keyword is included if language is one of its languages. If not set, all keywords will be included.
optional string language = 14;- Parameters:
value- The language to set.- Returns:
- This builder for chaining.
-
clearLanguage
The resource name of the language to target. Each keyword belongs to some set of languages; a keyword is included if language is one of its languages. If not set, all keywords will be included.
optional string language = 14;- Returns:
- This builder for chaining.
-
setLanguageBytes
The resource name of the language to target. Each keyword belongs to some set of languages; a keyword is included if language is one of its languages. If not set, all keywords will be included.
optional string language = 14;- Parameters:
value- The bytes for language to set.- Returns:
- This builder for chaining.
-
getGeoTargetConstantsList
public com.google.protobuf.ProtocolStringList getGeoTargetConstantsList()The resource names of the location to target. Maximum is 10. An empty list MAY be used to specify all targeting geos.
repeated string geo_target_constants = 15;- Specified by:
getGeoTargetConstantsListin interfaceGenerateKeywordIdeasRequestOrBuilder- Returns:
- A list containing the geoTargetConstants.
-
getGeoTargetConstantsCount
public int getGeoTargetConstantsCount()The resource names of the location to target. Maximum is 10. An empty list MAY be used to specify all targeting geos.
repeated string geo_target_constants = 15;- Specified by:
getGeoTargetConstantsCountin interfaceGenerateKeywordIdeasRequestOrBuilder- Returns:
- The count of geoTargetConstants.
-
getGeoTargetConstants
The resource names of the location to target. Maximum is 10. An empty list MAY be used to specify all targeting geos.
repeated string geo_target_constants = 15;- Specified by:
getGeoTargetConstantsin interfaceGenerateKeywordIdeasRequestOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The geoTargetConstants at the given index.
-
getGeoTargetConstantsBytes
public com.google.protobuf.ByteString getGeoTargetConstantsBytes(int index) The resource names of the location to target. Maximum is 10. An empty list MAY be used to specify all targeting geos.
repeated string geo_target_constants = 15;- Specified by:
getGeoTargetConstantsBytesin interfaceGenerateKeywordIdeasRequestOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the geoTargetConstants at the given index.
-
setGeoTargetConstants
The resource names of the location to target. Maximum is 10. An empty list MAY be used to specify all targeting geos.
repeated string geo_target_constants = 15;- Parameters:
index- The index to set the value at.value- The geoTargetConstants to set.- Returns:
- This builder for chaining.
-
addGeoTargetConstants
The resource names of the location to target. Maximum is 10. An empty list MAY be used to specify all targeting geos.
repeated string geo_target_constants = 15;- Parameters:
value- The geoTargetConstants to add.- Returns:
- This builder for chaining.
-
addAllGeoTargetConstants
The resource names of the location to target. Maximum is 10. An empty list MAY be used to specify all targeting geos.
repeated string geo_target_constants = 15;- Parameters:
values- The geoTargetConstants to add.- Returns:
- This builder for chaining.
-
clearGeoTargetConstants
The resource names of the location to target. Maximum is 10. An empty list MAY be used to specify all targeting geos.
repeated string geo_target_constants = 15;- Returns:
- This builder for chaining.
-
addGeoTargetConstantsBytes
public GenerateKeywordIdeasRequest.Builder addGeoTargetConstantsBytes(com.google.protobuf.ByteString value) The resource names of the location to target. Maximum is 10. An empty list MAY be used to specify all targeting geos.
repeated string geo_target_constants = 15;- Parameters:
value- The bytes of the geoTargetConstants to add.- Returns:
- This builder for chaining.
-
getIncludeAdultKeywords
public boolean getIncludeAdultKeywords()If true, adult keywords will be included in response. The default value is false.
bool include_adult_keywords = 10;- Specified by:
getIncludeAdultKeywordsin interfaceGenerateKeywordIdeasRequestOrBuilder- Returns:
- The includeAdultKeywords.
-
setIncludeAdultKeywords
If true, adult keywords will be included in response. The default value is false.
bool include_adult_keywords = 10;- Parameters:
value- The includeAdultKeywords to set.- Returns:
- This builder for chaining.
-
clearIncludeAdultKeywords
If true, adult keywords will be included in response. The default value is false.
bool include_adult_keywords = 10;- Returns:
- This builder for chaining.
-
getPageToken
Token of the page to retrieve. If not specified, the first page of results will be returned. To request next page of results use the value obtained from `next_page_token` in the previous response. The request fields must match across pages.
string page_token = 12;- Specified by:
getPageTokenin interfaceGenerateKeywordIdeasRequestOrBuilder- Returns:
- The pageToken.
-
getPageTokenBytes
public com.google.protobuf.ByteString getPageTokenBytes()Token of the page to retrieve. If not specified, the first page of results will be returned. To request next page of results use the value obtained from `next_page_token` in the previous response. The request fields must match across pages.
string page_token = 12;- Specified by:
getPageTokenBytesin interfaceGenerateKeywordIdeasRequestOrBuilder- Returns:
- The bytes for pageToken.
-
setPageToken
Token of the page to retrieve. If not specified, the first page of results will be returned. To request next page of results use the value obtained from `next_page_token` in the previous response. The request fields must match across pages.
string page_token = 12;- Parameters:
value- The pageToken to set.- Returns:
- This builder for chaining.
-
clearPageToken
Token of the page to retrieve. If not specified, the first page of results will be returned. To request next page of results use the value obtained from `next_page_token` in the previous response. The request fields must match across pages.
string page_token = 12;- Returns:
- This builder for chaining.
-
setPageTokenBytes
Token of the page to retrieve. If not specified, the first page of results will be returned. To request next page of results use the value obtained from `next_page_token` in the previous response. The request fields must match across pages.
string page_token = 12;- Parameters:
value- The bytes for pageToken to set.- Returns:
- This builder for chaining.
-
getPageSize
public int getPageSize()Number of results to retrieve in a single page. A maximum of 10,000 results may be returned, if the page_size exceeds this, it is ignored. If unspecified, at most 10,000 results will be returned. The server may decide to further limit the number of returned resources. If the response contains fewer than 10,000 results it may not be assumed as last page of results.
int32 page_size = 13;- Specified by:
getPageSizein interfaceGenerateKeywordIdeasRequestOrBuilder- Returns:
- The pageSize.
-
setPageSize
Number of results to retrieve in a single page. A maximum of 10,000 results may be returned, if the page_size exceeds this, it is ignored. If unspecified, at most 10,000 results will be returned. The server may decide to further limit the number of returned resources. If the response contains fewer than 10,000 results it may not be assumed as last page of results.
int32 page_size = 13;- Parameters:
value- The pageSize to set.- Returns:
- This builder for chaining.
-
clearPageSize
Number of results to retrieve in a single page. A maximum of 10,000 results may be returned, if the page_size exceeds this, it is ignored. If unspecified, at most 10,000 results will be returned. The server may decide to further limit the number of returned resources. If the response contains fewer than 10,000 results it may not be assumed as last page of results.
int32 page_size = 13;- Returns:
- This builder for chaining.
-
getKeywordPlanNetworkValue
public int getKeywordPlanNetworkValue()Targeting network. If not set, Google Search And Partners Network will be used.
.google.ads.googleads.v18.enums.KeywordPlanNetworkEnum.KeywordPlanNetwork keyword_plan_network = 9;- Specified by:
getKeywordPlanNetworkValuein interfaceGenerateKeywordIdeasRequestOrBuilder- Returns:
- The enum numeric value on the wire for keywordPlanNetwork.
-
setKeywordPlanNetworkValue
Targeting network. If not set, Google Search And Partners Network will be used.
.google.ads.googleads.v18.enums.KeywordPlanNetworkEnum.KeywordPlanNetwork keyword_plan_network = 9;- Parameters:
value- The enum numeric value on the wire for keywordPlanNetwork to set.- Returns:
- This builder for chaining.
-
getKeywordPlanNetwork
Targeting network. If not set, Google Search And Partners Network will be used.
.google.ads.googleads.v18.enums.KeywordPlanNetworkEnum.KeywordPlanNetwork keyword_plan_network = 9;- Specified by:
getKeywordPlanNetworkin interfaceGenerateKeywordIdeasRequestOrBuilder- Returns:
- The keywordPlanNetwork.
-
setKeywordPlanNetwork
public GenerateKeywordIdeasRequest.Builder setKeywordPlanNetwork(KeywordPlanNetworkEnum.KeywordPlanNetwork value) Targeting network. If not set, Google Search And Partners Network will be used.
.google.ads.googleads.v18.enums.KeywordPlanNetworkEnum.KeywordPlanNetwork keyword_plan_network = 9;- Parameters:
value- The keywordPlanNetwork to set.- Returns:
- This builder for chaining.
-
clearKeywordPlanNetwork
Targeting network. If not set, Google Search And Partners Network will be used.
.google.ads.googleads.v18.enums.KeywordPlanNetworkEnum.KeywordPlanNetwork keyword_plan_network = 9;- Returns:
- This builder for chaining.
-
getKeywordAnnotationList
public List<KeywordPlanKeywordAnnotationEnum.KeywordPlanKeywordAnnotation> getKeywordAnnotationList()The keyword annotations to include in response.
repeated .google.ads.googleads.v18.enums.KeywordPlanKeywordAnnotationEnum.KeywordPlanKeywordAnnotation keyword_annotation = 17;- Specified by:
getKeywordAnnotationListin interfaceGenerateKeywordIdeasRequestOrBuilder- Returns:
- A list containing the keywordAnnotation.
-
getKeywordAnnotationCount
public int getKeywordAnnotationCount()The keyword annotations to include in response.
repeated .google.ads.googleads.v18.enums.KeywordPlanKeywordAnnotationEnum.KeywordPlanKeywordAnnotation keyword_annotation = 17;- Specified by:
getKeywordAnnotationCountin interfaceGenerateKeywordIdeasRequestOrBuilder- Returns:
- The count of keywordAnnotation.
-
getKeywordAnnotation
public KeywordPlanKeywordAnnotationEnum.KeywordPlanKeywordAnnotation getKeywordAnnotation(int index) The keyword annotations to include in response.
repeated .google.ads.googleads.v18.enums.KeywordPlanKeywordAnnotationEnum.KeywordPlanKeywordAnnotation keyword_annotation = 17;- Specified by:
getKeywordAnnotationin interfaceGenerateKeywordIdeasRequestOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The keywordAnnotation at the given index.
-
setKeywordAnnotation
public GenerateKeywordIdeasRequest.Builder setKeywordAnnotation(int index, KeywordPlanKeywordAnnotationEnum.KeywordPlanKeywordAnnotation value) The keyword annotations to include in response.
repeated .google.ads.googleads.v18.enums.KeywordPlanKeywordAnnotationEnum.KeywordPlanKeywordAnnotation keyword_annotation = 17;- Parameters:
index- The index to set the value at.value- The keywordAnnotation to set.- Returns:
- This builder for chaining.
-
addKeywordAnnotation
public GenerateKeywordIdeasRequest.Builder addKeywordAnnotation(KeywordPlanKeywordAnnotationEnum.KeywordPlanKeywordAnnotation value) The keyword annotations to include in response.
repeated .google.ads.googleads.v18.enums.KeywordPlanKeywordAnnotationEnum.KeywordPlanKeywordAnnotation keyword_annotation = 17;- Parameters:
value- The keywordAnnotation to add.- Returns:
- This builder for chaining.
-
addAllKeywordAnnotation
public GenerateKeywordIdeasRequest.Builder addAllKeywordAnnotation(Iterable<? extends KeywordPlanKeywordAnnotationEnum.KeywordPlanKeywordAnnotation> values) The keyword annotations to include in response.
repeated .google.ads.googleads.v18.enums.KeywordPlanKeywordAnnotationEnum.KeywordPlanKeywordAnnotation keyword_annotation = 17;- Parameters:
values- The keywordAnnotation to add.- Returns:
- This builder for chaining.
-
clearKeywordAnnotation
The keyword annotations to include in response.
repeated .google.ads.googleads.v18.enums.KeywordPlanKeywordAnnotationEnum.KeywordPlanKeywordAnnotation keyword_annotation = 17;- Returns:
- This builder for chaining.
-
getKeywordAnnotationValueList
The keyword annotations to include in response.
repeated .google.ads.googleads.v18.enums.KeywordPlanKeywordAnnotationEnum.KeywordPlanKeywordAnnotation keyword_annotation = 17;- Specified by:
getKeywordAnnotationValueListin interfaceGenerateKeywordIdeasRequestOrBuilder- Returns:
- A list containing the enum numeric values on the wire for keywordAnnotation.
-
getKeywordAnnotationValue
public int getKeywordAnnotationValue(int index) The keyword annotations to include in response.
repeated .google.ads.googleads.v18.enums.KeywordPlanKeywordAnnotationEnum.KeywordPlanKeywordAnnotation keyword_annotation = 17;- Specified by:
getKeywordAnnotationValuein interfaceGenerateKeywordIdeasRequestOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of keywordAnnotation at the given index.
-
setKeywordAnnotationValue
The keyword annotations to include in response.
repeated .google.ads.googleads.v18.enums.KeywordPlanKeywordAnnotationEnum.KeywordPlanKeywordAnnotation keyword_annotation = 17;- Parameters:
index- The index to set the value at.value- The enum numeric value on the wire for keywordAnnotation to set.- Returns:
- This builder for chaining.
-
addKeywordAnnotationValue
The keyword annotations to include in response.
repeated .google.ads.googleads.v18.enums.KeywordPlanKeywordAnnotationEnum.KeywordPlanKeywordAnnotation keyword_annotation = 17;- Parameters:
value- The enum numeric value on the wire for keywordAnnotation to add.- Returns:
- This builder for chaining.
-
addAllKeywordAnnotationValue
The keyword annotations to include in response.
repeated .google.ads.googleads.v18.enums.KeywordPlanKeywordAnnotationEnum.KeywordPlanKeywordAnnotation keyword_annotation = 17;- Parameters:
values- The enum numeric values on the wire for keywordAnnotation to add.- Returns:
- This builder for chaining.
-
hasAggregateMetrics
public boolean hasAggregateMetrics()The aggregate fields to include in response.
.google.ads.googleads.v18.common.KeywordPlanAggregateMetrics aggregate_metrics = 16;- Specified by:
hasAggregateMetricsin interfaceGenerateKeywordIdeasRequestOrBuilder- Returns:
- Whether the aggregateMetrics field is set.
-
getAggregateMetrics
The aggregate fields to include in response.
.google.ads.googleads.v18.common.KeywordPlanAggregateMetrics aggregate_metrics = 16;- Specified by:
getAggregateMetricsin interfaceGenerateKeywordIdeasRequestOrBuilder- Returns:
- The aggregateMetrics.
-
setAggregateMetrics
The aggregate fields to include in response.
.google.ads.googleads.v18.common.KeywordPlanAggregateMetrics aggregate_metrics = 16; -
setAggregateMetrics
public GenerateKeywordIdeasRequest.Builder setAggregateMetrics(KeywordPlanAggregateMetrics.Builder builderForValue) The aggregate fields to include in response.
.google.ads.googleads.v18.common.KeywordPlanAggregateMetrics aggregate_metrics = 16; -
mergeAggregateMetrics
The aggregate fields to include in response.
.google.ads.googleads.v18.common.KeywordPlanAggregateMetrics aggregate_metrics = 16; -
clearAggregateMetrics
The aggregate fields to include in response.
.google.ads.googleads.v18.common.KeywordPlanAggregateMetrics aggregate_metrics = 16; -
getAggregateMetricsBuilder
The aggregate fields to include in response.
.google.ads.googleads.v18.common.KeywordPlanAggregateMetrics aggregate_metrics = 16; -
getAggregateMetricsOrBuilder
The aggregate fields to include in response.
.google.ads.googleads.v18.common.KeywordPlanAggregateMetrics aggregate_metrics = 16;- Specified by:
getAggregateMetricsOrBuilderin interfaceGenerateKeywordIdeasRequestOrBuilder
-
hasHistoricalMetricsOptions
public boolean hasHistoricalMetricsOptions()The options for historical metrics data.
.google.ads.googleads.v18.common.HistoricalMetricsOptions historical_metrics_options = 18;- Specified by:
hasHistoricalMetricsOptionsin interfaceGenerateKeywordIdeasRequestOrBuilder- Returns:
- Whether the historicalMetricsOptions field is set.
-
getHistoricalMetricsOptions
The options for historical metrics data.
.google.ads.googleads.v18.common.HistoricalMetricsOptions historical_metrics_options = 18;- Specified by:
getHistoricalMetricsOptionsin interfaceGenerateKeywordIdeasRequestOrBuilder- Returns:
- The historicalMetricsOptions.
-
setHistoricalMetricsOptions
public GenerateKeywordIdeasRequest.Builder setHistoricalMetricsOptions(HistoricalMetricsOptions value) The options for historical metrics data.
.google.ads.googleads.v18.common.HistoricalMetricsOptions historical_metrics_options = 18; -
setHistoricalMetricsOptions
public GenerateKeywordIdeasRequest.Builder setHistoricalMetricsOptions(HistoricalMetricsOptions.Builder builderForValue) The options for historical metrics data.
.google.ads.googleads.v18.common.HistoricalMetricsOptions historical_metrics_options = 18; -
mergeHistoricalMetricsOptions
public GenerateKeywordIdeasRequest.Builder mergeHistoricalMetricsOptions(HistoricalMetricsOptions value) The options for historical metrics data.
.google.ads.googleads.v18.common.HistoricalMetricsOptions historical_metrics_options = 18; -
clearHistoricalMetricsOptions
The options for historical metrics data.
.google.ads.googleads.v18.common.HistoricalMetricsOptions historical_metrics_options = 18; -
getHistoricalMetricsOptionsBuilder
The options for historical metrics data.
.google.ads.googleads.v18.common.HistoricalMetricsOptions historical_metrics_options = 18; -
getHistoricalMetricsOptionsOrBuilder
The options for historical metrics data.
.google.ads.googleads.v18.common.HistoricalMetricsOptions historical_metrics_options = 18;- Specified by:
getHistoricalMetricsOptionsOrBuilderin interfaceGenerateKeywordIdeasRequestOrBuilder
-
hasKeywordAndUrlSeed
public boolean hasKeywordAndUrlSeed()A Keyword and a specific Url to generate ideas from for example, cars, www.example.com/cars.
.google.ads.googleads.v18.services.KeywordAndUrlSeed keyword_and_url_seed = 2;- Specified by:
hasKeywordAndUrlSeedin interfaceGenerateKeywordIdeasRequestOrBuilder- Returns:
- Whether the keywordAndUrlSeed field is set.
-
getKeywordAndUrlSeed
A Keyword and a specific Url to generate ideas from for example, cars, www.example.com/cars.
.google.ads.googleads.v18.services.KeywordAndUrlSeed keyword_and_url_seed = 2;- Specified by:
getKeywordAndUrlSeedin interfaceGenerateKeywordIdeasRequestOrBuilder- Returns:
- The keywordAndUrlSeed.
-
setKeywordAndUrlSeed
A Keyword and a specific Url to generate ideas from for example, cars, www.example.com/cars.
.google.ads.googleads.v18.services.KeywordAndUrlSeed keyword_and_url_seed = 2; -
setKeywordAndUrlSeed
public GenerateKeywordIdeasRequest.Builder setKeywordAndUrlSeed(KeywordAndUrlSeed.Builder builderForValue) A Keyword and a specific Url to generate ideas from for example, cars, www.example.com/cars.
.google.ads.googleads.v18.services.KeywordAndUrlSeed keyword_and_url_seed = 2; -
mergeKeywordAndUrlSeed
A Keyword and a specific Url to generate ideas from for example, cars, www.example.com/cars.
.google.ads.googleads.v18.services.KeywordAndUrlSeed keyword_and_url_seed = 2; -
clearKeywordAndUrlSeed
A Keyword and a specific Url to generate ideas from for example, cars, www.example.com/cars.
.google.ads.googleads.v18.services.KeywordAndUrlSeed keyword_and_url_seed = 2; -
getKeywordAndUrlSeedBuilder
A Keyword and a specific Url to generate ideas from for example, cars, www.example.com/cars.
.google.ads.googleads.v18.services.KeywordAndUrlSeed keyword_and_url_seed = 2; -
getKeywordAndUrlSeedOrBuilder
A Keyword and a specific Url to generate ideas from for example, cars, www.example.com/cars.
.google.ads.googleads.v18.services.KeywordAndUrlSeed keyword_and_url_seed = 2;- Specified by:
getKeywordAndUrlSeedOrBuilderin interfaceGenerateKeywordIdeasRequestOrBuilder
-
hasKeywordSeed
public boolean hasKeywordSeed()A Keyword or phrase to generate ideas from, for example, cars.
.google.ads.googleads.v18.services.KeywordSeed keyword_seed = 3;- Specified by:
hasKeywordSeedin interfaceGenerateKeywordIdeasRequestOrBuilder- Returns:
- Whether the keywordSeed field is set.
-
getKeywordSeed
A Keyword or phrase to generate ideas from, for example, cars.
.google.ads.googleads.v18.services.KeywordSeed keyword_seed = 3;- Specified by:
getKeywordSeedin interfaceGenerateKeywordIdeasRequestOrBuilder- Returns:
- The keywordSeed.
-
setKeywordSeed
A Keyword or phrase to generate ideas from, for example, cars.
.google.ads.googleads.v18.services.KeywordSeed keyword_seed = 3; -
setKeywordSeed
A Keyword or phrase to generate ideas from, for example, cars.
.google.ads.googleads.v18.services.KeywordSeed keyword_seed = 3; -
mergeKeywordSeed
A Keyword or phrase to generate ideas from, for example, cars.
.google.ads.googleads.v18.services.KeywordSeed keyword_seed = 3; -
clearKeywordSeed
A Keyword or phrase to generate ideas from, for example, cars.
.google.ads.googleads.v18.services.KeywordSeed keyword_seed = 3; -
getKeywordSeedBuilder
A Keyword or phrase to generate ideas from, for example, cars.
.google.ads.googleads.v18.services.KeywordSeed keyword_seed = 3; -
getKeywordSeedOrBuilder
A Keyword or phrase to generate ideas from, for example, cars.
.google.ads.googleads.v18.services.KeywordSeed keyword_seed = 3;- Specified by:
getKeywordSeedOrBuilderin interfaceGenerateKeywordIdeasRequestOrBuilder
-
hasUrlSeed
public boolean hasUrlSeed()A specific url to generate ideas from, for example, www.example.com/cars.
.google.ads.googleads.v18.services.UrlSeed url_seed = 5;- Specified by:
hasUrlSeedin interfaceGenerateKeywordIdeasRequestOrBuilder- Returns:
- Whether the urlSeed field is set.
-
getUrlSeed
A specific url to generate ideas from, for example, www.example.com/cars.
.google.ads.googleads.v18.services.UrlSeed url_seed = 5;- Specified by:
getUrlSeedin interfaceGenerateKeywordIdeasRequestOrBuilder- Returns:
- The urlSeed.
-
setUrlSeed
A specific url to generate ideas from, for example, www.example.com/cars.
.google.ads.googleads.v18.services.UrlSeed url_seed = 5; -
setUrlSeed
A specific url to generate ideas from, for example, www.example.com/cars.
.google.ads.googleads.v18.services.UrlSeed url_seed = 5; -
mergeUrlSeed
A specific url to generate ideas from, for example, www.example.com/cars.
.google.ads.googleads.v18.services.UrlSeed url_seed = 5; -
clearUrlSeed
A specific url to generate ideas from, for example, www.example.com/cars.
.google.ads.googleads.v18.services.UrlSeed url_seed = 5; -
getUrlSeedBuilder
A specific url to generate ideas from, for example, www.example.com/cars.
.google.ads.googleads.v18.services.UrlSeed url_seed = 5; -
getUrlSeedOrBuilder
A specific url to generate ideas from, for example, www.example.com/cars.
.google.ads.googleads.v18.services.UrlSeed url_seed = 5;- Specified by:
getUrlSeedOrBuilderin interfaceGenerateKeywordIdeasRequestOrBuilder
-
hasSiteSeed
public boolean hasSiteSeed()The site to generate ideas from, for example, www.example.com.
.google.ads.googleads.v18.services.SiteSeed site_seed = 11;- Specified by:
hasSiteSeedin interfaceGenerateKeywordIdeasRequestOrBuilder- Returns:
- Whether the siteSeed field is set.
-
getSiteSeed
The site to generate ideas from, for example, www.example.com.
.google.ads.googleads.v18.services.SiteSeed site_seed = 11;- Specified by:
getSiteSeedin interfaceGenerateKeywordIdeasRequestOrBuilder- Returns:
- The siteSeed.
-
setSiteSeed
The site to generate ideas from, for example, www.example.com.
.google.ads.googleads.v18.services.SiteSeed site_seed = 11; -
setSiteSeed
The site to generate ideas from, for example, www.example.com.
.google.ads.googleads.v18.services.SiteSeed site_seed = 11; -
mergeSiteSeed
The site to generate ideas from, for example, www.example.com.
.google.ads.googleads.v18.services.SiteSeed site_seed = 11; -
clearSiteSeed
The site to generate ideas from, for example, www.example.com.
.google.ads.googleads.v18.services.SiteSeed site_seed = 11; -
getSiteSeedBuilder
The site to generate ideas from, for example, www.example.com.
.google.ads.googleads.v18.services.SiteSeed site_seed = 11; -
getSiteSeedOrBuilder
The site to generate ideas from, for example, www.example.com.
.google.ads.googleads.v18.services.SiteSeed site_seed = 11;- Specified by:
getSiteSeedOrBuilderin interfaceGenerateKeywordIdeasRequestOrBuilder
-
setUnknownFields
public final GenerateKeywordIdeasRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<GenerateKeywordIdeasRequest.Builder>
-
mergeUnknownFields
public final GenerateKeywordIdeasRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<GenerateKeywordIdeasRequest.Builder>
-