Google Ads API: how to use paging (page_token / next_page_token) - Python

2019-05-02 Thread Mat
Hi, In the examples you provide e.g. here: https://developers.google.com/google-ads/api/docs/samples/get-keywords#python ... you use "page_size=page_size" but unlike the examples in the AdWords API, the examples in the Google Ads API are lacking the actual paging. You state "To retrieve the ne

Re: Google Ads API: how to use paging (page_token / next_page_token) - Python

2019-05-02 Thread cv
Hi, May be this PHP issue tracker may help. https://github.com/googleads/google-ads-php/issues/61 Thanks, On Friday, 3 May 2019 11:48:55 UTC+5:30, Mat wrote: > > Hi, > > In the examples you provide e.g. here: > > > https://developers.google.com/google-ads/api/docs/samples/get-keywords#python >

Re: Google Ads API: how to use paging (page_token / next_page_token) - Python

2019-05-03 Thread Mat
Hi cv, yes, that's what I'm looking for. Unfortunately, I'm not able to translate the php-code provided there to work with the python library. Any help on that? Regards Mat -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog: https://googleadsdeveloper.blogspot.com

Re: Google Ads API: how to use paging (page_token / next_page_token) - Python

2019-05-03 Thread llei
If you're using the Python client library, the requests automatically sends another request if there was a next page token detected. Which threw me off at first because I was trying to search for the token and submit the additional requests on my own. Leon On Friday, May 3, 2019 at 5:20:06 AM

RE: Google Ads API: how to use paging (page_token / next_page_token) - Python

2019-05-03 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum
Hello Mat, Thank you for the additional input. Pagination is handled automatically by the response iterator. Please check this related issue on the issue tracker as a reference. Regards, Bharani, Google Ads API Team =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and

Re: Google Ads API: how to use paging (page_token / next_page_token) - Python

2019-05-06 Thread Mat
Hi Leon and Bharani, that's great. Thank you. Please consider amending the guide on this point. Regards Mat > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our b