Hi Andrii,
Thanks for reaching out to the Google Ads API Forum.
I understand that you are trying to get a list of audiences via the REST
interface, and trying to use an Audience report. However, note that to get the
list of users a customer may target, then you may need to use a user_list
report.
For the REST, you may use the GoogleAdsService's search / searchStream method
as an example provided here. You may also refer to our Query Cookbook guide
which contains many reporting samples that correspond to some of the default
Google Ads screens. Following are the two endpoints to fetch the objects from
Google Ads:
search
POST /v11/customers/{customerId}/googleAds:search
Returns all rows that match the search query.
searchStream
POST /v11/customers/{customerId}/googleAds:searchStream
Returns all rows that match the search stream query.
I agree that you are unable to use SDK because you’re using Node.js. But you
may use the REST API from your Node.js program.
Regards,
Yasar
Google Ads API Team
ref:_00D1U1174p._5004Q2d3waK: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 [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
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/adwords-api/xzJ5z000000000000000000000000000000000000000000000RFZJZ200rnS0q8PsRfOYUxBmPUdf1g%40sfdc.net.