Google Inc.| Developer Relations | AdSense API Team | developers.google.com/adsense
Follow us on our Google Ads Developer page on Google+ and our Google Ads Developer Blog to learn more about the different Ads APIs at Google.
Since we cannot use the service authentication flow for adsense, I have to use the web application flow.However, I am requesting from a server to only a few personal accounts.I do not want the be redirected to google to click "allow".How can I bypass the "manual process" part of oauth 2 where you have to go to google and get the refresh and access tokens.Can I programmatically click the accept button or completely bypass this step?Mike
Google Inc.| Developer Relations | AdSense API Team | developers.google.com/adsense
Follow us on our Google Ads Developer page on Google+ and our Google Ads Developer Blog to learn more about the different Ads APIs at Google.
Jose,Thanks for your responseRegarding the first time to authenticate, the part where the user authenticates and authorizes with google...In the examples, the flow is to redirect the user to google and have google send the response to the callback url.I only know how to implement with this flow requiring a web browserHowever my code is on a server and the only user is myself,How should I authenticate?Can I authenticate through command line?I wish I could use the server application flow but it's not available for adsense.Mike