Re: setting up oauth2 client
Solution: I needed to move my adwords_api.yml file to my home directory. I had provided a local path to AdwordsApi::Api.new, and the file was reading correctly, so it seems kinda odd that writing to a different place would result in failure, but that appears to be what happened. On Wednesday, March 14, 2018 at 1:01:08 PM UTC-7, Ryan wrote: > > Perhaps a clue is the response I get from running the utility: "Hit Auth > error, please navigate to URL" > > Why is it talking about an error while it's otherwise happily providing me > with the link? > > > On Wednesday, March 14, 2018 at 12:36:45 PM UTC-7, Ryan wrote: >> >> I'm following the instructions for setting up the adwords_api.yml >> configuration file. I've added the client id and secret to it. I run >> setup_oauth2.rb, get the access code, so far so good. I enter the access >> code, the utility asks me if I want to save the token to the config file, >> and I say yes. But when I look in the file that's generated, all it has is >> an empty object {}. >> >> Any ideas would be much appreciated. Thanks! >> > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/ https://plus.google.com/+GoogleAdsDevelopers/posts =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords 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 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/ce16281a-a802-4eb5-a8e7-963a84e27263%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: setting up oauth2 client
Perhaps a clue is the response I get from running the utility: "Hit Auth error, please navigate to URL" Why is it talking about an error while it's otherwise happily providing me with the link? On Wednesday, March 14, 2018 at 12:36:45 PM UTC-7, Ryan wrote: > > I'm following the instructions for setting up the adwords_api.yml > configuration file. I've added the client id and secret to it. I run > setup_oauth2.rb, get the access code, so far so good. I enter the access > code, the utility asks me if I want to save the token to the config file, > and I say yes. But when I look in the file that's generated, all it has is > an empty object {}. > > Any ideas would be much appreciated. Thanks! > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/ https://plus.google.com/+GoogleAdsDevelopers/posts =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords 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 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/876b8622-9f44-43e8-b6a6-e9347ff1903e%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
setting up oauth2 client
I'm following the instructions for setting up the adwords_api.yml configuration file. I've added the client id and secret to it. I run setup_oauth2.rb, get the access code, so far so good. I enter the access code, the utility asks me if I want to save the token to the config file, and I say yes. But when I look in the file that's generated, all it has is an empty object {}. Any ideas would be much appreciated. Thanks! -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/ https://plus.google.com/+GoogleAdsDevelopers/posts =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords 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 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/14a753d6-18c6-446f-b4b0-c2a1e82224d5%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.