Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
Hisashi Posted March 20, 2023 Posted March 20, 2023 Hello, How do I not repeat the same advertisement on page? I created 2 test ads. And I put them both on a test page Circulation is set to "Randomly select an advertisement" But unfortunately one of the ads ends up repeating itself on the same page where it was added, is there a way to prevent this from happening?
Marc Posted March 20, 2023 Posted March 20, 2023 Im a little confused as to what you mean here. You have actually added it twice on the page, so it would indeed show twice. The rotation is for when you set it to show on a standard ad location.
Hisashi Posted March 20, 2023 Author Posted March 20, 2023 (edited) 1 hour ago, Marc Stridgen said: Im a little confused as to what you mean here. You have actually added it twice on the page, so it would indeed show twice. The rotation is for when you set it to show on a standard ad location. Maybe I didn't explain it right. Let's create an example, I have a code that displays an ad every "X" topics (let's assume it's 3). KEY: {advertisement="title_topic"} Now let's assume that I have 4 active ads. The problem is, out of these 4 ads, the system may end up showing an ad repeatedly as it is random. Is it possible to force it not to duplicate an ad? Edited March 20, 2023 by Hisashi
Jim M Posted March 20, 2023 Posted March 20, 2023 Please keep in mind that the rotation is per page load, not per location iteration. Therefore, if you have the same custom ad location on your page, it will indeed show the same ad. You would need to have 3 ad locations if you want to show 3 different rotated ads.
Recommended Posts