diff --git a/src/main/java/com/facebook/ads/utils/ServerSideApiUtil.java b/src/main/java/com/facebook/ads/utils/ServerSideApiUtil.java index 2f005f15..6fed62a2 100644 --- a/src/main/java/com/facebook/ads/utils/ServerSideApiUtil.java +++ b/src/main/java/com/facebook/ads/utils/ServerSideApiUtil.java @@ -149,7 +149,7 @@ private static String normalizePhoneNumber(String phoneNumber) { // Replace white spaces and hyphens phoneNumber = phoneNumber.replaceAll("[\\-\\s\\(\\)]+", ""); - if(phoneNumber.length() < 6 || phoneNumber.length() > 15){ + if(phoneNumber.length() < 6 || phoneNumber.length() > 16){ throw new IllegalArgumentException("Invalid phone number format for the passed phone number:" + phoneNumber + ". Please check the passed phone number format."); }