In certain situations, we might want a product campaign to display only when the search query contains specific…