Hi

I'm a fairly amateurish python user currently creating/updating CRM user 
based audiences using googleads.

While I've been able to do the above, is it possible to retrieve a list of 
(all, or just CRM) audiences that exist? names and ids would be more than 
enough info

I am guesing it involves:
user_list_service = client.GetService('AdwordsUserListService', 
version='v201702')
but what I would need to do to user_list_service to get the data I require.

I do something similar with facebookads by using:

audiences = 
my_account.get_custom_audiences(fields=[CustomAudience.Field.name])
audiences = [{"id":d['id'], "name":d['name']} for d in audiences]

Any advice appreciated, cheers

Stephen

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 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/e4d349aa-db0e-423e-9043-942d92f654c9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • Retrieve a list ... stephen . waters . scripts

Reply via email to