Hi.
I want to create a Web application in php to manage the Adwords account in my digital agency.
I created a Web application and configured the application except the "refresh_token" parameter. According to the instructions, to get it, I have to run the GetRefreshToken.php script from the command line. I Run the script and the link that I got back is only good for "Installed application", but not for "Web Applications" (the same issue has been mentioned in Making first request problem - can not get refresh token. )
"The redirect URI in the request: urn:ietf:wg:oauth:2.0:oob can only be used by a Client ID for native application. It is not allowed for the 'WEB' client type. You can create a Client ID for native application in the Credentials section of the Google Developers Console."
$dr_service = new Google_Service_Drive($client);
$dt_service = new Google_Service_Youtube($client);
But there is no "Google_Service_Adwords".
Moreover, in the "Google Developers Console" page, in the part where the available API for applications are selected, "Adwords" does not appear.
After these tests, I concluded that perhaps there is no PHP AdWords API for web applications and would like to confirm with you whether it is possible or not and, if possible, what is the right way to do it.
Thanks for your assistance on this.
Roberto