Hi i am trying to get all labels of a customer, here is my code
$query = ' SELECT customer_client.id, customer_client.descriptive_name, customer_client.applied_labels, customer_client.client_customer FROM customer_client'; $response = $googleAdsServiceClient->search($customerId, $query); foreach ($response->iterateAllElements() as $googleAdsRow) { /** @var GoogleAdsRow $googleAdsRow */ $customer = $googleAdsRow->getCustomerClient(); $customerId = $customer->getId(); $customerName = $customer->getDescriptiveName(); $customerLabels = $customer->getAppliedLabels(); var_dump($customerId); var_dump($customerName); var_dump($customerLabels); } CustomerId and name is retuens the correct value.The problem is that $customerLabels is empty. But this customer have more then 20 labels. What i am doing wrong? Thanks -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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/96c75e1e-9bba-4563-a61b-8732c0e5fd51n%40googlegroups.com.