RE: GoogleAdsService, how to get customer_id

2021-09-30 Thread Google Ads API Forum Advisor
Hi,

Thank you for reaching out to our API support team.

In the Google Ads API, you should be able to retrieve customer details such as 
the customer_id of your Google Ads accounts using the below features :

List accessible accounts
Get account hierarchy

However, since you also mentioned that "..Now, we get customer_ids by the old 
adwords API..", could you confirm and provide details as to how you are 
currently retrieving the customer_id using the AdWords API, so I can then 
recommend an equivalent feature or workaround using the Google Ads API?

If your response would contain your logs or screenshots which include user / 
account information, you may then send the requested information via the Reply 
privately to author option. If this option is not available, you may send the 
details directly to our googleadsapi-supp...@google.com alias instead.

Best regards,

Peter Laurence Napa Oliquino
Google Ads API Team
ref:_00D1U1174p._5004Q2OVQoO: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 
"AdWords API and Google Ads 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/X7UZM0R0AAMF00zIgWFQQ6S629uFv03wpR1A%40sfdc.net.


GoogleAdsService, how to get customer_id

2021-09-30 Thread 梁景熙
hello, my team is using google ads API -- GoogleAdsService to get the ads 
data now.one method of the google_ads_service 

 --  
search_stream needs at least two input args, customer_id and query_sql. 
Now, we get customer_ids by the old adwords API, which   will sunset on *April 
27, 2022* 
.
 
So we want to know how to get the  customer_ids by the new ads API. Are 
there any services can be used or any other solution?
Thanks a lot~

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"AdWords API and Google Ads 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/aae346e4-18fb-4750-9932-377a27dbc8ffn%40googlegroups.com.