From 0c2167b4a81a9834037937fd813f74b5e51a6301 Mon Sep 17 00:00:00 2001 From: Shuotian Cheng Date: Wed, 21 Aug 2024 11:44:34 -0700 Subject: [PATCH] Update Legit Phone Number Length to 16 Summary: Change the legit phone number length limit to allow 16 characters long. Reviewed By: liliarizona Differential Revision: D61604315 fbshipit-source-id: c6d85b8f842de5e37bbcb3ca978e26de3cff8040 --- lib/facebook_ads/ad_objects/server_side/util.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/facebook_ads/ad_objects/server_side/util.rb b/lib/facebook_ads/ad_objects/server_side/util.rb index cca00aa8..b0d846af 100644 --- a/lib/facebook_ads/ad_objects/server_side/util.rb +++ b/lib/facebook_ads/ad_objects/server_side/util.rb @@ -203,7 +203,7 @@ def self.normalize_phone(phone) normalized_phone = normalized_phone.gsub(PHONE_NUMBER_DROP_PREFIX_ZEROS, '') end - if normalized_phone.length < 7 || normalized_phone.length > 15 + if normalized_phone.length < 7 || normalized_phone.length > 16 return nil; end