This article explains how you can integrate Adcash script with Blogger. Blogger is a blog-publishing service that allows multi-user blogs with time-stamped entries. There are 2 easy options for integrating the publisher's script. 

You can see our Blogger script integration tutorial here:


Integration steps:

  1. Submit your website for validation in Adcash's publisher panel.
  2. After it's validated create a zone for your website with the intended format.
  3. When you've created a zone for your website, a JavaScript code will be provided that you should insert in your website.


First option: Placing the script in the Blogger Layout Gadget

How to:

  • Open your Blogger Admin Dashboard
  • Select Layout

  • Click on Add Gadget
  • Locate and add HTML/JavaScript gadget

  • Take the JS script from the Adcash publisher panel and insert it into the code box.

Exception:

  • For Native ads, you should integrate the JavaScript tag and the div into the same code box:

  • For Push Notifications, create file sw.js with the following content and upload it to your webroot folder. Make sure it's accessible at https://xxxxxxxxxxxx/sw.js

  • Enter a title (optional)
  • Tick the box to make the gadget visible
  • Press save
  • Drag and drop the new gadget to where you want it to appear

  • Click on Save arrangement

NB! If you also have a mobile version for your blog, you'll need to enable the gadget specifically for that too. Also, make the gadget visible.


Second option: Place the script inside a post

How to: 

  • Select Posts

  • Click on Add New Post 
  • Switch into HTML mode

  • Take the JS script from the Adcash publisher panel and insert it into the code box.

Exception:

  • For Native ads, you should integrate the JavaScript tag and the div into the same code bo
  • For Push Notifications, create file sw.js with the following content and upload it to your webroot folder. Make sure it's accessible at https://xxxxxxxxxxxx/sw.js
  • Switch back to Compose mode to continue editing your article. 


Please note:

Don't place the script inside a compose mode, posting might let you see the advertisement within the post editor. However, it might also show a blank box or a blank line instead.