customer-match: correlation between email and addressinfo

128 views
Skip to first unread message

Coder

unread,
Feb 23, 2021, 6:56:18 AM2/23/21
to AdWords API and Google Ads API Forum
Hello Team,

I'm creating the customer-match user list using the java client library and I have a below question in the example provided:

// Creates the first user data based on an email address.
UserData userDataWithEmailAddress = UserData.newBuilder().addUserIdentifiers(UserIdentifier.newBuilder().setHashedEmail(normalizeAndHash(sha256Digest, "cust...@example.com"))).build();

//Creates the second user data based on a physical address.
UserData userDataWithPhysicalAddress =UserData.newBuilder().addUserIdentifiers(UserIdentifier.newBuilder().setAddressInfo(OfflineUserAddressInfo.newBuilder().setHashedFirstName(normalizeAndHash(sha256Digest, "John")).setHashedLastName(normalizeAndHash(sha256Digest, "Doe")).setCountryCode("US").setPostalCode("10011"))).build();

1) Is it there any relationship between the 1st user data and the 2nd? i.e. John Doe's email is cust...@example.com
2) Or both the user data is unrelated and this audience will target whoever has given email and whoever else has the given firstname and last name? 
Or in other words, 
  • Do GoogleAds needs any correlation between the first and second user data? 
  • Do GoogleAds internally maintains this relationship between email and the address? If so, then I see it is mandatory to maintain the order between these two user data. 
Thanks.

Google Ads API Forum Advisor Prod

unread,
Feb 23, 2021, 1:07:43 PM2/23/21
to dhamay...@gmail.com, adwor...@googlegroups.com

Hi,

Thank you for reaching out. Please find my response to your questions below:
 

  1. There isn’t any relationship between the 1st user data and the 2nd.
 
  1. Both the user data is unrelated and this audience will target whoever has given email and whoever else has the given firstname and last name.
 

Thanks and regards,
Xiaoming, Google Ads API Team

 

Google Logo
Xiaoming
Google Ads API Team
 


ref:_00D1U1174p._5004Q2CTooX:ref

sheryan...@braze.com

unread,
Mar 10, 2021, 8:59:44 PM3/10/21
to AdWords API and Google Ads API Forum
Hi,

I would like to follow up on this if possible. Answers would be greatly appreciated! My questions are:

1) What if both UserIdentifiers were added to the same UserData? Does that mean both UserIdentifiers identify that specific user? 
2) If I wanted to remove that specific UserData from the UserList, do I need to have both UserIdentifiers on the UserDataOperation.remove?
3) Am I missing something or can we only add one user to a UserList per UserDataOperation? On the create field, it says "The list of user data to be appended to the user list.", but is that referring to the UserIdentifiers?
4) If it is true that only one user can be added per one UserDataOperation, does that mean each request of UserDataService.UploadUserData is limited to adding 10 users?

Thank You Very Much!

Google Ads API Forum Advisor Prod

unread,
Mar 11, 2021, 3:16:25 PM3/11/21
to sheryan...@braze.com, adwor...@googlegroups.com

Hi,

Thank you for reaching out. Please find my response to your questions below:
 

  1. Yes.
 
  1. You are supposed to specify one identifier.
 
  1. You could add more than one user to the user list.
 
  1. The UserDataService has a limit of 10 operations and 100 user IDs per request.
Reply all
Reply to author
Forward
0 new messages