advanced-ads
Last commit date
admin
9 years ago
classes
9 years ago
includes
9 years ago
languages
9 years ago
modules
9 years ago
public
9 years ago
vendor
9 years ago
LICENSE.txt
12 years ago
advanced-ads.php
9 years ago
composer.json
11 years ago
composer.lock
9 years ago
index.php
12 years ago
readme.txt
9 years ago
readme.txt
276 lines
| 1 | === Advanced Ads === |
| 2 | Contributors: webzunft |
| 3 | Donate link:https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=5RRRCEBGN3UT2 |
| 4 | Tags: ads, ad, ad inserter, ad injection, ad manager, ads manager, ad widget, adrotate, adsense, advertise, advertisements, advertising, adverts, advert, amazon, banner, banners, buysellads, chitika, clickbank, dfp, doubleclick, geotarget, geolocation, geo location, google dfp, monetization, widget |
| 5 | Requires at least: WP 4.2, PHP 5.3 |
| 6 | Tested up to: 4.7 |
| 7 | Stable tag: 1.7.16 |
| 8 | License: GPLv2 or later |
| 9 | License URI: http://www.gnu.org/licenses/gpl-2.0.html |
| 10 | |
| 11 | Manage and optimize your ads and ads performance with support for AdSense, ad injection, ad widget, and ad rotation. |
| 12 | |
| 13 | == Description == |
| 14 | |
| 15 | Advanced Ads is a simple ad manager made by a publisher for publishers. Based on my experience delivering millions of ads per month I built this advertising plugin as a powerful, but light weight solution to not only manage and insert banners in WordPress, but to test and optimize them as well. |
| 16 | |
| 17 | [Full Feature List](https://wpadvancedads.com/features/). |
| 18 | |
| 19 | = create and manage ads = |
| 20 | |
| 21 | * create a banner is as easy as creating a post |
| 22 | * group ads to create ad rotations |
| 23 | * create drafts of advertisements only visible to logged in users |
| 24 | * set a date for when to publish the ad |
| 25 | * sell ads on your website with the [Selling Ads add-on](https://wpadvancedads.com/add-ons/selling-ads/) |
| 26 | * import / export ads and settings |
| 27 | * wizard to quickly create and place simple ads |
| 28 | |
| 29 | = ad types = |
| 30 | |
| 31 | choose between different ad types that enable you to: |
| 32 | |
| 33 | * insert code for ad and affiliate networks (e.g., AdSense, Chitika, Amazon, BuySellAds, DoubleClick) |
| 34 | * dedicated support for Google AdSense banners |
| 35 | * display images and image banners |
| 36 | * use shortcodes within ads (to also deliver advertisements from other ad plugins like AdRotate or Simple Ads Manager) |
| 37 | * create content rich ads with the tinymc editor |
| 38 | * use flash file advertisements including a fallback – included in [Pro](https://wpadvancedads.com/add-ons/advanced-ads-pro/) |
| 39 | * ad group to allow ads from the same group to share conditions and settings |
| 40 | |
| 41 | = display ads = |
| 42 | |
| 43 | * auto inject banner (see _ad injection_ below) |
| 44 | * display advertising in template files (with functions) |
| 45 | * display advertising in post content (with shortcodes) |
| 46 | * ad widget for sidebars and widget areas |
| 47 | * display ad groups based on customizable ad weight |
| 48 | * use placements in your theme to insert ads and ad groups in template files without coding |
| 49 | * disable all ads on individual single pages |
| 50 | * set start time and expiry date for advertising |
| 51 | * display multiple ads from a banner group (ad blocks) |
| 52 | * define the order of ads from an ad group and allow default ads |
| 53 | * display a label, e.g. “Advertisements” above each ad |
| 54 | * compatible with site builders: SiteOrigin |
| 55 | |
| 56 | = display conditions = |
| 57 | |
| 58 | show ads based on conditions like |
| 59 | |
| 60 | * individual posts, pages and other post type |
| 61 | * post type |
| 62 | * posts by category, tags, taxonomies |
| 63 | * author |
| 64 | * archive pages by category, tags, taxonomies |
| 65 | * special page types like 404, attachment and front page |
| 66 | * hide ads on secondary queries (e.g. posts in sidebars) |
| 67 | * display or hide banners within the post feed |
| 68 | |
| 69 | global conditions: |
| 70 | |
| 71 | * disable all ads in the frontend (e.g. when your ad network breaks down) |
| 72 | * disable all ads on 404 pages (e.g. AdSense doesn’t allow that) |
| 73 | * disable all ads on non-singular pages |
| 74 | * disable all ads in secondary queries |
| 75 | * disable all ads in the feed |
| 76 | * hide ads from bots and web crawlers |
| 77 | |
| 78 | = visitor conditions = |
| 79 | |
| 80 | display ads by conditions based on the visitor. [List of all visitor conditions](https://wpadvancedads.com/manual/visitor-conditions/) |
| 81 | |
| 82 | * display or hide a banner by device: mobile and tablet or desktop |
| 83 | * display or hide a banner for logged in visitors |
| 84 | * hide advertising from logged in users based on their role |
| 85 | * advanced visitor conditions: previous visited url (referrer), user capability, browser language, browser and device, url parameters included in [Pro](https://wpadvancedads.com/add-ons/advanced-ads-pro/) |
| 86 | * display ads by geo location with the [Geo Targeting add-on](https://wpadvancedads.com/add-ons/geo-targeting/) |
| 87 | * display ads by browser width with the [Responsive add-on](https://wpadvancedads.com/add-ons/responsive-ads/) |
| 88 | |
| 89 | = ad injection | placements = |
| 90 | |
| 91 | Placements to insert ads in pre-defined positions in your theme and content. [List of all placements](https://wpadvancedads.com/manual/placements/) |
| 92 | |
| 93 | * ads after any given paragraph or headline in the post content |
| 94 | * ads at the top of the post content |
| 95 | * ads at the bottom of the post content |
| 96 | * ads before closing `</head>` tag |
| 97 | * ads page footer |
| 98 | * test placements against each other with [Pro](https://wpadvancedads.com/add-ons/advanced-ads-pro/) |
| 99 | * many more ad inserters with [add-ons](https://wpadvancedads.com/add-ons/) |
| 100 | |
| 101 | = ad networks = |
| 102 | |
| 103 | The Advanced Ads ad manager is compatible with all ad networks and banners from affiliate programs like Google AdSense, Chitika, Clickbank, Amazon, and also Google DoubleClick (DFP). |
| 104 | You can also use it to insert additional ad network tags into header or footer of your site without additional coding. |
| 105 | |
| 106 | = best support for mobile devices = |
| 107 | |
| 108 | * display ads for mobile and tablets or desktop only |
| 109 | * display responsive image ads (WordPress 4.4 and later) |
| 110 | * ads for specific browser sizes only using [Responsive Ads](https://wpadvancedads.com/add-ons/responsive-ads/) |
| 111 | * insert ads on AMP pages with [Responsive Ads](https://wpadvancedads.com/add-ons/responsive-ads/) |
| 112 | |
| 113 | = Google AdSense = |
| 114 | |
| 115 | * switch sizes of an ad |
| 116 | * switch between normal and responsive ads |
| 117 | * optional limit to 3 AdSense banners according to AdSense terms of service |
| 118 | * hide AdSense advertisements on 404 pages by default (to comply with AdSense terms) |
| 119 | * insert Page-Level ads code globally |
| 120 | * assistant for exact sizes of responsive ads with the [Responsive add-on](https://wpadvancedads.com/add-ons/responsive-ads/) |
| 121 | |
| 122 | = ad blocker = |
| 123 | |
| 124 | * basic features to prevent ad blocks from being removed by AdBlock and co |
| 125 | * prevent ad blockers from breaking sites where plugin scripts are running |
| 126 | |
| 127 | = based on WordPress standards = |
| 128 | |
| 129 | * integrated into WordPress using standards like custom post types, taxonomies and hooks |
| 130 | * easily customizable by any WordPress plugin developer |
| 131 | |
| 132 | Learn more on the [plugin homepage](https://wpadvancedads.com). |
| 133 | |
| 134 | Localizations: English, German, French, Spanish, Dutch, Italian, Portuguese, Vietnamese |
| 135 | |
| 136 | > <strong>Add-Ons</strong> |
| 137 | > |
| 138 | > * [Advanced Ads Pro](https://wpadvancedads.com/add-ons/advanced-ads-pro/) – powerful tools for ad optimizations: cache-busting, more placements, etc. |
| 139 | > * [Selling Ads](https://wpadvancedads.com/add-ons/selling-ads/) - allows you to sell ads on your website fully automated, including payments and advertiser profiles. |
| 140 | > * [Geo Targeting](https://wpadvancedads.com/add-ons/geo-targeting/) – display ads based on geo location of the visitor |
| 141 | > * [Tracking](https://wpadvancedads.com/add-ons/tracking/) – ad tracking and statistics |
| 142 | > * [Responsive Ads](https://wpadvancedads.com/add-ons/responsive-ads/) – create mobile ads or ads for specific browser sizes |
| 143 | > * [Sticky Ads](https://wpadvancedads.com/add-ons/sticky-ads/) – increase click rates with fixed, sticky, and anchor ads |
| 144 | > * [PopUp and Layer Ads](https://wpadvancedads.com/add-ons/popup-and-layer-ads/) – display ads and other content in layers and popups |
| 145 | > * [Slider](https://wpadvancedads.com/add-ons/slider/) – create a simple slider from your ads |
| 146 | |
| 147 | If you have problems with Advanced Ads, please reach out to [our support](https://wpadvancedads.com/support/). |
| 148 | |
| 149 | == Installation == |
| 150 | |
| 151 | How to install the plugin and get it working? |
| 152 | |
| 153 | = Using The WordPress Dashboard = |
| 154 | |
| 155 | 1. Navigate to the 'Add New' in the plugins dashboard |
| 156 | 2. Search for 'advanced ads' |
| 157 | 3. Click 'Install Now' |
| 158 | 4. Activate Advanced Ads on the Plugin dashboard |
| 159 | |
| 160 | = Uploading in WordPress Dashboard = |
| 161 | |
| 162 | 1. Navigate to the 'Add New' in the plugins dashboard |
| 163 | 2. Navigate to the 'Upload' area |
| 164 | 3. Select `advanced-ads.zip` from your computer |
| 165 | 4. Click 'Install Now' |
| 166 | 5. Activate Advanced Ads in the Plugin dashboard |
| 167 | |
| 168 | = Using FTP = |
| 169 | |
| 170 | 1. Download `advanced-ads.zip` |
| 171 | 2. Extract the `advanced-ads` directory to your computer |
| 172 | 3. Upload the `advanced-ads` directory to the `/wp-content/plugins/` directory |
| 173 | 4. Activate Advanced Ads in the Plugin dashboard |
| 174 | |
| 175 | == Displaying Ads == |
| 176 | |
| 177 | You can use functions and shortcodes to display ads and ad groups. |
| 178 | |
| 179 | The integers in this example are the IDs of the elements. |
| 180 | |
| 181 | Use these shortcode to insert an ad or ad group into your post/page. |
| 182 | |
| 183 | `[the_ad id="24"]` |
| 184 | `[the_ad_group id="5"]` |
| 185 | |
| 186 | Use these functions to insert an ad or ad group into your template file. |
| 187 | |
| 188 | `<?php the_ad(24); ?>` |
| 189 | `<?php the_ad_group(5); ?>` |
| 190 | |
| 191 | In addition to directly displaying ads and groups you can define ad placements and assign either an ad or group to them. |
| 192 | |
| 193 | `[the_ad_placement id="header-left"]` |
| 194 | `<?php the_ad_placement('header-left'); ?>` |
| 195 | |
| 196 | == Frequently Asked Questions == |
| 197 | |
| 198 | = Is there a revenue share? = |
| 199 | |
| 200 | There is no revenue share. Advanced Ads doesn’t alter your ad codes in a way that you earn less than you would directly including the ad code in your template. |
| 201 | |
| 202 | == Screenshots == |
| 203 | |
| 204 | 1. Create an ad almost like you would create an article or page. |
| 205 | 2. Align the ad and set a margin to other elements |
| 206 | 3. Choose from various conditions where and where not to display your ad. |
| 207 | 4. Placements that let you inject ads anywhere into your site without coding (6 in Advanced Ads + 9 through add-ons) |
| 208 | |
| 209 | == Changelog == |
| 210 | |
| 211 | = 1.7.16 = |
| 212 | |
| 213 | * added helpful links when download of an add-on failed |
| 214 | * set active license key fields to readonly |
| 215 | * bundles add-on related functions into one class |
| 216 | * updated Spanish translation |
| 217 | * added Vietnamese translation |
| 218 | |
| 219 | = 1.7.15 = |
| 220 | |
| 221 | * allow Unlimited Ad Injection setting to specify the number of posts in the loop to show ads |
| 222 | * allow to override specific options in functions and shortcodes |
| 223 | * added feedback form on deactivation |
| 224 | * fixed Visitor Conditions connector being saved wrongly first |
| 225 | * fixed ads not appearing on AMP pages |
| 226 | |
| 227 | = 1.7.14 = |
| 228 | |
| 229 | * added `ADVANCED_ADS_ENABLE_REVISIONS` constant to allow revisions for ads |
| 230 | * fixed wrong output after using quick edit in the ads list |
| 231 | * fixed custom position logic to not leave critical errors when localStorage is disabled |
| 232 | * fixed update checks on every admin page impression due to W3TC object cache breaking transients |
| 233 | |
| 234 | = 1.7.13 = |
| 235 | |
| 236 | * fix for class name sensitive systems and Tracking autoloader |
| 237 | |
| 238 | = 1.7.12 = |
| 239 | |
| 240 | * better highlighting of AND and OR connectors in display and visitor conditions |
| 241 | * removed general conditions as default from display conditions |
| 242 | * highlighted video and manual links for conditions |
| 243 | * show is_home and is_front_page as the same item in ad debug mode |
| 244 | * show warning if plain ad code contains HTTP, but the website is using HTTPS |
| 245 | * added notice if add-on licenses expired to plugin page |
| 246 | * changed "mobile device" into "device" condition with better option descriptions (mobile + tablet | desktop) |
| 247 | * changed "Post Content" placement label into "Content" since it is used for all post types |
| 248 | * hide manage ads link in dashboard widget from users who can not edit ads |
| 249 | * fixed dependency issue with Tracking add-on |
| 250 | * fixed dependency issue with AJAX cache-busting |
| 251 | * fixed missing scripts for ad block disguise |
| 252 | |
| 253 | = 1.7.11 = |
| 254 | |
| 255 | * added filter to change General display conditions set |
| 256 | * set `ADVANCED_ADS_AD_DEBUG_FOR_ADMIN_ONLY` in order to allow only admins to see ad debug mode |
| 257 | * introduced `advanced-ads-output-final` filter |
| 258 | * only check once per day for add-on updates |
| 259 | * fixed one support link |
| 260 | * fixed multiple add-on update checks |
| 261 | * fixed error message when ad group is empty |
| 262 | |
| 263 | = 1.7.10 = |
| 264 | |
| 265 | * highlight ads in the frontend through the "Ad Health" options |
| 266 | * check if PHP DOM module is enabled and warn in "Ad Health" if not |
| 267 | * added DFP debug link to "Ad Health" |
| 268 | * added button to check Add-On license keys for changes |
| 269 | * extended ad debug mode with more information |
| 270 | * restructured support page to reach helper more quickly |
| 271 | * fixed header ad bug |
| 272 | |
| 273 | [Changelog Archive](http://wpadvancedads.com/codex/changelog-archive/) |
| 274 | |
| 275 | == Upgrade Notice == |
| 276 |