Home > apps > How to Install Google AdSense In-Feed Ads

How to Install Google AdSense In-Feed Ads

Appsgadget.com
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

If you wanna to add this awesome adsense  feature in your website/blogger.. pleas do follow simple step carefully…
First, open your Google Adsense dashboard. Click the My ads> Content> Ad units> Then click the New ad unit button

Next select the in-feed ads
In the next step please select one type of display in accordance with your blog
After selecting one type of display, in the next step you need to make adjustments to the display of the ad unit
When finished performing the ad display settings, click the SAVE AND GET CODEbutton
Next step, go to Blogger dashboard> Themes> Click the Edit HTML button> Find the code below
<b:loop 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 code <b:loop values='data:posts' var='post'>that is in this code

<b:includable id=’main’ var=’top’>…</b:includable>
Next look for this code
<div class=’post-outer’>
Add the code below just below the code in the step above
<b:if cond=’data:blog.pageType != &quot;static_page&quot; and data:blog.pageType != &quot;item&quot;’><b:if cond=’data:x==1′><div class=’post’>YOUR CODE SCRIPT NATIVE ADS</div></b:if><b:if cond=’data:x==3′><div class=’post’>YOUR CODE SCRIPT NATIVE ADS</div></b:if></b:if>
Then the result will be like this
<div class=’post-outer’>…</div><b:if cond=’data:blog.pageType != &quot;static_page&quot; and data:blog.pageType != &quot;item&quot;’><b:if cond=’data:x==1′><div class=’post’>YOUR CODE SCRIPT NATIVE ADS</div></b:if><b:if cond=’data:x==3′><div class=’post’>YOUR CODE SCRIPT NATIVE ADS</div></b:if></b:if>

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

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

Leave a Reply

Your email address will not be published. Required fields are marked *