AMP AdManager archived
Easy and hassle free Google Admanager amp-ad tags integration for all WordPress sites. (AMP and Non-AMP)
★ 5stars
2forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/rtcamp/amp-admanager/archive/refs/heads/master.zipFrom the readme
AMP AdManager 1.0.0
AMP ads for all WordPress sites (AMP and Non-AMP).
This plugin generates code for your ads with breakpoints for responsive display of ad with Single Request Architecture (SRA).
Works without AMP plugin as well for Non-AMP pages.
Setup
1. Set network/publisher id in the plugin settings. Dashboard AMP AdManager
2. Select Load AMP Resources for Non-AMP site to load amp-runtime and amp-boilerplate css.
Usage
Pass different ad sizes as attributes for mobile, tablet, and desktop ads. The plugin uses the width of the specified size to determine which device ad should be displayed.
1. Width equal to or more than 728 will be considered as desktop sizes eg. 980x250,970x90.
2. Width between 300 and 600 will be considered as a tablet sizes eg.320x50,300x100,468x60.
3. Width less than 300 will be considered as mobile sizes eg. 250x50,150x150.
In case of unusual sizes for desktop, tablet and mobile specific device size attribute, like
mobile-sizes for mobile.
tablet-sizes for tablet.
desk