Hi, I followed the instructions here: https://developers.google.com/google-ads/api/docs/first-call/overview
Got the oauth clientid and clientsecret, got the refresh token, but when I tried to run the GetCampaigns <https://github.com/googleads/google-ads-dotnet> example. I got the error: (Status(StatusCode="PermissionDenied", Detail="The caller does not have permission")) I am currently using a test manager account. My app.config as follows:- <?xml version="1.0" encoding="utf-8" ?> <configuration> <configSections> <section name="GoogleAdsApi" type="System.Configuration.DictionarySectionHandler"/> </configSections> <GoogleAdsApi> <!-- Settings specific to Google Ads API.--> <add key="DeveloperToken" value="my-dev-token"/> <add key = "LoginCustomerId" value = "my-test-manager-id" /> <!-- OAuth2 configuration --> <add key = "OAuth2Mode" value = "APPLICATION" /> <add key = "OAuth2ClientId" value = "my-oauth-clientid" /> <add key = "OAuth2ClientSecret" value = "my-oauth-client-secret /> <add key = "OAuth2RefreshToken" value = "my-refresh-token"/> </GoogleAdsApi> </configuration> This is how I ran the example: dotnet run --framework net5.0 V11.GetCampaigns --customerId xxxxxxxx where xxxx is the client id that I have created under the test manager account (without dashes.) How can I troubleshoot further? There don't seem to be anywhere I can grant permissions. Thanks. Regards CK -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 "Google Ads API and AdWords 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/2ab7d564-9326-4964-ae19-9f9912f1460dn%40googlegroups.com.
