User list member emails

130 views
Skip to first unread message

Keren

unread,
Feb 5, 2018, 5:40:57 PM2/5/18
to AdWords API Forum
Hi,Is there a way to define multiple emails for a single user list member via API? I couldn't find a way to do it because the Member object contains one email, but from Adwords UI it's allowed to add multiple email columns (in the csv file)

Vincent Racaza (AdWords API Team)

unread,
Feb 5, 2018, 11:23:33 PM2/5/18
to AdWords API Forum
Hi Keren,

On the AdWords API perspective, only one email address (via the hashedEmail field) can be added to one user list member. Adding multiple email addresses to a user list member is currently not supported in the AdWords API. You can follow our blog to receive any future updates like new releases.

Also, for CRM based user list, you can check this guide for more information and the code examples can be found here.

Thanks,
Vincent
AdWords API Team

mercadeo...@gmail.com

unread,
Apr 23, 2019, 5:00:59 PM4/23/19
to AdWords API and Google Ads API Forum
One question, can you currently add 3 emails in a row, as in the interface?

googleadsapi...@google.com

unread,
Apr 23, 2019, 11:37:47 PM4/23/19
to adwor...@googlegroups.com
Hi,

In the AdWords API, you can update your existing userlists using the AdwordsUserListService.mutateMembers() method and pass the removeAll field first using the REMOVE operator. Afterwards, you can send another request this time using the ADD operator to upload an updated list of emails (original list plus the 3 new emails you wish to add). You may note that one MutateMembersOperand request can contain at maximum, 500,000 emails as seen in this documentation.

Thanks and regards,
Peter
Google Ads API Team


=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
    https://ads-developers.googleblog.com/search/label/google_ads_api
    https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

Was your question answered? Please rate your experience with us by taking a short survey.
If not -- reply to this email and tell us what else we can do to help.

Take Survey

Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com/search/label/adwords_api
https://developers.google.com/adwords/api/community/

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwor...@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscribe@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+unsubscribe@googlegroups.com.
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/2fb68f69-1c33-4102-86f2-cf3e6b0e5f7f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

mercadeo...@gmail.com

unread,
Apr 24, 2019, 10:53:59 AM4/24/19
to AdWords API and Google Ads API Forum
Hi,Is there a way to define multiple emails for a single user list member via API? I couldn't find a way to do it because the Member object contains one email, but from Adwords UI it's allowed to add multiple email columns (in the csv file)  

googleadsapi...@google.com

unread,
Apr 24, 2019, 11:53:42 PM4/24/19
to adwor...@googlegroups.com
Hi Keren,

A single userlist Member can contain multiple email addresses and can accommodate up to 500,000 addresses in one request. You may refer to this sample code (also available in other languages) on how you can populate a userlist. I hope this helps.

Thanks and regards,
Peter
Google Ads API Team


=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
    https://ads-developers.googleblog.com/search/label/google_ads_api
    https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

Was your question answered? Please rate your experience with us by taking a short survey.
If not -- reply to this email and tell us what else we can do to help.

Take Survey

Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com/search/label/adwords_api
https://developers.google.com/adwords/api/community/

mercadeo...@gmail.com

unread,
Apr 25, 2019, 10:31:26 PM4/25/19
to AdWords API and Google Ads API Forum
Hi Peter,

But, it can contain multiple email addresses for a customer with the api?

Example:

Email  Email2 Email3 telefono1 telefono2 telefono3
cli...@prueba.com cli...@prueba.com 51980342178 51876543821 5190889833
a...@prueba.com b...@prueba.com c...@prueba.com 8989898989 333  

Saludos,

But, can contain multiple email adresses en un

googleadsapi...@google.com

unread,
Apr 25, 2019, 11:13:26 PM4/25/19
to adwor...@googlegroups.com
Hi,

Yes, the emails you have specified in the table can be included, and accepted as members of the userlist. Please note however that duplicates are removed automatically by the system. Meaning, if there had been 2 instances of the same email address in the request, then only the first instance of the email will be accepted.

Thanks and regards,
Peter
Google Ads API Team


=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
    https://ads-developers.googleblog.com/search/label/google_ads_api
    https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

Was your question answered? Please rate your experience with us by taking a short survey.
If not -- reply to this email and tell us what else we can do to help.

Take Survey

Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com/search/label/adwords_api
https://developers.google.com/adwords/api/community/

mercadeo...@gmail.com

unread,
Apr 26, 2019, 1:13:40 PM4/26/19
to AdWords API and Google Ads API Forum
Hi,

hashedEmail is not an array type to insert n mails, how could you insert emails per client


googleadsapi...@google.com

unread,
Apr 28, 2019, 11:03:34 PM4/28/19
to adwor...@googlegroups.com
Hi,

Each email of the user will be contained within the Member object and each member will become collectively as the audience of your UserList object. You will need to create one Member object per each email that you wish to include in your userlist. The sample snippet below (from this example) shows how you can achieve this :

// Hash normalized email addresses based on SHA-256 hashing algorithm. 
List<Member> members = new ArrayList<>(EMAILS.size()); 
for (String email : EMAILS) 
String normalizedEmail = toNormalizedString(email); 
Member member = new Member(); 
member.setHashedEmail(toSHA256String(normalizedEmail)); 
members.add(member); 
}

Thanks and regards,
Peter
Google Ads API Team


=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
    https://ads-developers.googleblog.com/search/label/google_ads_api
    https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

Was your question answered? Please rate your experience with us by taking a short survey.
If not -- reply to this email and tell us what else we can do to help.

Take Survey

Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com/search/label/adwords_api
https://developers.google.com/adwords/api/community/

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=

mercadeo...@gmail.com

unread,
Apr 30, 2019, 12:10:34 PM4/30/19
to AdWords API and Google Ads API Forum
This is solved?

googleadsapi...@google.com

unread,
Apr 30, 2019, 4:29:11 PM4/30/19
to mercadeo...@gmail.com, AdWords API and Google Ads API Forum
Hello,

We had responded to your last message privately. If you didn't get it, here is what it said:
Sorry as we are not that knowledgeable with the PHP language. I suggest you refer to the code snippet Peter provided in the previous response and match it in PHP language. You may also refer to this sample code in PHP on how to use the Member class in populating userlists.

Regards,
Anthony
Google Ads API Team

=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
    https://ads-developers.googleblog.com/search/label/google_ads_api
    https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwor...@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscribe@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+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
Reply all
Reply to author
Forward
0 new messages