Hello, I found some bugs in KeywordIdeas API:
1. 'pageSize' parametr in KeywordIdeas
Request code example:
$response = $keywordPlanIdeaServiceClient->
generateKeywordIdeas([
'pageSize' => 1000,
'keywordSeed' = new KeywordSeed(['keywords' => [
"wig lace front",
"hiker boot",
"jacket carhartt"
When trying to set pageSize to 500 or less, an error is returned all the time: "Too many requests. Retry in 4 seconds."
If set this parameter 'pageSize' => 1000 or 'pageSize' => 5000 or 'pageSize' => 10000, - nothing changes as a result, 8871 words are returned all the time.
Please make this setting work.
2. autocorrect words that are set in
KeywordIdeasFor example, I am trying to generate ideas for:
"dr.house"
"c+language"
In this case, characters are replaced (as I understand it, according to the rules
https://support.google.com/google-ads/answer/7476658).
Response
KeywordIdeas example:
{"text":"dr house","keywordIdeaMetrics":{"avgMonthlySearches":"22200","monthlySearchVolumes":[{"year":"2022","month":"FEBRUARY","monthlySearches":"22200"}],"competition":"LOW","competitionIndex":"1","lowTopOfPageBidMicros":"1660000","highTopOfPageBidMicros":"4570000"},"keywordAnnotations":[]},{"text":"c language","keywordIdeaMetrics":{"avgMonthlySearches":"4400","monthlySearchVolumes":[{"year":"2022","month":"FEBRUARY","monthlySearches":"5400"}],"competition":"LOW","competitionIndex":"2","lowTopOfPageBidMicros":"1047120","highTopOfPageBidMicros":"4240000"},"keywordAnnotations":[]}
set "dr.house", response "text":"dr house"
set "c+language", response "text":"c language"
In the
ForecastMetrics endpoint, the "closeVariants" field has been added, which is convenient to navigate.
Response
ForecastMetrics example:
{"searchQuery":"dr house","closeVariants":["dr.house"],"keywordMetrics":{"avgMonthlySearches":"22200","monthlySearchVolumes":[{"year":"2022","month":"FEBRUARY","monthlySearches":"22200"}],"competition":"LOW","competitionIndex":"1","lowTopOfPageBidMicros":"1660000","highTopOfPageBidMicros":"4570000"}},{"searchQuery":"c language","closeVariants":["c+language"],"keywordMetrics":{"avgMonthlySearches":"4400","monthlySearchVolumes":[{"year":"2022","month":"FEBRUARY","monthlySearches":"5400"}],"competition":"LOW","competitionIndex":"2","lowTopOfPageBidMicros":"1047120","highTopOfPageBidMicros":"4240000"}}
"searchQuery":"dr house","closeVariants":["dr.house"]
"searchQuery":"c language","closeVariants":["c+language"]
Please add a similar "closeVariants" field to
KeywordIdeas.
3. "keywordAnnotations" not for all words in KeywordIdeas
The words that I put in KeywordIdeas will always be the first in the response from the ADS API, but they will always have an empty "keywordAnnotations":[] field. Although if they are received as a list of words, this field will be filled with data.
set in KeywordIdeas:
"iphone 11 pro"
Example of first words of ADS API response:
{"text":"iphone 11 pro","keywordIdeaMetrics":{"avgMonthlySearches":"246000","monthlySearchVolumes":[{"year":"2022","month":"FEBRUARY","monthlySearches":"165000"}],"competition":"HIGH","competitionIndex":"100","lowTopOfPageBidMicros":"510000","highTopOfPageBidMicros":"3390000"},"keywordAnnotations":[]}
"keywordAnnotations":[]
If get ideas for word "iphone", then in the results the word "iphone 11 pro" will already have "keywordAnnotations".
An example of words that were not given in the payload:
{"text":"iphone 11 pro","keywordIdeaMetrics":{"avgMonthlySearches":"246000","monthlySearchVolumes":[{"year":"2022","month":"FEBRUARY","monthlySearches":"165000"}],"competition":"HIGH","competitionIndex":"100","lowTopOfPageBidMicros":"510000","highTopOfPageBidMicros":"3390000"},"keywordAnnotations":{"concepts":[{"name":"apple 11","conceptGroup":{"name":"Deviantart"}}]}}
"keywordAnnotations":{"concepts":[{"name":"apple 11","conceptGroup":{"name":"Deviantart"}}]}
Please add "keywordAnnotations" for the keywords that are being searched for in KeywordIdeas.