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.
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
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 CODE button
Next step, go to Themes Blog dashboard> Click the Edit HTML button> Search code below
![]() |
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
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 CODE button
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 != "static_page" and data:blog.pageType != "item"'>
<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
Replace YOUR CODE SCRIPT NATIVE ADS with Ad-Feed Ads code, save the template.<div class='post-outer'>...</div>
<b:if cond='data:blog.pageType != "static_page" and data:blog.pageType != "item"'>
<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>
No comments:
Post a Comment