Hi,
AdWords API Team.
My MCC account has 2000 CustomerClients and I'm trying to get all CustomerClients items for mmc account customer using
$query = 'SELECT customer_client.resource_name,
customer_client.client_customer,
customer_client.level, customer_client.hidden,
customer_client.level
FROM customer_client';
QUERY, but customer_client schema doesn't contain descriptive_name field (like in customer table). do you know how to get all descriptive_names for customer clients?
Also I used this interface, but it returns only one row (loginCustomerId);
$oAuth2Credential = (new OAuth2TokenBuilder())
->fromFile('google_ads_php.ini')
->build();
$googleAdsClient = (new GoogleAdsClientBuilder())
->fromFile('google_ads_php.ini')
->withOAuth2Credential($oAuth2Credential)
->build();
$googleAdsServiceClient = $googleAdsClient->getGoogleAdsServiceClient();
$res = $googleAdsServiceClient->search(loginCustomerId, 'SELECT customer.descriptive_name FROM customer');
Thanks