Upload Customer emails list for an audience Id in javascript

57 views
Skip to first unread message

custom.audie...@gmail.com

unread,
Nov 30, 2016, 12:29:40 PM11/30/16
to AdWords API Forum
Hello,

I want to start uploading csv files with hashed email addresses through code(automatically). Currently, we are doing manually.
The language I have to use is javascript.
Earlier, we implemented facebook custom audience. The way we implemented was POST request with users list and token being passed there.
Here, I am not able to see any such option. I read so many pages that I am confused now.
I have API KEY, OATH CLient Id, Client secret, developer token(still to generate, but, I will do).
Can anybody help with some reference to code? What else do I need?

Any help is much appreciated.

Thanks,
Harry

Shwetha Vastrad (AdWords API Team)

unread,
Nov 30, 2016, 2:35:28 PM11/30/16
to AdWords API Forum
Hi Harry,

You need to use AdwordsUserListService to upload hashed email addresses to your remarketing list. This guide provides more details on using AdWords API to create and manage user lists. The AddCrmBasedUserList Java example demonstrates how to create a CrmBasedUserList and upload email addresses to populate the list. Example code in other languages is available here. I'm afraid reference code in Javascript is not available, neither can you use AdWords Scripts to perform this. 

Regards,
Shwetha, AdWords API Team.
Reply all
Reply to author
Forward
0 new messages