This article is also available in:

How to add an ad tag to <head> section in Blogger platform

Paste your EZmob code into your Blogger theme just above </head>. Note: blogspot.com addresses can't be validated. Only a Blogger blog on a custom domain can be validated and receive premium demand.


Before you start



Copy your ad code


  1. In the EZmob dashboard, open Sites & Placements → Your Placements.
  2. Click the code icon (View Script) on the placement.
  3. Click Copy Script.


Add the code to the <head> section


  1. In Blogger, open Theme.
  2. Click the arrow next to Customize and select Edit HTML.
  3. Click inside the editor, press Ctrl + F (Cmd + F on Mac) and search for </head>.
  4. Paste the code on the line just above </head>.
  5. Click Save.


Use the same steps to add your site's Validation Code, then click Validate in EZmob.


Header Bidding banner


The Header Bidding code ends with <div id="container1"></div>, which marks where the banner shows.


  1. Paste the code without that <div> above </head>, as described above.
  2. In Blogger, open Layout and click Add a Gadget in the sidebar area.
  3. Choose HTML/JavaScript, paste <div id="container1"></div> into the content field and click Save.


Good to know


  • If you change or reset your theme, add the code again.
  • Test your blog in a private window with ad blockers off.


Screenshots


  • Screenshot: Blogger Theme, Customize menu with Edit HTML highlighted
  • *Screenshot: Blogger HTML editor, code pasted above *



Updated on: 26/09/2026

Was this article helpful?

Share your feedback

Cancel

Thank you!