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 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/21773575-2e8c-4604-b8bd-09cb7dd1fda6n%40googlegroups.com.

Reply via email to