You may choose one of two versions of Anti-Adblock codes - Javascript and PHP.
If your hosting provider supports PHP, we strongly recommend to use PHP version of Anti-Adblock code. Otherwise, you'll be forced to update the JS-code manually every time when new domains get banned by AdBlock.
Integrating Javascript Anti-Adblock ad channel code
Javascript code can be used on any hosts (including free services), but need to be replaced manually every time after getting our domains in Adblocking software filters (at least once per week).
Copy the Javascript code
Paste it to the source code of your website pages right after the tag.
Do not use Standard & Anti-Adblock code on the same page! Anti-Adblock code works for all users.
Integrating Javascript Anti-Adblock ad channel code to a Blogger / Blogspot website
- Go to your Blogger/Blogspot admin panel and select "Layout" and click “+ Add a Gadget” to any part of your layout section
- Choose HTML / JavaScript gadget from the list
- Copy Anti-Adblock JS code from your Publisher's account
- Paste the code into your gadget's text area as shown below and click Save
Integrating PHP Anti-Adblock ad channel code
It would need some development skills to implement such ad code, but it provides you with unlimited anti-adblock support for an ad channel without need to replace your code.
Integrating PHP Anti-Adblock ad channel code into WordPress based site
Such method works only on WordPress based sites located on paid hostings. If you want to integrate our codes on a free-hosting based site - contact WordPress support team for an assistance.
There are two methods to install Anti-Adblock ad channel code into WordPress based site through our official plugin (recommended) or manually inserting code via Theme Editor.
Enable and manage ads with official plugin for Wordpress
- Download and install the PropellerAds Official Plugin from WordPress repository (or from our hosting).
- Activate the plugin through the "Plugins" in the “Appearance” section in WordPress
- Go to the Sites section, choose your WordPress based website, then click on the Create zone button
While creating an Onclick ad channel make sure that you have ticked the “Monetize visitors with AdBlocking software option” below.
4. Select the Wordpress integration mode and copy the Anti-Adblock Token & the Zone ID
5. Go to the PropellerAds plugin settings screen and enable the option “Show ads for visitors with ad blockers” (The "Allow ads on all pages" option should be ticked as well)
6. Insert your Anti-Adblock Token & Zone ID and save your changes.
Integrating PHP Anti-Adblock ad channel code into WordPress site manually
- Upload the PHP file __AntiAdBlock.php containing your onclick ads code with anti-adblock support to your active WordPress theme directory /wp-content/themes/ACTIVE_THEME
- Login to your Wordpress dashboard, go to Appearance and select Editor
- Choose Theme Header (header.php) from the files list
- Insert this line right below tag
If you are experiencing any problems with integration - please contact support from your account.
沒有留言:
張貼留言
注意:只有此網誌的成員可以留言。