Hi Noemi,

Can you try the following query:
SELECT
 customer.id,
 customer.resource_name,
 customer_client.level,
 customer_client.client_customer,
 customer_client.resource_name
FROM
customer_client

If you still face issues, please share your request and response through *reply
privately to author *so I can take a closer look.

Regards,
Anthony
Google Ads API Team


=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
    https://ads-developers.googleblog.com/search/label/google_ads_api
    https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

On 04/05/19 03:39:43 no...@swydo.com wrote:

Hi Anthony,

I did what you suggested, but it only returns data for the users with
level: 0.

On Thursday, April 4, 2019 at 10:55:52 PM UTC+2, googleadsapi-forumadvisor
wrote:

Hi Noemi,

Descriptive name for the customer is not available in the customer_client
resource. You have to make another API call to the customer resource. You
could use the available customer fields in the customer resource and can
pass each customer Id to get the respective details of that customer.

Thanks,
Anthony
Google Ads API Team


=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
    https://ads-developers.googleblog.com/search/label/google_ads_api
    https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

On 04/04/19 10:37:34 no...@swydo.com wrote:

Hi Anthony,

I use the Customer resource for returning the details for the customers,
but it only returns the data for the customers directly accessible by the
user authenticating the call, but the user authenticating the call, does
not seem to have the permission to return data for the AccessibleCustomers with
1 or higher 'level' value.

I tried this call: https://googleads.googleapis.com/v1/customers/{
customer_id}/googleAds:search?query=SELECT customer.descriptive_name FROM
customer with the scope: 'https://www.googleapis.com/auth/adwords'

Is it possible to fetch the descriptive_name for all of the customers
returned by the /customers:listAccessibleCustomers request for a specific
user, with the same credentials?

On Tuesday, April 2, 2019 at 8:46:10 PM UTC+2, googleadsapi-forumadvisor
wrote:

Hi Noemi,

Unfortunately, this field is currently not available for customer_client.
However, you can make a call to the Customer
<https://developers.google.com/google-ads/api/docs/fields/customer> resource
to get the descriptive name.

Regards,
Anthony
Google Ads API Team


=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
    https://ads-developers.googleblog.com/search/label/google_ads_api
    https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

On 04/02/19 11:44:26 no...@swydo.com wrote:

I would like to return the id, currencyCode, timeZone, descriptiveName for
each customer_client for a customer. The customer_client resource group
returns the id, currencyCode, timeZone, but not the descriptiveName. I
tried to use request the descriptiveName for the customer_clients, but it
returned "USER_PERMISSION_DENIED" error.
We can fetch the name of the ManagedCustomerServices from the Adwords API
without any problem.

Is it possible to fetch the customer_client's descriptiveName for a
customer?

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit https://groups.google.com/d/ms
gid/adwords-api/87f45c20-b55b-47ea-badc-916105596c0e%40googlegroups.com
<https://groups.google.com/d/msgid/adwords-api/87f45c20-b55b-47ea-badc-916105596c0e%40googlegroups.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
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/aee459ce-51b2-41bd-9449-483f5b90f921%40googlegroups.com
<https://groups.google.com/d/msgid/adwords-api/aee459ce-51b2-41bd-9449-483f5b90f921%40googlegroups.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
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/ea9cda86-fbf6-42c0-b326-1b2f4658485a%40googlegroups.com
<https://groups.google.com/d/msgid/adwords-api/ea9cda86-fbf6-42c0-b326-1b2f4658485a%40googlegroups.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
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/1a0mt20000000000onrnp8000lhk54z6cmj0e1p6go30c1g68qjecho%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
  • Fetchin... Noémi Molnár
    • RE... googleadsapi-forumadvisor via AdWords API and Google Ads API Forum
      • ... Noémi Molnár
        • ... googleadsapi-forumadvisor via AdWords API and Google Ads API Forum
          • ... Noémi Molnár
            • ... googleadsapi-forumadvisor via AdWords API and Google Ads API Forum

Reply via email to