Per this issue, customer id being returned was -1 but now it is 0
instead. Just an fyi to all who are doing something like:

...
ServicedAccountGraph graph = servicedAccountService.get(selector);
if (graph.accounts[0].customerId == -1) {
  // handle non-mcc account
}

You might have to change it to:

...
ServicedAccountGraph graph = servicedAccountService.get(selector);
if (graph.accounts[0].customerId == -1 || graph.accounts[0].customerId
== 0) {
  // handle non-mcc account
}

Best,
Yagmur

On Jan 23, 2:10 pm, Kevin Winter <[email protected]> wrote:
> Hi Sean,
>   I apologize, I presented an invalid solution earlier.  The
> Account/Campaign report workaround is our recommendation for obtaining the
> currency code and timezone (which are the other two most commonly requested
> fields from the v13 AccountService).
>
> For unlinked accounts, we do not currently have a good method to obtain
> clientCustomerId - but we're currently looking into options to alleviate
> this shortcoming.
>
> - Kevin Winter
> AdWords API Team
>
>
>
>
>
>
>
> On Monday, January 23, 2012 11:44:07 AM UTC-5, sms_adwords wrote:
>
> > Hi Kevin,
>
> > Thanks for the response. It's my understanding that currently the API
> > requires a clientCustomerId to download reports. Is there a different
> > method (not involving downloading reports) to acquire the Id?
>
> > Thanks,
> > Sean

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

Reply via email to