Thanks Sreelakshmi!

On Thursday, June 14, 2018 at 3:32:07 AM UTC+8, Sreelakshmi Sasidharan 
(AdWords API Team) wrote:
>
> Hello, 
>
> You are right, using a start index greater than 100,000 will result in an 
> error. You could follow the steps listed below to use FeedItemService 
> <https://developers.google.com/adwords/api/docs/reference/v201806/FeedItemService>
>  to 
> get all the FeedItems.
>
>    1. Set a variable maxFeedItemId = -1
>    2. Issue a get request with 'WHERE FeedItemId > maxFeedItemId ORDER BY 
>    FeedItemId LIMIT 0,10000'
>    3. Collect feedItemIds from the response from step #2.
>    4. Set maxFeedItemId = the last (largest) feedItemId in the response 
>    from step #2.
>    5. If the response from step #2 contained 10,000 items, repeat from 
>    step 2.
>
> Since the result is ordered by the feedItemId, this will allow you to get 
> all the FeedItems without encountering the START_INDEX_IS_TOO_HIGH error. 
> Please give this a try and let me know if you face any issues. 
>
> Thanks,
> Sreelakshmi, AdWords API Team
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
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 [email protected].
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/04edd6e3-088f-4b11-a6a5-cb453347717f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • ... at
    • ... 'Dhanya Sundararaju (AdWords API Team)' via AdWords API and Google Ads API Forum
      • ... 'Sreelakshmi Sasidharan (AdWords API Team)' via AdWords API and Google Ads API Forum
        • ... at
          • ... 'Sreelakshmi Sasidharan (AdWords API Team)' via AdWords API and Google Ads API Forum
            • ... at

Reply via email to