Hello Amlan,

The InfoService (IS) was designed to query information about advertiser
accounts while ServicedAccountService (SAS) - about account hierarchies.
We recommend to use SAS first to acquire all account IDs and then IS to
get the usage details on them.

For unlinked accounts you already know the clientCustomerId and can
proceed with the IS right away.


-Danial, AdWords API Team.


Original Message Follows:
------------------------
From: "Amlan(BlueKai)" <amlan.chakrabo...@gmail.com>
Subject: Re: InfoService v201109 error
Date: Fri, 25 May 2012 00:13:51 -0700 (PDT)

> Eric,
>    I have the exact same problem as Denis. 
> 
> We have used the InfoService call in a generic way to get the customer
ids 
> for both unlinked and MCC accounts and the right thing happened (one 
> customerId or a set of 'sub' customerIds returned). But now I have
noticed 
> that for a new MCC account, added recently, we are not getting back the 
> apiUsageDetails (and thus the customer ids) for the clients managed by
that 
> account. I am having to resort to using ServicedAccountService as an 
> alternative in such cases. Can you please explain why the service
returns 
> the apiUsageDetails for managed clients for certain accounts and not for
 
> others. It seems a bit odd to have to use two services in a
trial-and-error 
> fashion to get the list of customer ids. Or is that the suggested usage 
> pattern.
> 
> Thanks,
>   Amlan
> 
> On Monday, April 2, 2012 1:00:57 PM UTC-7, Eric Koleda wrote:
> >
> > Hi Denis,
> >
> > I believe the results should be the same regardless of whether or not
the 
> > account is a Google Apps for your domain account.  If you just want to
get 
> > information about your sub-accounts then you should use the 
> > ServicedAccountService instead.
> >
> > Best,
> > - Eric
> >
> > On Friday, March 30, 2012 3:56:42 AM UTC-4, Denis Olifer wrote:
> >>
> >> Hi, Eric
> >> thanks a lot for your reply. 
> >> This works for me. but for some of accounts i got zero values (ga
accout 
> >> used is Google for domains account, non-MCC) the response is
> >>
> >>  <soap:Envelope
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";><soap:Header><ResponseHeader

> >>> xmlns:ns2="https://adwords.google.com/api/adwords/cm/v201109";
xmlns="
> >>>
https://adwords.google.com/api/adwords/info/v201109";><ns2:requestId>0004bc7121a910e80a97030d000051e7</ns2:requestId><ns2:serviceName>InfoService</ns2:serviceName><ns2:methodName>get</ns2:methodName><ns2:operations>1</ns2:operations><ns2:responseTime>1206</ns2:responseTime><ns2:units>1</ns2:units></ResponseHeader></soap:Header><soap:Body><getResponse

> >>> xmlns:ns2="https://adwords.google.com/api/adwords/cm/v201109";
xmlns="
> >>> https://adwords.google.com/api/adwords/info/v201109
> >>>
"><rval><cost>0</cost></rval></getResponse></soap:Body></soap:Envelope>
> >>
> >>
> >> but for domain MCC account i see the results, and for normal (non
domain) 
> >> Google account - everything ok.
> >> Could you please help me, how to get a list of Clients that belong to

> >> current authenticated user,
> >>
> >> Best,
> >> Denis
> >>
> >> On Thursday, February 23, 2012 12:15:12 AM UTC+2, Eric Koleda wrote:
> >>>
> >>> Hi All,
> >>>
> >>> We pushed out a change today that should allow you to retrieve the 
> >>> customer ID of unlinked accounts from the InfoService.  If you call
the 
> >>> InfoService using the ApiUsageType of UNIT_COUNT_FOR_CLIENTS while 
> >>> authenticated as the unlinked non-MCC account, you should receive
back a 
> >>> single entry in the response with the email and customer ID of the 
> >>> authenticated account.  It's not necessary to populate the
clientEmails or 
> >>> clientCustomerIds fields of the selector.  Calling the InfoService 
> >>> authenticated as an MCC account will behave the same as before (one
entry 
> >>> for each client account).  Let me know if you have any questions.
> >>>
> >>> Best,
> >>> - Eric
> >>>
> >>
> 
> -- 
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> 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

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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

Reply via email to