The error appeared during the curl command. So I should generate new OAuth keys, use these, and create the refresh token using the TokenGenerator.exe right? So far I've been generating refresh tokens using the Google Playground, with the scope provided https://developers.google.com/oauthplayground/ If I'm working on localhost should I add the redirect URLs? Or would this work only on a live server?
W dniu poniedziałek, 23 kwietnia 2018 12:47:50 UTC-4 użytkownik Dhanya Sundararaju (AdWords API Team) napisał: > > Hi, > > Do you get this error when you run the curl command that was shared or > when you run the client library examples > <https://github.com/googleads/googleads-dotnet-lib>? Could you try > opening a new incognito window, then generate the client id and secret > using a valid AdWords user login. Also, please make sure you are using the > correct scope which is: "https://www.googleapis.com/auth/adwords". After > that, please generate the refresh token using the OAuthTokenGenerator.exe > <https://github.com/googleads/googleads-dotnet-lib/wiki/API-access-on-behalf-of-your-clients-(web-flow)#step-2---setting-up-the-client-library>. > > Then, please use those credentials to run GetCampaigns.cs > <https://github.com/googleads/googleads-dotnet-lib/blob/master/examples/AdWords/CSharp/v201802/BasicOperations/GetCampaigns.cs> > or GetCampaigns.vb > <https://github.com/googleads/googleads-dotnet-lib/blob/master/examples/AdWords/Vb/v201802/BasicOperations/GetCampaigns.vb> > and > let me know if you still get errors. > > Regards, > Dhanya, AdWords API Team > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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/b7d705b5-1aa0-42e0-817c-50c2552c2105%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.