Hi,
Thank you for reaching out to the Google Ads Scripts support team.
I would like to inform you that the error “ReferenceError: hasWordInCommon is not defined” indicates that the variable ‘hasWordInCommon’ is not declared or not initialized to any value. Kindly check if the variable is defined correctly.
I hope this helps. If you still face any issue, get back to us with the below details so that we can assist you further.
You can share the requested details via Reply privately to the author option or a direct private reply to this email.
![]() |
Google Ads Scripts Team |