Hi Ivan, For sure 999999 is bigger than 100000, so you are right and the documentation is not accurate. If it works for 999999, good for you! Just don't rely on it. There are several objects types affected by START_INDEX so perhaps they don't have exactly the same limits and 100000 is the lowest one (a safe number). You should manage it even if the documentation is not accurate in the exact limit.
Best regards! On Wed, Aug 19, 2020 at 2:16 PM 'Ivan Ryazanov' via AdWords API and Google Ads API Forum <adwords-api@googlegroups.com> wrote: > Hi, Zorion! Thank you for the last answer. > > You wrote 1 001, 000 is bigger than than 100, 000. Thats right and I get > this error if I specify a starting index like this. > But! If I specify, for instance, 999, 999 as a starting index (which is > also bigger that 100, 000) the API returns data successfully. > So that limit is 1 000, 000. Maybe docs give us wrong info about the > limit in 100, 000? > > On Wednesday, August 19, 2020 at 2:46:29 PM UTC+3 Zorion wrote: > >> Hi Ivan, >> The error message seems to point that the start index is 1001000 >> (1,001,000) which is bigger than 100000 (100,000). >> Perhaps I read it wrong, sorry if that's the case, just dismiss my reply. >> >> In order to work with that limit we use the order by clause to the key of >> the object and when we reach the start_index_too_high we filter the last >> key found. >> There are some complexities when the key is compound (like the ad group >> criterions) but we manage them with simple ">=" filters, ordering both keys >> and dismissing some repeated results. >> >> I hope it helps. >> >> On Wednesday, August 19, 2020 at 8:30:11 AM UTC+2 Ivan Ryazanov wrote: >> >>> Hi! According to API docs we have a limit in 100,000 for start index of >>> request. >>> https://developers.google.com/adwords/api/docs/appendix/limits#general >>> >>> I'm trying to get Ad Group Criteria but I get START_INDEX_IS_TOO_HIGH >>> instead of. >>> >>> ApiException{applicationExceptionType=ApiException, >>> errors=[SelectorError{apiErrorType=SelectorError, >>> errorString=SelectorError.START_INDEX_IS_TOO_HIGH, fieldPath=, >>> reason=START_INDEX_IS_TOO_HIGH, trigger=1001000}]} >>> >>> Could you please clarify why I get this error at 1 000, 000 ? Why not >>> 100,000? Is it a mistake in docs? >>> >> -- > -- > =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ > 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 a topic in the > Google Groups "AdWords API and Google Ads API Forum" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/adwords-api/f1SIyz7k98A/unsubscribe. > To unsubscribe from this group and all its topics, 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/21773575-2e8c-4604-b8bd-09cb7dd1fda6n%40googlegroups.com > <https://groups.google.com/d/msgid/adwords-api/21773575-2e8c-4604-b8bd-09cb7dd1fda6n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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/CAE%2BS5sE3C0wZya9AQVkToMgk6jSFnRuc-LZuN52vML5NgO3_bg%40mail.gmail.com.