Support » Plugin: Ad Injection » [Plugin: Ad Injection] Widget – HOW-TO inject multiple ad code snippits at random?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author reviewmylife

    (@reviewmylife)

    Hi exploremarsgreg, I’ve written about how to do this in the ‘Randomly picking many adverts from a pool of ads’ section of http://www.advancedhtml.co.uk/advert-by-wordpress-post-category/

    You’ll have to put a bit of PHP code into the ad box and then store all the ads as txt files on your web server.

    You rock, RML.

    I’m waiting to get the advertising specifics from our management team.

    Cheers,
    Greg[ Signature moderated. ]

    Does this also apply to injecting 2 different ads in between paragraphs in posts and pages? Because I have it injecting 2 ads but both are always the same ads. I refresh but it gives me another ad, just injected 2 times. Is it designed to work that way? If so, would someone really want the same ad to display multiple times on the same page?

    How do I make it give me 2 (or more) random ads from my 5 ad codes?

    Plugin Author reviewmylife

    (@reviewmylife)

    Hi Doland, It might surprise you but most people (90%+) want the same ad code in each position! This is because most people use AdSense. The same AdSense snippet is used for each position, but the JavaScript code gets a different ad.

    You can get closer to the behaviour you want by clicking on the ‘Re-select an ad for each position on post’. This will randomly re-select an ad for each position. There’s no guarantee it will pick a different one though!

    ahh, that explains it about using Adsense. And I will try the other tip. Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Plugin: Ad Injection] Widget – HOW-TO inject multiple ad code snippits at random?’ is closed to new replies.