Accelerated Mobile Pages allows for fast and unintrusive ads display, but inserting them manually can be cumbersome. weeblrAMP lets you insert ads easily and in a flexible manner
Predefined ads areas
You can use any of the AMP-supported ads providers (list is here), and display ads either before or after the main content (or use shortcode for other locations, see below)
Ads automatically inserted in content
weeblrAMP will insert ads at your command. For instance, every 3 paragraphs or after paragraphs 1, 4 and 7.
You can specify different rules for posts and pages. And as usual multiple filters let you insert ads based on:
- a post category
- its tags
- post IDs
weeblrAMP will try to be smart with paragraphs, so small ones are not counted for instance – but there is a filter for that too!
Shortcodes, wherever you need ads
But only displaying ads before or after content, or in an automatic fashion is rather limitating. And so weeblrAMP lets you use the wbamp-embed shortcode to insert ads.
Here is an example:
No ad to display on this page.
The shortcode used to display this ad is:
Without any more information, the shortcode will cause the default ad type to be displayed. But you can also specify more attributes, such as ads network to use to mix and match multiple type of ads on the same page. Here is another example with another Ads network supplier, A9:
Here is the shortcode used to display this ad:
wbamp-embed type=”ad” ad-type=”a9″ data-aax_pubname=”test123″ data-aax_size=”300×250″ data-aax_src=”302″ width=”300″ height=”250″
Using these shortcodes, you can display an ad in the exact desired location.