Hi Phil,
You can retrieve the list of accounts that are directly accessible via your
OAuth credentials by issuing a CustomerService.ListAccessibleCustomers
<https://developers.google.com/google-ads/api/reference/rpc/google.ads.googleads.v0.services#google.ads.googleads.v0.services.CustomerService>
request.
The login-customer-id is not required for this request type, and has no
effect on the list of customers returned. Could you provide your complete
code and logs if you encounter any error after retying your request again?
Thanks and regards,
Luis
Google Ads API Team
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com/search/label/adwords_api
https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
On 02/18/19 08:49:49 pste...@wordstream.com wrote:
I was testing calls after adding the login_customer_id header and
continually hitting an error indicating that the user did not have access
to the sub account using the google ads api (python client library v0.7).
Upon further investigation, using the customer_service, I was able to make
a call to 'list_accessible_customers' only to find that only the MCC
account's resource name comes back in the response. This seems to indicate
that the MCC accounts are not being treated as MCCs in the new API since
they should be returning all child account customer IDs as well.
I believe this is the cause of the issue being expressed in:
https://groups.google.com/forum/#!searchin/adwords-api/login$20customer$20id%7Csort:date/adwords-api/w7xLbo-Pn5E/SH5uY0xhGgAJ
as well as a few other posts.
This can be easily verified by invoking the
customer_service.list_accessible_customers on an MCC account using its
credentials. If you require the specific MCC account ID let me know.
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/4074b3fe-df11-4b4f-89a0-9d65c318423e%40googlegroups.com
<https://groups.google.com/d/msgid/adwords-api/4074b3fe-df11-4b4f-89a0-9d65c318423e%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/1btflug000000000gn26d6000m3o10y60mjcd9j60o30c1g68qj6d9p%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.