Currently the endpoint or method to obtain the list of accounts is: 

GET https://googleads.googleapis.com/v15/customers:listAccessibleCustomers 
[image: GET lista de cuentas.PNG]

But how now I want to get more details like account name, what should be 
the endpoint? 

I know that you just shared the query and information with me, but I can't 
configure the call correctly. 

I assume it would be a POST method, what would be the endpoint or URL?

How to obtain the currency per account was also a query that I was going to 
ask, but I see that you already include it in the query.
El lunes, 5 de febrero de 2024 a las 6:43:23 UTC-6, Google Ads API Forum 
Advisor escribió:

> Hi,
>
> Thank you for getting back to us.
>
> You can use the ListAccessibleCustomers 
> <https://developers.google.com/google-ads/api/docs/account-management/listing-accounts#java:~:text=Here%20is%20a%20code%20example%20illustrating%20the%20use%20of%20the%20CustomerService.ListAccessibleCustomers%20method%3A>
>  method. 
> As per this document 
> <https://developers.google.com/google-ads/api/reference/rpc/v10/ListAccessibleCustomersResponse>,
>  
> the expected response for this call is the resource name of customers 
> directly accessible by the user authenticating the call. Kindly note to 
> include the customer_client.descriptive_name 
> <https://developers.google.com/google-ads/api/fields/v10/customer_client#customer_client.descriptive_name>
>  for 
> you to get the names of the accounts.
>
> Search Query: "SELECT *customer_client.descriptive_name*, 
> customer_client.client_customer, customer_client.level, 
> customer_client.manager, customer_client.currency_code, 
> customer_client.time_zone, customer_client.id FROM customer_client"
>
>
> You can try making a request using the Method: customers.googleAds.search 
> <https://developers.google.com/google-ads/api/rest/reference/rest/v14/customers.googleAds/search>
>  .
>
> Also, you can use Query Builder 
> <https://developers.google.com/google-ads/api/fields/v14/customer_search_term_insight_query_builder>
>  to 
> create your query and Query Validator 
> <https://developers.google.com/google-ads/api/fields/v14/query_validator> to 
> validate your query.
>
>   
> This message is in relation to case "ref:!00D1U01174p.!5004Q02rX2AQ:ref"
>
> Thanks,
>   
> [image: Google Logo] Google Ads API Team 
>
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"Google Ads API and AdWords 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/ec03e732-0747-416f-873c-d2e35326d1a0n%40googlegroups.com.
  • Go... No Code
    • ... No Code
      • ... No Code
        • ... No Code
        • ... No Code
          • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
          • ... No Code
            • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
              • ... No Code
                • ... No Code
                • ... No Code
                • ... No Code
                • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
                • ... No Code
                • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum

Reply via email to