Hello,

I use a python client library for Google Ads API.

I need to show to a user a result of an arbitrary GAQL query with 50 
elements per page pagination.

For example I have this query:

SELECT campaign.id
FROM campaign 
LIMIT 51

And this code to fetch the results:

client = google.ads.google_ads.client.GoogleAdsClient .load_from_storage()
google_ads_service = client.get_service('GoogleAdsService', version='v1')
return google_ads_service.search(customer_id, query, page_size=50)

But `google_ads_sevice` returns me 51 elements without next_page_token.

I can not also paginate using the query, because there is no "SKIP".

How should I paginate with the Python Google Ads Client Library?

Kind regards,
  Dmitrii.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
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/b8b68582-eb8a-49aa-bcbe-ef0f93a5df90%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • Google ... dmitrii . stebliuk
    • RE... googleadsapi-forumadvisor via AdWords API and Google Ads API Forum
      • ... dmitrii . stebliuk
        • ... googleadsapi-forumadvisor via AdWords API and Google Ads API Forum

Reply via email to