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 [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en.