Oh I totally forgot !! Thanks, that works
Simon On 2 déc, 18:31, AdWords API Advisor <adwordsapiadvi...@google.com> wrote: > Hi Simon, > > It looks like you aren't setting the actual clientEmail header on the > service. You are adding the clientEmail header to the hash, but never > actually adding it to the service. > > Best, > - Eric > > On Dec 2, 12:06 pm, Simon FEBVRE <virgi...@awe.fr> wrote: > > > This is what I did ! But I always have information about my principal > > MCC > > > in ruby : > > headers = { > > :email => 'MYEMAIL', > > :password => 'MYPASSWORD', > > :useragent => 'USERAGENT', > > :developerToken => 'XXX', > > :applicationToken => 'XXX', > > > } > > > namespace = 'https://adwords.google.com/api/adwords/v13' > > account_service = SOAP::WSDLDriverFactory.new(namespace + '/ > > AccountService?wsdl').create_rpc_driver > > account_service.generate_explicit_type = true > > account_service.wiredump_dev = nil > > > headers.each do |header, value| > > account_service.headerhandler << Header.new(header, value) > > end > > > clientsInfos.each do |cl| > > headers[:clientEmail] = cl['emailAddress'].to_s > > > info = account_service.getAccountInfo(nil).getAccountInfoReturn > > puts info.inspect > > end > > > Am I wrong? > > Simon -- 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-...@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.