is there any specific format of email and mobile number that should be used before hashing and making call to google ads api

1,320 views
Skip to first unread message

Ajit Trivedi

unread,
Apr 14, 2022, 7:20:41 AM4/14/22
to Google Ads API and AdWords API Forum
Hi,
To upload data to audience we are hashing the email id and mobile number . so is there any format of mobile number and email that should be followed before hashing ?
Thanks

Google Ads API Forum Advisor

unread,
Apr 17, 2022, 10:58:30 PM4/17/22
to ajit.triv...@gmail.com, adwor...@googlegroups.com
Hi Ajit,

Thank you for reaching out to us.

For privacy concerns, email addresses, first names, and last names must be hashed using the SHA-256 algorithm before being uploaded. In order to standardize the hash results, prior to hashing one of these values you must:
  • Remove leading/trailing whitespaces.
  • Convert the text to lowercase.
And the phone/mobile number needs also to be hashed using the SHA-256 algorithm before being uploaded.

In order to standardize results, convert each phone number to E164 format before hashing. This format represents a phone number as a number up to fifteen digits in length starting with a + sign (e.g. +12125650000, +442070313000).

If the phone number is not correctly formatted before hashing, the API will still accept the hashed phone number, but the phone number will not be matched with a customer. You can check this documentation for more information.

Best regards,
Google Logo
Heidi
Google Ads API Team
 


ref:_00D1U1174p._5004Q2a3C4M:ref

Ajit Trivedi

unread,
Apr 18, 2022, 7:07:13 AM4/18/22
to Google Ads API and AdWords API Forum
Thanks for the response

Google Ads API Forum Advisor

unread,
Apr 19, 2022, 2:35:02 AM4/19/22
to ajit.triv...@gmail.com, adwor...@googlegroups.com

Hi Ajit,
 

Thank you for your response. If you have any concerns for our team let us know. We will be happy to address it.
 

Regards,

Google Logo
Darwin
Google Ads API Team
 


ref:_00D1U1174p._5004Q2a3C4M:ref
Reply all
Reply to author
Forward
0 new messages