RE: TargetingIdeaService Paging
Hi Uros, Thank you for reaching out to our API support team. You should be able to retrieve the succeeding or next 700 results in your request. That said, could you provide the complete SOAP request and response logs, with the requestId, so our team can investigate? You may then send the requested information via the Reply privately to author option. If this option is not available, you may send the details directly to our googleadsapi-supp...@google.com alias instead. In addition, please note that the AdWords API is deprecated and will be sunset on April 27, 2022. We strongly recommend that you migrate to the Google Ads API as soon as possible. Best regards, Reminder: Share your feedback about the Google Ads (AdWords) API! Take the 2021 Google Ads API and AdWords API Annual Survey Peter Laurence Napa Oliquino Google Ads API Team ref:_00D1U1174p._5004Q2R7wOr:ref -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog: https://googleadsdeveloper.blogspot.com/ =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads API Forum" group. To post to this group, send email to adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en --- You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/hWI0I0R2DZRF005YDWpuhyQ6Sr8IslpuyMVQ%40sfdc.net.
TargetingIdeaService Paging
Hello, hope you are well, I'm trying to use TargetingIdeaService to fetch as many suggestions as possible for some generic keywords I want to explore. >From the limits page, I can see there is a hard limit of 700 keyword suggestions returned as output per request. I can also see from the Paging feature of TargetingIdeaService that we can provide a startIndex and numberResults to paginate our results. I seem to not be getting any results though for using values of startIndex=700, numberResults=700. Is it not possible to fetch results 700-1400, 1400-2100, etc? I'm not getting an error, just getting 0 results returned even though the first page of results is the full set of 700. Based on the documentation on the limits, it seems to imply that the 700 results limit is per request, if you paginate your results, can you not crawl beyond the initial 700 results? Best, Uros -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog: https://googleadsdeveloper.blogspot.com/ =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads API Forum" group. To post to this group, send email to adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en --- You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/debde7b7-dfc5-4975-a280-ad94e338689cn%40googlegroups.com.
Re: TargetingIdeaService paging problems
Hi Paul, The backend logic has an undocumented (and subject to change) limit of 800 results. The documentation hints at this: "Only a relatively small total number of results will be available through this method". The field totalNumEntries lists the total number of results that the service will return back. If you need more results, we recommend the getBulkKeywordIdeas (however, at a loss of flexibility in the selector). - Kevin Winter AdWords API Team -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group: http://adwordsapi.blogspot.com http://groups.google.com/group/adwords-api =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To post to this group, send email to adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en
TargetingIdeaService paging problems
Hi, I'm trying to use the TargetingIdeaService to get keyword ideas for the keyword "lighting" via the .NET client library. On my first call i specify a startIndex of 0 and I ask for 800 results, this returns 800 results. On my next call I specify a startIndex of 800 and again ask for 800 results but I don't get any results back, TragetIdeaPage.entries is null. I next tried specifying a startIndex of 799 and asking for 800 results, I get 1 result returned. Is the API limited to a maximum of 800 results in total? I know it is limited to 800 results per call but the documentation suggests you can get more than 800 results with the use of pagination. Am I do something wrong or have misinterpreted the documentation? I've posted my code below List keywords = new List(); keywords.Add(new Keyword { matchType = KeywordMatchType.EXACT, matchTypeSpecified = true, text = "lighting" }); AdWordsUser user = new AdWordsUser(); TargetingIdeaService service = user.GetService(AdWordsService.v201101.TargetingIdeaService) as TargetingIdeaService; TargetingIdeaSelector selector = new TargetingIdeaSelector(); selector.ideaType = IdeaType.KEYWORD; selector.ideaTypeSpecified = true; selector.requestType = RequestType.IDEAS; selector.requestTypeSpecified = true; CountryTargetSearchParameter ctsp = new CountryTargetSearchParameter(); ctsp.countryTargets = new CountryTarget[] { new CountryTarget { countryCode = "GB" } }; LanguageTargetSearchParameter ltsp = new LanguageTargetSearchParameter(); ltsp.languageTargets = new LanguageTarget[] { new LanguageTarget { languageCode = "en" } }; RelatedToKeywordSearchParameter relKeyword = new RelatedToKeywordSearchParameter(); relKeyword.keywords = keywords.ToArray(); selector.searchParameters = new SearchParameter[] { relKeyword, ctsp, ltsp, new KeywordMatchTypeSearchParameter { keywordMatchTypes = new KeywordMatchType[] { KeywordMatchType.EXACT } } }; selector.requestedAttributeTypes = new AttributeType[] { AttributeType.AVERAGE_TARGETED_MONTHLY_SEARCHES, AttributeType.CRITERION }; selector.paging = new Paging { startIndex = startIndex, startIndexSpecified = true, numberResults = 800, numberResultsSpecified = true }; TargetingIdeaPage page = service.get(selector); Thanks, Paul -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group: http://adwordsapi.blogspot.com http://groups.google.com/group/adwords-api =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To post to this group, send email to adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en