How to Install Google AdSense New Feature “In-Feed Ads”

vDVoC
hi to all, here am sharing very ussefull information about latesst google adense update that the installation of the latest features of Google AdSense, which features In-Feed Ads ad units that can be installed on the blog. This ad unit is quite interesting, because it will be installed between the list of articles following the form of customizable post layouts.

(adsbygoogle = window.adsbygoogle || []).push({}); vDXao



Next step, go to Blogger dashboard> Themes> Click the Edit HTML button> Find the code below
//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js
(adsbygoogle = window.adsbygoogle || []).push({});

code below

<b:loop3 values='data:posts' var='post'>


Add index='x'in it to be like this

<b:loop values='data:posts' var='post' index='x'>


Note: 

Add index='x'only to the code <b:loop values='data:posts' var='post'>in this code

<b:includable id='main' var='top'>...</b:includable>


Next look for this code


Add the code below just below the code in the step above




YOUR CODE SCRIPT NATIVE ADS

</b:if>
<b:if cond='data:x==3'>

YOUR CODE SCRIPT NATIVE ADS

</b:if>
</b:if>


Then the result will be like this

...

<b:if cond='data:blog.pageType != &quot;static_page&quot; and data:blog.pageType != &quot;item&quot;'>
<b:if cond='data:x==1'>

YOUR CODE SCRIPT NATIVE ADS

</b:if>
<b:if cond='data:x==3'>

YOUR CODE SCRIPT NATIVE ADS

</b:if>
</b:if>


Replace YOUR CODE SCRIPT NATIVE ADS with the In-Feed Ads ad code, save the template.

//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js
(adsbygoogle = window.adsbygoogle || []).push({});

About the Author

Jervie David Montejar
Pinoy Blogger, developer, foodie, self-proclaimed photographer and big anime and otaku fan. Likes RPG and action video games.

Be the first to comment on "How to Install Google AdSense New Feature “In-Feed Ads”"

Leave a comment

Your email address will not be published.


*


This site uses Akismet to reduce spam. Learn how your comment data is processed.