No, that's the Problem. I always get "BadAuthentication". But the account-information are definitively correct.
On 8 Jun., 17:37, ramonpoli <ramon.polid...@googlemail.com> wrote: > and do they work? do you get to add the campaigns and receive them? > > On Jun 8, 4:24 pm, domJ <dominic.th...@ebuero.ag> wrote: > > > > > I use the "GetAllCampaigns" and "AddCampaign" example to test it. > > > On 8 Jun., 17:11, ramonpoli <ramon.polid...@googlemail.com> wrote: > > > > yeah, have u tried with the correct initialization?: > > > > $path = dirname(__FILE__) . '/AdWords/src'; > > > set_include_path(get_include_path() . PATH_SEPARATOR . $path); > > > > require_once 'Google/Api/Ads/AdWords/Lib/AdWordsUser.php'; > > > > $user = new AdWordsUser(); > > > // Log SOAP XML request and response. > > > $user->LogDefaults(); > > > > // Get the CampaignService. > > > $campaignService = $user->GetCampaignService('v200909','https:// > > > adwords-sandbox.google.com'); > > > > On Jun 8, 3:33 pm, domJ <dominic.th...@ebuero.ag> wrote: > > > > > Yes, I think one plus is correct.I tried both for clientId, one and > > > > two plus. The result is "BadAuthentication" anymore. > > > > > On 8 Jun., 16:09, ramonpoli <ramon.polid...@googlemail.com> wrote: > > > > > > 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