yeah, the same happens to me, I initialize everything like domJ except the clientId: I only put one + symbol instead of two: client_1+myacco...@google.com I do not get the error on the AdWordsUser call but I get it when trying to add a campaign. can somebody help us please
On Jun 8, 9:36 am, domJ <dominic.th...@ebuero.ag> wrote: > Hi, > > I tried to run the PHP ClientLibrary on my localhost. I changed the > auth.ini like that: > > email = "myacco...@google.com" > password = "mypassword" > userAgent = "My Sandbox API Tool" > applicationToken = "ignored" > developerToken = "myacco...@google.com++eur" > > ; Uncomment to make requests against a client account. > clientId = "client_1++myacco...@google.com" > > I set the DEFAULT_SERVER = "https://adwords-sandbox.google.com" in the > file settings.ini > > Now when I try to create an instance of AdWordsUser() I get the > following: > > uthTokenException Object ( [error:AuthTokenException:private] => > BadAuthentication [url:AuthTokenException:private] => > [captchaToken:AuthTokenException:private] => > [captchaUrl:AuthTokenException:private] => [message:protected] => > Failed to get authToken. Reason: BadAuthentication > [string:Exception:private] => [code:protected] => 0 .... > > The account-information are correct. I tried it many times. And I can > use the Sandbox Account View without any auth-error. > > Thank you for any help and sorry for my english. > > DomJ -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group: http://adwordsapi.blogspot.com http://groups.google.com/group/adwords-api =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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