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/eb7eec9d-c919-4d05-bc80-31c58a632403n%40googlegroups.com.

Reply via email to