AdWords API Re: getting client information

2009-12-02 Thread Simon FEBVRE
Oh I totally forgot !! Thanks, that works Simon On 2 déc, 18:31, AdWords API Advisor 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. > > Bes

AdWords API Re: getting client information

2009-12-02 Thread AdWords API Advisor
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 wrote: > This is what I did ! But I always have information abo

AdWords API Re: getting client information

2009-12-02 Thread Simon FEBVRE
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' acc

AdWords API Re: getting client information

2009-12-02 Thread AdWords API Advisor
Hi Simon, This can be done by making multiple requests to the v13 AccountService. First make a call to getClientAccounInfos() as the MCC user to get the list of client emails. Then for each returned result set the clientEmail header to that client's email and make a request to getAccountInfo(),