Pastor under fire for criticising gay advert