haive / google-api-adwords-php

Automatically exported from code.google.com/p/google-api-adwords-php
Apache License 2.0
0 stars 0 forks source link

API DOCS 404 Error / OAuth2 with Service Accounts #96

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Hi, I'm trying to connect to Adwords using OAuth2 with a service account, 
without requiring user input.

* The API docs for the google-api-adwords-php is not accessible (404 error for 
http://google-api-adwords-php.googlecode.com/git/docs/index.html).

* The examples for OAuth2 
(adwords_api_php_4.2.5/examples/Adwords/v201302/Misc/UseAuth2.php) seem to 
document the use of OAuth2 with user interaction.

Is there any example on how to do this or any other link to access the API 
documentation?

Original issue reported on code.google.com by lluisb...@gmail.com on 27 May 2013 at 12:04

GoogleCodeExporter commented 8 years ago
Hi lluisb...

For information on using OAuth2 to access Google APIs, please see the 
developers.google.com documentation:
https://developers.google.com/accounts/docs/OAuth2

You'll see that all of the flows, require user consent to proceed. If you're 
looking to implement this on a backend system, then you can store the response 
from the consent request (done online). Which can then web used to use the API 
without requiring user interaction.

Regards,

- Paul, AdWords API Team.

Original comment by api.pmat...@gmail.com on 28 May 2013 at 10:08

GoogleCodeExporter commented 8 years ago
Further information on this is that the AdWords PHP client library currently 
doesn't support serviced accounts.

Regards,

- Paul, AdWords API Team.

Original comment by api.pmat...@gmail.com on 26 Sep 2013 at 5:24