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

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
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 and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/13e8b1ae-c99d-4057-b428-e41326e61648%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • PHP Goo... Andry Khmelik
    • RE... googleadsapi-forumadvisor via AdWords API and Google Ads API Forum
      • ... cv
        • ... googleadsapi-forumadvisor via AdWords API and Google Ads API Forum

Reply via email to