RE: Cant access shared accounts through api

2021-03-21 Thread Google Ads API Forum Advisor Prod
Hi Kostja,

To better look into the issue, could you share the following details :

email address used to generate your OAuth2 credentials
MCC/manager account ID where the email address is associated to
complete request and response logs, with the request ID, that were generated 
when the error occurred

You may then send the above requested details using the Reply privately to 
author option, for privacy purposes.

Best regards,

Peter Laurence Napa Oliquino
Google Ads API Team
ref:_00D1U1174p._5004Q2Dx4hj:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/wdv5n0QQCOOW00KmTFPuAbQNKJzKsNhGtQcg%40sfdc.net.


Cant access shared accounts through api

2021-03-19 Thread Kostja Saprykin
I set my python program to collect campaigns of account, it works fine for 
campaigns that are linked to my manager, but i cant get data from request 
regarding shared account,
i get this warning:
WARNING:google.ads.google_ads.client:Request made: ClientCustomerId: 
8252429017, Host: googleads.googleapis.com:443, Method: 
/google.ads.googleads.v6.services.GoogleAdsService/SearchStream, RequestId: 
1fssbQ4_jBPXzY3lqJ1pFg, IsFault: True, FaultMessage: User doesn't have 
permission to access customer. Note: If you're accessing a client customer, 
the manager's customer id must be set in the 'login-customer-id' header. 

Shared account linked to b2b.click.mcc as manager, and i dont have access 
to it.
I also set login-customer-id to this mcc but it doesnt help.

How can i fix this?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/3bd4b15d-3077-494c-a7b8-5be4bc2b1c21n%40googlegroups.com.