Hi,

It looks like you may be setting the *clientCustomerId* SOAP header to the 
child account, in which case you won't get the account labels back in the 
response because they are defined in the MCC account (437-819-4458), not 
the child account.

Instead, please try setting the *clientCustomerId* SOAP header to the MCC 
account that owns the account labels (437-819-4458 in this case), then add 
a predicate on *CustomerId* if you want to limit the request to specific 
child accounts.

Thanks,
Josh, AdWords API Team

On Wednesday, June 3, 2015 at 5:56:20 PM UTC-4, Zweitze wrote:
>
> Hi,
>
> I'm trying to retrieve the labels of an account. To my surprise it is 
> always NULL.
> Sample code (C#)
>
>     ManagedCustomerService mcs = User.GetService(
>     AdWordsService.v201502.ManagedCustomerService);
>
>     Selector Selector = new Selector();
>     Selector.fields = new string[] { "CustomerId", "AccountLabels",
>         "Name", "CompanyName", "CanManageClients" };
>
>     ManagedCustomerPage mcp = mcs.get(Selector);
>
> And then I end up with exactly one ManagedCustomer, where attributes 
> customerId, name, companyName and canManageClients are all set, but 
> accountLabels is not.
> I tested this with MCC 437-819-4458 (meaning, the refreshToken was issued 
> to a login to this MCC) and CustomerId 892-838-4200. In the AdWords web 
> interface, when logged in to the same MCC, I see two labels.
>
> A recent RequestId of such a call is 000517a3e84613800ac216e46100e07b.
>
> I tried with requesting fewer fields, just CustomerId and AccountLabels, 
> but attribute accountLabels remain empty. What am I doing wrong?
>
> Thank in advance!
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/74f2ba96-e42c-49e4-aed3-9838e3976835%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to