Aha. Much obliged Anash. Pete
On Tuesday, November 19, 2013 7:17:58 AM UTC-5, Anash P. Oommen (AdWords API Team) wrote: > > Hi Pete, > > When you retrieve your client accounts using ManagedCustomerService, you > could look at the canManageClients field to distinguish between an an MCC > and Advertiser account. See > https://developers.google.com/adwords/api/docs/reference/v201309/ManagedCustomerService.ManagedCustomer#canManageClientsfor > details. > > Cheers, > Anash > > On Friday, November 8, 2013 12:32:25 PM UTC-5, Peter Kingswell wrote: >> >> Hi Anash, >> >> that makes sense. What's the best way to determine if a Customer Id is >> that of an MCC? I'd rather not rely on attempting to download their >> reports and trapping >> the ReportDefinitionError.CUSTOMER_SERVING_TYPE_REPORT_MISMATCH exception. >> >> Cheers, Pete >> >> >> On Thursday, November 7, 2013 7:16:48 PM UTC-5, Anash P. Oommen (AdWords >> API Team) wrote: >>> >>> Hi Peter, >>> >>> The error means that the report is not being run against an Advertiser >>> account, but rather an MCC account. We do not support MCC reports in >>> AdWords API. >>> >>> The fix is to ensure that you send an advertiser account's customer id >>> in the clientCustomerId header when downloading the reports. >>> >>> Cheers, >>> Anash P. Oommen, >>> AdWords API Advisor. >>> >>> On Wednesday, November 6, 2013 12:51:24 PM UTC-5, Peter Kingswell wrote: >>>> >>>> Hi, >>>> >>>> We have several OAuth clients for whom we are >>>> getting ReportDefinitionError.CUSTOMER_SERVING_TYPE_REPORT_MISMATCH even >>>> when we're passing a just-refreshed OAuth token for that client. >>>> >>>> For any support folk, the customer ID is 7101544184. I can supply code >>>> and more config info upon request. >>>> >>>> One possibility is that the user has revoked our access but if that's >>>> the case, I would not expect the OAuth token refresh to succeed. >>>> >>>> Any insights would be most appreciated! >>>> >>>> Thanks, Peter >>>> >>>> -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group: http://googleadsdeveloper.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 --- You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.