Hello Costantin,

Yes, The functionality is available from the latest version of Google Ads 
API Beta v0.5.0 
<https://developers.google.com/google-ads/api/docs/release-notes>. You 
could use CustomerService.ListAccessibleCustomers 
<https://developers.google.com/google-ads/api/reference/rpc/google.ads.googleads.v0.services#google.ads.googleads.v0.services.CustomerService>
 which 
returns resource names of customers directly accessible by the user 
authenticating the call. You could try the code snippet shown below in the 
GetAccountInformation.java 
<https://github.com/googleads/google-ads-java/blob/master/google-ads-examples/src/main/java/com/google/ads/googleads/examples/accountmanagement/GetAccountInformation.java#L89>
 to 
perform this operation via Java client library. Code samples for other 
languages can be found here 
<https://developers.google.com/google-ads/api/docs/client-libs>. Please let 
me know if you have any further questions.

ListAccessibleCustomersResponse customer = 
customerServiceClient.listAccessibleCustomers(ListAccessibleCustomersRequest.newBuilder().build());

Regards,
Sai Teja, AdWords API Team.

On Wednesday, June 6, 2018 at 9:16:27 AM UTC-4, [email protected] wrote:
>
> I'm trying to get a list of all the accounts of a user via the new beta 
> API. I can't seem to find the correct endpoint.
> Is there a complete list of all the endpoints to interact via the rest 
> API? What's the correct endpoint to get all accounts of a user using just 
> the token?
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
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 [email protected].
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/a228f820-18f0-4ccb-a82d-3e026fcbd61c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to