Ok ! It seems to work for the authentication ! Thank you very much.
On 14 août, 00:27, AdWords API Advisor <adwordsapiadvi...@google.com> wrote: > Hi, > > The namespace doesn't change for the sandbox, only the server does. > You can make requests to the sandbox by setting the following in > settings.ini: > > DEFAULT_SERVER = "https://adwords-sandbox.google.com" > > Best, > - Eric Koleda, AdWords API Team > > On Aug 13, 8:46 am, ABdev <vega.dev...@gmail.com> wrote: > > > > > Hi all, > > > I'm trying to use the Adwords API with PHP. > > Especially I'm interested by TargetingIdea service. > > > Here are my current authentication data. > > > $email = 'vega.dev...@gmail.com'; > > $password = 'password_of_previous_email'; > > $developerToken = 'vega.dev...@gmail.com+eur'; > > $applicationToken = 'notoken2'; > > $userAgent = 'userAgent'; > > $clientId = 'client_1+vega.dev...@gmail.com'; > > > If I use them I have a "AuthenticationError.NOT_ADS_USER" error. > > > So I try to use the AdWordsSoapClientFactory but I probably give wrong > > data because this factory seem to look for a local file where I put a > > wsdl url > > > $namespace = 'https://adwords-sandbox.google.com/api/adwords/v13'; > > $fact = new AdWordsSoapClientFactory($user,'v200909', > > 'https://adwords-sandbox.google.com',false);//change > > boolean value ? > > $account_service = > > $fact->GenerateSoapClient($namespace . '/AccountService?wsdl', > > 'wsdl'); > > $account_service->setHeaders($headers); > > $debug = 0; > > > Fatal error: require_once(): Failed opening required 'C: > > \**myfolderpath**\Google\Api\Ads\AdWords\Lib/../v200909/wsdl/https:// > > adwords-sandbox.google.com/api/adwords/v13/AccountService?wsdl.php' > > > Could you help me on it ? > > > Thank you ! -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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