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, metrics.cost_micros, metrics.conversions, metrics.top_impression_percentage FROM ad_group WHERE segments.date BETWEEN '2021-11-01' AND '2021-11-30' LIMIT 99999* to obtain my result. I've already checked with the query validator (https://developers.google.com/google-ads/api/fields/v9/query_validator) and it is OK. I set: POST https://googleads.googleapis.com/v9/customers/XXXXXX/googleAds:search where XXXXX is my customer. In the header, I set: - Content-Type application/json - developer-token = my developer token - query = previous query - returnTotalResultsCount = true each time I try it, I always receive : *{* * "error": {* * "code": 400,* * "message": "Request contains an invalid argument.",* * "status": "INVALID_ARGUMENT",* * "details": [* * {* * "@type": "type.googleapis.com/google.ads.googleads.v9.errors.GoogleAdsFailure",* * "errors": [* * {* * "errorCode": {* * "queryError": "UNEXPECTED_END_OF_QUERY"* * },* * "message": "Error in query: unexpected end of query."* * }* * ],* * "requestId": "yhn8LnBAnBaJtbmyskNpiQ"* * }* * ]* * }* *}* Where is my error? Can you help me , please ? thank you -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/111721ff-f397-4308-9a1d-e41836640340n%40googlegroups.com.