-->

How to Install Google AdSense In-Feed Ads in the center of the blogspot home page

8 years ago

After some time rarely update on this blog on this occasion Arlina Design will share the installation of the latest features of Google AdSen...

After some time rarely update on this blog on this occasion Arlina Design will share 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.
Install+AdSense+Ads+in+the+center+of+the+blogspot+home+page
Install AdSense Ads in the center of the blogspot home page


For those who want to add this feature can you follow the following simple steps.

How to Install Google AdSense In-Feed Ads

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
Next+select+the+in-feed+ads
In the next step please select one type of display in accordance with your blog
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
Cara%252BMemasang%252BIn-Feed%252BAds%252BGoogle%252BAdSense%252B3
When finished performing the ad display settings, click the SAVE AND GET CODE button
Cara%252BMemasang%252BIn-Feed%252BAds%252BGoogle%252BAdSense%252B4
Next step, go to Themes Blog dashboard> Click the Edit HTML button> Search code below
<b:loop values='data:posts' var='post'>
Add index = 'x' inside it looks like this
<b:loop values='data:posts' var='post' index='x'>
Note:

Add index='x' only under <b:loop values='data:posts' var='post'> code 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 above step
<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 ADS with Ad-Feed Ads code, save the template.

No comments: