AdWords Customer Match : format of hash phone number

46 views
Skip to first unread message

eureca

unread,
May 17, 2019, 7:47:36 AM5/17/19
to AdWords API and Google Ads API Forum
Hi,
 my customer has hased his phone number without the '+' sign, and other Advertising platforms do not require the '+' when uploading hashed phone numbers as long as the phone number is international format.

 Could you confirm that we can use the hashed phone without the '+' sign ? (https://developers.google.com/adwords/api/docs/guides/remarketing#customer_match_with_phone_number)
"

For privacy concerns, the phone number needs 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)."


 I know the doc talks about the '+' but the E.164 format does not enforce it :
"

As described in by the ITU, the E.164 general format must contain only digits split as follows :

  • Country code (max 3 digits)
  • Subscriber number (max 12 digits)"

The '+' is usually provided.

Hash difference for :
33653220436 => 146fdb3f9d92ebbd7b753f2631e77df6521d40aa654dd9145b51129211f2433f
+33653220436 => 946ab47c901bdc5af9280d562fcca90a3f44e3b75cd6ed0b9ef187441ce58d8b

In cas it's not possible this mean we need to keep to format for the hash ...

Thanks.

Mathieu

Google Ads API Forum Advisor Prod

unread,
May 20, 2019, 2:05:11 AM5/20/19
to adwor...@googlegroups.com

Hi Mathieu,

Thank you for reaching out. You can still use hashed phone number without plus sign, but I'm afraid that the phone number will not be matched with a customer. As stated in the documentation, phone numbers must start with a plus sign. 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.

Let me know if this helps. Feel free to write back if you have further clarifications.

Regards,
Dave
Google Ads API Team



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