I have repeated title from historical closed forum topic. I would like to inject ads to posts that are asigned with specific categories. While location of the ad will remain the same for all groups, post category will determine Ad Group and therefore specific ads to be shown. This helps us with targeting specific audience with specific product ads.
However, the problem is that some of my posts belong to 2 categories and as a result, 2 ads are injected to the post one after another.
It there a way how to prevent this duplication? E.g. by defining priority of categories and injecting ads only for Group with category, that is the most prioritized?
Thank you for your reply. Reliable way would be to evaluate all post injections with similar inject destination and make only one win and execute e.g. based on priorities assigned to individual post category by user. I am sure that this would bring your plugin to another level and differentiated it from competitors.
Information, support and updates about plugins made and maintained by Arnan de Gans. Check out ajdg.solutions for more information.