Hello,
try this:
For each block
whitelist wanted category
https://adinserter.pro/documentation/black-and-white-lists#categories
blacklist unwanted category as taxonomy:
category:category_slug
https://adinserter.pro/documentation/black-and-white-lists#taxonomies
And then use another block for cases when both categories are used:
whitelist first wanted category
whitelist second wanted category as taxonomy
In this block you can rotate the code of the previous two blocks
[ADINSERTER code="1"]
[ADINSERTER ROTATE]
[ADINSERTER code="2"]
https://adinserter.pro/documentation/manual-insertion#shortcodes
Thanks man, that’s perfect!
Another quick question: Is it possible to insert the same block multiple times in a post and let the rotations take care of switching things up? I’ve tried setting the positions like so: “0.3, 0.6” but the block only shows up once when I look at the page.
Yeah, turns out I just had to clear my cache. Sorry about that!
Final issue, I promise: Now ads are displaying perfectly, but sometimes the ads show up in the middle of my “Let’s Review” plugin boxes in the middle of the conclusions. Is it possible to make them avoid anything contained within a shortcode and move on to the next paragraph?
I’m not sure I understand. The clearance section says it is indeed possible but not exactly how and where to do this.
Where would I put in those exceptions? I’d just need to exempt anything between opening and closing shortcodes.
You need to identify a class, text or something in the paragraphs that marks the opening and closing tags created by the shortcodes.
The put these two texts into the avoid fileds (above and below).
Thanks a lot for being so prompt.
I finally found where to put these settings ( Insertion -> Toggle paragraph clearance settings, for those who are as lost as me ). But I really can’t figure out how to get it to work.
Here’s what I’m trying to do: Anything below “[letsreviewunique” and above “[/letsreviewunique] ” should be left alone. I’d like to have the ads inserted two paragraphs above or below these shortcodes instead.
Here’s how I’ve tried setting it up:
In: – Paragraphs above avoid: [/letsreviewunique]
In: – Paragraphs below avoid: [letsreviewunique
Shift position 2 paragraphs above and then below
I’ve also tried a variation of this with “2” in both “In:”.
I’m not sure what I’m missing.
Alright, I’ve enabled remote debugging.
I need also page address and dsescription of where on the page the block should not be inserted.
https://tabooless.net/toys/mens-toys/top-10-best-prostate-toys/ is an example. It shows up in the review box of the we-vibe vector ( I’ve only enabled ads on mobile ).
Not sure what exactly a “review box of the we-vibe vector” is.
Maybe you can simply prevent insertion inside .lets-review-box-wrap divs.
Set
Do not count inside div elements that contain lets-review-box-wrap
https://adinserter.pro/documentation/paragraph-settings#counting