Re: UNEXPECTED_END_OF_QUERY - Error

2022-01-06 Thread 'Google Ads API Forum Advisor' via AdWords API and Google Ads API Forum
Hello Giuseppe, Glad to know that the issue has been resolved. Please let us know if we can help with anything else. Regards, Jakeia Sabrina Google Ads API Team ref:_00D1U1174p._5004Q2TKyV0:ref -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog: https://googleads

Re: UNEXPECTED_END_OF_QUERY - Error

2022-01-06 Thread Giuseppe Pandolfino
I solved, the problem was the query. It is necessary to put it into BODY not in HEADER. it will work On Friday, 17 December 2021 at 18:46:09 UTC+1 adsapi wrote: > Hello there, > > Thanks for getting back to us. I am just wondering if your issue is > related to the selectable_segment_fields >

Re: UNEXPECTED_END_OF_QUERY - Error

2021-12-17 Thread 'Google Ads API Forum Advisor' via AdWords API and Google Ads API Forum
Hello there, Thanks for getting back to us. I am just wondering if your issue is related to the selectable_segment_fields while using the ad_group resource. As Ernie mentioned in the previous response, could you please provide the complete request and response logs with request-id for us to inv

Re: UNEXPECTED_END_OF_QUERY - Error

2021-12-17 Thread cv
I am also facing same Error in query: unexpected end of query. and log is not returning any information. I tried to use gender_view report. On Wednesday, 15 December 2021 at 06:50:57 UTC+5:30 adsapi wrote: > Hi Giuseppe, > > Thank you for posting your concern. > > To investigate the issue, cou

RE: UNEXPECTED_END_OF_QUERY - Error

2021-12-14 Thread 'Google Ads API Forum Advisor' via AdWords API and Google Ads API Forum
Hi Giuseppe, Thank you for posting your concern. To investigate the issue, could you provide the actual API request and request header that you've executed and the complete response logs with request ID generated on your end? You can provide it via Reply privately to author option. If this opt

UNEXPECTED_END_OF_QUERY - Error

2021-12-14 Thread Giuseppe Pandolfino
Hi, I am trying to use REST Google Ads API (https://developers.google.com/google-ads/api/rest/design/overview). I am testing using Postman. I need to use the following query:*SELECT customer.id, segments.date, campaign.id, ad_group.id, segments.device, metrics.impressions, metrics.clicks, me

Re: "UNEXPECTED_END_OF_QUERY Error" - Fetching Query Results through HTTP/JSON Combination in Google Ads API

2020-02-03 Thread Google Ads API Forum Advisor Prod
Hi Harshit, My last message must not have gone through: I'm unfamiliar with Apps Script, so you may want to check with them to see if you have any syntax issues. However, by taking a look at your code, I see you have 'developer-token': DEVELOPERTOKENKEY'. You'll need to change this to 'deve

Re: "UNEXPECTED_END_OF_QUERY Error" - Fetching Query Results through HTTP/JSON Combination in Google Ads API

2020-02-02 Thread Harshit Gupta
Hi Google Team, Can you please answer this? Still getting that error making call through HTTP request to Google Ads API. On Wednesday, January 29, 2020 at 1:20:22 AM UTC+5:30, Harshit Gupta wrote: > > Hi Google Team, > > I AM USING Google Ads API, not Google Ads Script. > > The Google ads API

Re: "UNEXPECTED_END_OF_QUERY Error" - Fetching Query Results through HTTP/JSON Combination in Google Ads API

2020-01-28 Thread Harshit Gupta
Hi Google Team, I AM USING Google Ads API, not Google Ads Script. The Google ads API is being called from Apps script (NOT Google Ads Script) through an http/url fetch call. Thanks in advance. Warm Regards, Harshit Gupta On Wed, Jan 29, 2020, 12:59 AM Google Ads API Forum Advisor Prod < adsap

RE: "UNEXPECTED_END_OF_QUERY Error" - Fetching Query Results through HTTP/JSON Combination in Google Ads API

2020-01-28 Thread Google Ads API Forum Advisor Prod
Hi Harshit, Since you are using Google Ads Scripts, I'd suggest reaching out to the Google Ads Scripts forum as they will be better suited to help you on this. Regards, Anthony Google Ads API Team ref:_00D1U1174p._5001USx26z:ref -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find

"UNEXPECTED_END_OF_QUERY Error" - Fetching Query Results through HTTP/JSON Combination in Google Ads API

2020-01-27 Thread Harshit Gupta
Hello everyone, I am trying to fetch query results through HTTP/JSON Combination in Google Ads API. I am making the request from Google Apps Script. However, I am consistently getting an error code "UNEXPECTED_END_OF_QUERY" for all syntax of Query. Strangely, even when I delete the query state