Hello, We're working on sending enhanced leads via the API. We're using NodeJS, so we're using the rest API - not an existing library.
We wanted to validate that we are formatting our phone numbers correctly. Specially, the library we've been using to parse a phone number and return it as E.164 returns zero spaces. I.e. the format for a US phone number is: "+15555551234". The "no spaces rule" does not seem to be required by Google, however. If you look at the python example of normalizing and hashing a phone number <https://github.com/googleads/google-ads-python/blob/0f0fde31d39c0b99c91112b86462d1ffd2e912cf/examples/remarketing/upload_enhanced_conversions_for_leads.py#L79-L81>, you'll see the number has spaces: "+1 800 5550102". This obviously hashes to a different value: "+1 800 5550102" => "5b0ab2d6e32d4073681bf36498ad2d32f7a1289629710fe0052f300af19646dc" "+1800550102" => "c5383c2eeada28210d27f011bc127d4f9562cf38ff0c9bba33dd45ae79b9fe7c" *What is the correct way to normalize a phone number for enhanced leads?* Thank you, Mike -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com 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 adwords-api+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/78e8d9a4-a4b2-4953-b39d-3fcb9363caf9n%40googlegroups.com.