Hi Arnab,
Thank you for clarifying your concern.
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. You may refer to the sample code snippet below (from this
example, also available for other languages):
// 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);
}
I hope this helps.
Regards,
Hiroyuki
Google Ads API Team
ref:_00D1U1174p._5001UHFs3z: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
"AdWords API and Google Ads 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/wYr5c000000000000000000000000000000000000000000000PXJSKE00JAwf6r2NQ96CxTwbJqzgzw%40sfdc.net.