How To Setup Google Adsense Native InArticle Ads In Blogger


Google AdSense recently lunched Adsense Native InArticle Ads. AdSense is best and most paying largest ad networks on the internet. AdSense provide responsive ads and are also Google Adsense are trying to make their network better and user-friendly.

In this sense, Google Adsnese release a new type of ad called Adsense Native InArticle Ads. This ad is also responsive. By adding this ad a lot of ads will show in one ad which will improve your AdSense earnings. Native In-article ad is very useful for both advertisers and for publishers.


Beta Adsense Native InArticle Ads was also recently launched. All publishers can add AdSense In-article ad to their blog or website. Some publishers cannot use In-article ads because they are not eligible yet. But after a month’s all will be settled.

Read Also : How To Get An Approved Nigeria Google AdSense

Google AdSense in-article ads is meant to display in the middle of blog posts or middle of body tag in html theme. For instance.

<head>
<title>
<body> 
In-article ads here 
</body>
</title>
</head> 

Above is an excerpt on adding adsense In-article ads in your blogger blog even if not in middle of blog posts but the ads must not exceed body tag

How To Get Started

==> Sign in to Adsense.
==> In the menu section, click "My Ads" >> "Ad Units" page will open.
==> Click on “+New ad unit
==> Choose Adsense Native inarticle ads.
==> Click on Inarticle ads. Some option will appear.
==> On these option, customize Adsense native inarticle ads, change fonts, style, background color etc. if you want to customize then you can by clicking on each options.
==> Add your ad Title and Save and click on Get code Button. Copy the code.

Don't still understand how to create ad code, read more here.


Adding Code in Middle of Blogger Blog Posts

Sign in to your Blogger Dashboard

In the left menu, click "Theme" >> "Edit Html".
Code area will open now click in the code area and Press Ctrl+F form your keyboard.

Now Find the below tag.
<data:post.body/>

Replace the code with below code

<div expr:id=’”adsmiddle1″ + data:post.id’></div>
<b:if cond=’data:blog.pageType == “item”‘>
<b:if cond=’data:blog.pageType != &quot;static_page&quot;’>
<div style=”clear:both; margin:10px 0″>
<center>
<!– Paste Your AdSense Native InArticle Ad code–>
</center>
</div>
</b:if>
</b:if>
<div expr:id=’”adsmiddle2″ + data:post.id’>
<data:post.body/>
</div>
<script type=”text/javascript”>
var obj0=document.getElementById(“adsmiddle1<data:post.id/>”);
var obj1=document.getElementById(“adsmiddle2<data:post.id/>”);
var s=obj1.innerHTML;
var r=s.search(/\x3C!– adsense –\x3E/igm);
if(r>0) {obj0.innerHTML=s.substr(0,r);obj1.innerHTML=s.substr(r+16);}
</script>

Now replace <!– Past Here Native InArticle Ad code–> with your google adsense In-article ad code.

Click on "SaveTheme".

For Old blogger theme or themes that are not blogger recommended, in the html theme, you may find tag (<data:post.body/>) not once. But, try the second or third tag replace.

Now edit any post in your blogger blog or create a new post. In the post page, insert below adsense tag where you want to surf Adsense Native InArticle Ads.

<!– adsense –>

That’s All you did it.

I hope this helps.

Cheers!


Recommended : 

==> How To Create AdSense Native In-article ads
==> How To Add AdSense Ad Unit Codes In Middle Of Post On Blogger New Themes





Subscribe To Our Newsletter
Follow Us On Twitter and Instagram

Comments