Currently we only found one way to get the account labels:

call customer_client to get the customer list  then call customer_lable to 
get the lables, and at last to call label to get the label name.

as we could find there have efficient way to get account labels: 
customer_client.applied_labels from 
wiki 
https://developers.google.com/google-ads/api/fields/v9/customer_client?hl=en#customer_client.applied_labels
and currently seems this field not support cause we get null in returned 
object:
query:  "SELECT customer_client.applied_labels, 
customer_client.client_customer, customer_client.level, 
customer_client.manager, 
customer_client.descriptive_name,customer_client.currency_code, 
customer_client.time_zone,customer_client.id FROM customer_client where 
customer_client.id = '3946126948' "

returned object
Body: results { customer_client { resource_name: 
"customers/3946126948/customerClients/3946126948" client_customer: 
"customers/3946126948" level: 0 time_zone: "America/Los_Angeles" manager: 
false descriptive_name: "CA DSA" currency_code: "USD" id: 3946126948 } } 
field_mask { paths: "customer_client.applied_labels" paths: 
"customer_client.client_customer" paths: "customer_client.level" paths: 
"customer_client.manager" paths: "customer_client.descriptive_name" paths: 
"customer_client.currency_code" paths: "customer_client.time_zone" paths: 
"customer_client.id" }


could you please help advice when customer_client.applied_labels could be 
available?
On Friday, January 21, 2022 at 4:03:12 PM UTC+8 Hao Long wrote:

> Thanks John,
>
> for your inputs that means the account labels are setup on MCC level, all 
> the accounts under this mcc account will have the same account label value?
>
> Thanks
> Hao
>
> On Friday, January 21, 2022 at 2:32:24 PM UTC+8 adsapi wrote:
>
>> Hi Hao,
>>
>> Thank you for providing further details to your concern.
>>
>> The label that you've shown to the provided screenshot is created and 
>> belongs in the higher MCC account 236-043-6167. With this, if you want to 
>> get the "*Display*" label, then you need to query the report for the 
>> MCC account 236-043-6167.
>>
>> Let me know if you have further questions.
>>
>> Regards,
>> [image: Google Logo] 
>> Ernie John Blanca Tacata 
>> Google Ads API Team 
>>   
>>
>> ref:_00D1U1174p._5004Q2UikHa:ref
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/a3b6f741-d1df-4cc2-9449-3d88d0a780d1n%40googlegroups.com.
  • Re... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
  • Re... 'Hao Long' via Google Ads API and AdWords API Forum
  • Re... 'Hao Long' via Google Ads API and AdWords API Forum
  • Re... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
  • Re... 'Hao Long' via Google Ads API and AdWords API Forum
  • Re... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
  • Re... 'Hao Long' via Google Ads API and AdWords API Forum
  • Re... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
  • Re... 'Hao Long' via Google Ads API and AdWords API Forum
  • Re... 'Hao Long' via Google Ads API and AdWords API Forum
  • Re... 'Hao Long' via Google Ads API and AdWords API Forum
  • Re... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
  • Re... 'Hao Long' via Google Ads API and AdWords API Forum
  • Re... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
  • Re... 'Hao Long' via Google Ads API and AdWords API Forum

Reply via email to