create a acl block list configuration on squid then point it to a single file name it as ad_block
then sa adblock file, just fill the file with the domains you want to block
sample to add in congfiguration
acl blocksite url_regex -i "/opt/etc/squid/url_blacklist"
http_reply_access deny blocksite localnet