Get the list of available audiences through test API?

51 views
Skip to first unread message

Virginie Duverlie

unread,
May 17, 2023, 10:56:06 AM5/17/23
to Google Ads API and AdWords API Forum
Hello,

I created a test manager account and a test account on Google Ads, and I want to use the API to extract the list of available Google audiences (demos, affinities) as per this script

I created the Python script enclosed (converted to text for enclosing in the email) to call the API, but I get no results at all from the call, however I do not get an error either, the result is just empty.

I tried to look for an example script on how to extract the audiences options with the API but couldn't find one.

Is it possible to see the list of audiences with a test account, or do I need a basic access account?

Thanks a lot,
Virginie

all_audiences.py.text

Google Ads API Forum Advisor

unread,
May 18, 2023, 5:09:53 AM5/18/23
to vduv...@gmail.com, adwor...@googlegroups.com

Hi Virginie,

Thank you for reaching out to Google Ads API Forum.

Please note that as per the limitations stated in the documentation for Audience Management (https://developers.google.com/google-ads/api/docs/remarketing/overview#limitations), user lists are not supported in test accounts and are automatically closed upon creation. For more information on test accounts and its limitations, you may also refer to this documentation (https://developers.google.com/google-ads/api/docs/first-call/test-accounts). 

Additionally, since you are using Python in calling the API, you may check this documentation guide (https://developers.google.com/google-ads/api/docs/client-libs/python) for your reference. 

Regards,

Google Logo Google Ads API Team


ref:_00D1U1174p._5004Q2lIs62:ref
Reply all
Reply to author
Forward
0 new messages