Yes, the steps used are the ones mentioned in the links above. Anyhow, I tried using the installed app flow with a new generated Client ID of type Other, as mentioned in the documentation here: https://developers.google.com/adwords/api/docs/guides/authentication#installed . The last error encountered is "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." Does this mean that somewhere I should allow the new Client ID to the customer?
Thank you very much. On Wednesday, February 12, 2020 at 10:32:53 PM UTC+2, adsapiforumadvisor wrote: > > Hello, > > Could you please confirm if you are following the steps mentioned in this > <https://developers.google.com/adwords/api/docs/guides/authentication#oauth2_service_accounts> > > guide to access the AdWords API with service accounts. If yes, please refer > to this > <https://developers.google.com/adwords/api/docs/guides/authentication#configuring_your_client_library> > > section of the guide which will help you to configure the client library > <https://github.com/googleads/googleads-dotnet-lib/wiki/API-access-using-own-credentials-(server-to-server-flow)#step-2---setting-up-the-client-library> > for > your service account. The steps for .Net client libraries are mentioned > here > <https://github.com/googleads/googleads-dotnet-lib/wiki/API-access-using-own-credentials-(server-to-server-flow)#step-2---setting-up-the-client-library> > > which will guide you to setup OAuth2 for API access using your own > credentials. Please give this a try and let me know if the issue persists. > Also, we strongly recommend using installed app or web flows > <https://developers.google.com/adwords/api/docs/guides/authentication#determine_your_app_type> > instead > of service accounts unless you need domain-specific features (for example, > impersonation). > > Regards, > Nikisha Patel, Google Ads API Team > > > ref:_00D1U1174p._5001UUzynP: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 [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]. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/5b2bdd70-f211-4e12-b4d5-9f7bc42cc477%40googlegroups.com.
