Converting Related Posts to Matched Content Ads
Note:
This article is no longer relevant because in the latest update an ad slot has been provided for Matched Content Ads, but this article can only be applied to the AMP version of the template
Brief Description of Matched Content
Matched Content in Indonesian means suitable or appropriate content, which is a Google Adsense feature that allows you to display ads along with articles related to your blog. These ads automatically adjust the appearance of your site so that it looks unified and unobtrusive like other adsense ads.
This new Google Adsense feature will make it easy for you to easily display relevant related posts on your blog, this is so that visitors linger on your blog because they are interested in your other posts.
Another advantage of this type of advertising is Google’s advanced algorithm that displays posts that are more relevant to what your visitors are looking for.
How do I get Matched Content ad units?
It’s a shame this Matched Content ad unit feature is only available for websites that already meet certain traffic requirements. Not all sites get this ad unit and it is not clear what the minimum number of blog visitors is to adapt this ad unit.
Tutorial on Changing Related Post into Matched Content
If your blog is worthy of getting matched content ads or what is commonly called related article ads and wants to apply it to this template, the method is very easy.
First, in Edit HTML, look for the code below:
<b:includable id='post-adrelated' var="post"> <div class="related-posts" id='related-ad'> <div class="related-ads"/> </div></b:includable>// Tambahkan kode iklan Anda pada bagian yang sudah ditandai
Then look for the code below again:
<b:include cond='data:view.isPost and !data:view.isPreview and data:view.url != data:view.url params { amp: "1" }' data="post" name="
The code above automatically changes the article widget related to matched content ads, but if you want to keep the article widget related to this template, please follow the steps below:
What if you want to add matched content ads right below the related article?
The method is the same as above, it’s just that in the second part you don’t need to change anything. Just add the code as below just below the code in the second part:
// Sebelum<b:include cond='data:view.isPost and !data:view.isPreview and data:view.url != data:view.url params { amp: "1" }' data="post" name="post-relatedIn"/>// Tambahkan kode baru tepat dibawahnya menjadi seperti dibawah ini<b:include cond='data:view.isPost and !data:view.isPreview and data:view.url != data:view.url params { amp: "1" }' data="post" name="post-relatedIn"/><b:include cond='data:view.isPost and !data:view.isPreview' data="post" name="post-relatedAd"/>