Direct Ad Shortcode
Ad with dynamic PHP. The number should not change on page reload since the site is cached.
[the_ad id=”205″]
Direct Group Shortcode (Randon 50:50)
Below is a random ad group with two ads directly added to the page using a shortcode. This means, the ad should not change since the site is cached.
[the_ad_group id=”7″]
Without Cache-Busting
A placement with a random group that is not using cache-busting. This meant, the same ad keeps showing when reloading the page.
[the_ad_placement id=”test-plain-text-without-cache-busting”]
With AJAX Cache-Busting
Same group, but implemented with AJAX cache-busting. Refresh the page a couple of times to see different ads.
The random number in the one ad should also change.
[the_ad_placement id=”test-plain-text-with-ajax-cache-busting”]
impressions now: [the_ad_impressions id=”201″]
impressions now: [the_ad_impressions id=”205″]
With Passive Cache-Busting
Should use AJAX Cache-Busting when the group is enabled and PHP inside one of the ads.
Should use Passive Cache-Busting if no PHP-based ads are used.
[the_ad_placement id=”test-plain-text-with-passive-cache-busting”]
impressions now: [the_ad_impressions id=”201″]
impressions now: [the_ad_impressions id=”205″]