Re: retrieving ads account details

2024-10-20 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi, By reviewing your concern, I understand that you are encountering an “UNEXPECTED_END_OF_QUERY” error. In order to investigate your issue further, kindly provide us with the complete API logs (request and response logs with request-id and request header) generated at your end. If you are us

Re: retrieving ads account details

2024-10-18 Thread Nicolas
Sorry for the spam. I think I have figured it out. It seems the query is for the query on GAQL and now the endpoint shows the result. Thank you so much for the help! On Saturday, October 19, 2024 at 1:52:52 PM UTC+7 Nicolas wrote: > Sorry about the previous post, it was an issue with the access

Re: retrieving ads account details

2024-10-18 Thread Nicolas
Sorry about the previous post, it was an issue with the access token. Below is the error when I tried with the new access token. Do I need to set something on the query request body? If yes is there any example on what I need to add? Thanks again! { "error": { "code": 400, "message": "Request c

Re: retrieving ads account details

2024-10-18 Thread Nicolas
Hi, Thank you for the reply! I tried using both Search and SearchStream with this information https://googleads.googleapis.com/v17/customers/1234567890/googleAds:search On headers: Authorization: Access Token from https://oauth2.googleapis.com/token developer-token: developer-token And I got t

RE: retrieving ads account details

2024-10-18 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi, Thank you for reaching out to the Google Ads API support team. In order to retrieve customer account details for each ad account in the Google Ads API, you can execute the following query: SELECT customer_client.id, customer_client.level, customer_client.currency_code, customer_client.clie