When I create ads for certain companies they appear in all searches, for example: a barber shop is advertising and if I search for restaurants it will appear in this search. It should only be displayed in the barber shop category.
Thanks for the answer.
I tried to do this but it continues to show for all categories. It actually only displays when it is searched. However, it is displayed for any category searched, not only for the category to which that advertised company belongs.