Re: How do I use the next_page_token in cURL?

2019-05-16 Thread Jarrod Thuener
Thanks. I got it to work by adding the page_token to the Body. I was previously adding it to the header, which obviously wasn't working. Thanks for the help!! So all things equal, the only change was the body WAS: {"query":"my query here"} and now it is { "query":"same query as above",

RE: How do I use the next_page_token in cURL?

2019-05-16 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum
Hi, My apologies if I couldn't provide an actual cURL example. You would need to add the page token after the page size. See below: { "customer_id": , "query" : "insert_query_string_here", "page_size": "insert_page_size_here", "page_token": "inser_page_token_here" } Let me know if

Re: How do I use the next_page_token in cURL?

2019-05-15 Thread Jarrod Thuener
Let me rephrase my question for clarity. Can someone provide a cURL example for pulling the "next_token"? Thanks! On Wednesday, May 15, 2019 at 6:26:27 AM UTC-4, Jarrod Thuener wrote: > > From what I understand, the caveat here is that a library it's used... I > have to use curl, so the first

Re: How do I use the next_page_token in cURL?

2019-05-15 Thread Jarrod Thuener
>From what I understand, the caveat here is that a library it's used... I have to use curl, so the first call returns the first 1 results then it provides a next page token. How to I push that token through again to get the next set of results? On Tuesday, May 14, 2019 at 11:18:42 PM

RE: How do I use the next_page_token in cURL?

2019-05-14 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum
Hi, Thank you for reaching out. In Google Ads API perspective, page_token and next_page_token doesn't have to be specified. These two are automatically generated when you execute your request. So for example, you have 300 ads and you set the page_size to 100, when you execute the request, the