Hello!

I have a question and hope someone can help me: how can I get the customer 
ID if I only have the ad_group_id?

I tried using this query: 
*$query = "SELECT customer.id FROM ad_group WHERE ad_group.id = 
".$ad_group_id." LIMIT 1";*

and accessing like this: *$googleAdsClient->getCustomerId()*

but my query is not successful, so is this the right way?

Note:
*$ad_group_id* is retrieved from an array so the query is dynamic, and the 
*customer 
id* too, so that's why I want to get the *customer id*.

I'm using php v13 of google ads.

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/12ac270c-4c56-4d19-a2f9-4a0c10a3c848n%40googlegroups.com.
  • Ge... Jessica Villa
    • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
      • ... Jessica Villa
        • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
          • ... Jessica Villa
          • ... Jessica Villa
            • ... Jessica Villa
              • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum

Reply via email to