Hi

I am trying to upload a list of email addresses (from a file) to a customer 
match user list.
I have referenced and followed the code example Add Customer Match User List 
<https://developers.google.com/google-ads/api/samples/add-customer-match-user-list>
.
In the code example. it uploads a single email address.

 // Creates the first user data based on an email address.
    UserData userDataWithEmailAddress =
        UserData.newBuilder()
            .addUserIdentifiers(
                UserIdentifier.newBuilder()
                    .setHashedEmail(normalizeAndHash(sha256Digest, 
"[email protected]")))
            .build();

May I know how should I code it to upload more than 1 email address record?

Derek

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"Google Ads API and AdWords 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/7716dfbf-2e00-4034-8fb1-aca73896e3cbn%40googlegroups.com.
  • up... derek
    • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum

Reply via email to