On Thursday, March 12, 2020 at 3:42:22 PM UTC+5:30, Азамат Баймурзин wrote: > > python report.py -c 7509850792 > Request made: ClientCustomerId: 7509850792, Host: > googleads.googleapis.com:443, Method: > /google.ads.googleads.v3.services.GoogleAdsService/SearchStream, RequestId: > None, IsFault: True, FaultMessage: User doesn't have permission to access > customer. Note: If you're accessing a client customer, the manager's > customer id mRequest with ID "None" failed with status "PERMISSION_DENIED" > and includes the following errors: > ust be set in the 'login-customer-id' header. See > https://developers.google.com/google-aError with message "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. See > https://developers.google.com/google-ads/api/docs/concepts/call-structure#login-customer-id > ". > # python report.py -c 750-985-0792 > Request made: ClientCustomerId: 750-985-0792, Host: > googleads.googleapis.com:443, Method: > /google.ads.googleads.v3.services.GoogleAdsService/SearchStream, RequestId: > None, IsFault: True, FaultMessage: Invalid customer ID '750-985-0792'. > Request with ID "None" failed with status "INVALID_ARGUMENT" and includes > the following errors: > Error with message "Invalid customer ID '750-985-0792'.". > > четверг, 12 марта 2020 г., 1:18:19 UTC+6 пользователь adsapiforumadvisor > написал: >> >> Hi, >> >> You can run the python script against your account that holds the >> campaigns by using the following format: >> >> python3 get_campaigns.py -c ###-###-#### >> >> The ###-###-#### is where your customerclientId should be placed. This >> way, you can make sure the get_campaigns.py code runs against your account. >> Let me know if you run into further questions. >> Thank you, >> Bryan, Google Ads API Team >> >> ref:_00D1U1174p._5001UXUlhw: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/4dd68b43-76ed-4eca-8d53-15626921bc96%40googlegroups.com.