i am trying to understand the examples that came with googles adwords api in folder google-api-adwords-php\examples\v201101 i opend a file and got a error message Failed to get authToken. Reason: BadAuthentication Code (markup): how do i fix this?
nm, made changes to these 2 files src\Google\Api\Ads\AdWords\auth.ini src\Google\Api\Ads\AdWords\settings.ini
look here src\Google\Api\Ads\AdWords\auth.ini email = "myAccount@gmail.com" password = "******" userAgent = "myTitle" applicationToken = "ignored" developerToken = "myAccount@gmail.com++USD" ; Uncomment to make requests against a client account. clientId = "client_1+myAccount@gmail.com" ; Uncomment the following to use an existing AuthToken. ; authToken = "INSERT_AUTH_TOKEN_HERE" ; Uncomment the following to use existing OAuth information. ; [OAUTH] ; oauth_consumer_key = "INSERT_OAUTH_CONSUMER_KEY_HERE" ; oauth_consumer_secret = "INSERT_OAUTH_CONSUMER_SECRET_HERE" ; oauth_token = "INSERT_OAUTH_TOKEN_HERE" ; oauth_token_secret = "INSERT_OAUTH_TOKEN_SECRET_HERE" Code (markup): src\Google\Api\Ads\AdWords\settings.ini look for this line DEFAULT_SERVER = "https://adwords-sandbox.google.com" Code (markup):