Re: login the sandbox with the php client
Hi Peter, Also, is the library picking up auth.ini? I think the library would load defaults if it cannot find auth.ini and go ahead, so I'd check if the username and password are right on the line where the call fails. Cheers, Anash P. Oommen, AdWords API Advisor. -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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
Re: login the sandbox with the php client
Hi Peter, What error are you seeing? An error thrown by AuthToken class means there is something wrong with your email/password. At that stage, you haven't got as far as making an API call. You are still generating an authToken to be used with AdWords API later. Cheers, Anash P. Oommen, AdWords API Advisor. -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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
Re: login the sandbox with the php client
Hello Anash, thanks for your answer; when trying to connect, then $ch = curl_init($postUrl) in authtoken.php throws an error. my settings.ini ... [SERVER] DEFAULT_VERSION = "v201008" DEFAULT_SERVER = "https://adwords-sandbox.google.com/api/adwords/cm/ v201008/CampaignService" my auth.ini email = from GMail account password = from GMail account userAgent = "AdWords API PHP Code Example" applicationToken = "ignore" developerToken = "p...@gmail.com++EUR" ... What should I change here or how can I verify that the 5 email accounts are created ? best regards, Peter On 11 Mrz., 11:54, AdWords API Advisor wrote: > Hi Peter, > > You could alternately call > CampaignService.get().http://code.google.com/p/google-api-adwords-php/source/browse/trunk/e...should > do the trick. > > Cheers, > Anash P. Oommen, > AdWords API Advisor. -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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
Re: login the sandbox with the php client
Hi Peter, You could alternately call CampaignService.get(). http://code.google.com/p/google-api-adwords-php/source/browse/trunk/examples/v201008/GetAllCampaigns.php should do the trick. Cheers, Anash P. Oommen, AdWords API Advisor. -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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