Hi Kamran, Thanks for clarifying! The service you'll want to use is ManagedCustomerService->get() <https://developers.google.com/adwords/api/docs/reference/v201509/ManagedCustomerService#get> at the manager account level of your hierarchy. In your Selector <https://developers.google.com/adwords/api/docs/reference/v201509/ManagedCustomerService.Selector>, you'll want to choose:
- CustomerId - AccountLabels That will give you a mapping of each account with its associated account labels. Best, Nadine, AdWords API Team On Friday, December 4, 2015 at 7:39:28 AM UTC-5, rc1...@gmail.com wrote: > > Hi Nadine, > > Thank you for the quick update now I understand how to get the labels on > account level. > Please see below for the request ID i used to get the labels. > <requestId>00052611ba919d700ac246870d033586</requestId> > > But sorry I think I was not very clear earlier, actually I want to get > Labels associated with particular account, e.g. i have many accounts in and > i want to know through API, which labels are associated with each account. > > Can you please let me know which API request should I be using to get this > data? > > Regards, > > Kamran > > On Thursday, December 3, 2015 at 6:06:15 PM UTC-5, Nadine Sundquist > (AdWords API Team) wrote: >> >> Hi Kamran, >> >> Thanks for providing the *requestId*. That really made everything a lot >> easier to track down. So, it looks like you're calling >> AccountLabelService >> <https://developers.google.com/adwords/api/docs/reference/v201509/AccountLabelService> >> against >> a customer account, rather than a manager account. Try using the >> LabelService >> <https://developers.google.com/adwords/api/docs/reference/v201509/LabelService> >> >> instead at that level of your account hierarchy. If you call >> AccountLabelService >> one level above that account, which would be the manager account level, >> then you would get back account level labels. >> >> Happy coding, >> Nadine, AdWords API Team >> >> On Thursday, December 3, 2015 at 3:15:34 PM UTC-5, rc1...@gmail.com >> wrote: >>> >>> Hi Team, >>> >>> I am not able to get the Labels associated with the account. >>> >>> I am using Account Label Service to get the account labels. >>> >>> The Request ID is mentioned below. Please let me know if you need >>> anything else. >>> >>> <requestId>00052603c66655900ac246870d033586</requestId> >>> >>> Thanks, >>> >>> Kamran >>> >> -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/ https://plus.google.com/+GoogleAdsDevelopers/posts =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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. Visit this group at http://groups.google.com/group/adwords-api. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/18696ac4-069f-468f-b924-0f224e050f22%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.