Skip to main content

How To Create and Setup AdSense Matched Content Ad Unit and Fix Script Error

After custom ad unit size, custom AdSense search engine, responsive ad unit and  Page Level Ads, Google introduced Matched Content feature to display or promote related post of a blog / website to encourage readers to view more pages of a site.

This two ads type was introduced to increase contextual advertising as well as to compete with other advertising networks like Taboola. Today, I am going to show you how to create this ad unit and how to use it to your blogger blog. Read also Google Web Master Tools Complete Guide.

What is Matched Content

It is a new feature developed by Google to promote articles of a website / blog to its site visitors. It helps site visitors to find the contents that they are interested in. This feature is just like a related post widget to engage site visitors on a website to spent more time instead of leaving the page. See the below sample screenshot of my blog. Read also : How to fix HTTP and HTTPS Mixed Content Errors.


How to check eligibility for Matched Content

This feature is not yet available for all publisher. A website must meet Google's specific minimum requirements for traffic volume and number of unique pages to be eligible to use this new feature. Once your website is eligible, you will see Matched Content feature under +New ad unit. Although there is a way to check the eligibility of a website. Read also : How to Setup Page Level Ads and Fix Script Error.

Step 1. At first login to AdSense account.
Step 2. Click on Settings / gear icon located left hand side of the page.
Step 3. After that click My Sites and then click Matched Content.
Step 4. Now you will able to see a list of websites that eligible for matched content. See the below screenshot as sample image. Read also Best SEO tools to analyze a website.

How to Create Matched Content Ad Unit

Once your website is eligible for Matched Content then you can easily create Matched Content ad unit to add this feature to your website. After getting your website approved for Matched Content perform the below steps carefully to add this feature to your blogger blog. Read also : How to submit Blogger Sitemap to search engines.

Step 1. At first login to Google AdSense.
Step 2. Click My ads and then +New ad unit.
Step 3. Now you will see two ads type Text & display ads and Native / Matched content. Click Native / Matched content. Read also : How to create custom Search Engine and Make Money from it.


Step 4. If you have multiple websites eligible for matched content then select the desired site from the drop-down list.  After that enter the Ad unit name Click SAVE AND GET CODE. If you wish you can customize the Style and Size of the ad unit. Read also : How to make Money from Google Apps.


Step 5. Now click COPY CODE SNIPPET to copy the code and then click I'M DONE button. Read also : How to find high paying long tail keywords.

In this way you can create matched content ad unit. Now you need to add this matched content ad unit code to your website / blog.

How to Add Matched Content Ad Unit to Blogger

After creation of the matched content ad unit, you need to add this code to your website very carefully so that it appears just below at the end of a post. Now lets start how to add this matched content code to a blogger website. Read full tutorial How to monetize YouTube video that matched third party content.


Step 1. Login to your blogger dashboard.
Step 2. Now click Template and then click Edit HTML.
Step 3. Click anywhere inside the code and press Ctrl+F on the keyboard to get search box inside the code. Now type <data:post.body/> in the search box and hit enter on the keyboard. You will get this code several times but you have to move to the last one. Read also : How to make Money Online from Home.

Step 4. Just below <data:post.body/> paste the matched content code and then just below the matched content code add the below code so that matched content appears only for website posts not for the homepage.

<b:if cond='data:blog.pageType == &quot;item&quot;'>
</b:if>


Most of the website have share buttons at the end of the website post. In that case you need to paste the code above the two lines code and just below the share button code so that it appears right after the share buttons. Read also : How to convert photo into cartoon and sketch image.

 
N.B : If you use custom related post widget you then just need to disable the summary script of the existing code as I have shown in the above image. Otherwise. Read also : How to enable HTTPS for your blogger blog.

Step 5. Now click Save template.

How to Fix Script Error in the Template

Once you click save template button you will get  error message like below

" Error parsing XML, line 1825, column 15: Attribute name "async" associated with an element type "script" must be followed by the ' = ' character.  Hide notification "

Now to fix this issue you need to replace the async with async='' in the matched content code and then click Save template again. This time your template will be saved. Read also : How lock / track lost mobile phone and erase data remotely.

Why to Use Matched Content ad Unit

One of the prime reason of using this on your website is to increase the site's page views and time spent as a result website owners earn ad impressions, RPM and ultimately ad revenue. This is the main reason of using this feature instead of normal related post widget. Read also : Best video calling app for 2G/3G/4G mobile phone.


That's it! Does your website / blog eligible for matched content. Share your views in the comment box and appreciate me by sharing this post on social networks.



Comments

Popular posts from this blog

How To Change Default File Download Path in UC Browser

All of us known that UC browser is the most popular, fast and less data consuming mobile browser for android devices. Many of us use UC browser on daily basis on our smart phones. By default UC browser has download path to internal memory device which is /storage/sdcard0/download. sdcard0 is the built in memory or internal memory of your device. Read also : How to fix HTTP and HTTPS Mixed Content Errors.

Do you know that this default download path can be changed? Since, internal memory is fixed, and once you exceed this value you can't download more. You need to move some data from mobile memory to the external memory which is sdcard1. If you change this default path to external memory card (sdcard1), you can download more data directly to your desired directory. Read also : How to Setup AdSense Page Level Ads and Fix Script Error.

Here, I will show you, how to change this default download path from internal memory card sdcard0 to external memory card sdcard1. To do so you need to…

Calculation of Total Marks, Percentage, Division, Remarks, Maximum & Minimum Number of Students in MS Excel

In this post, I will help you to learn how to calculate total marks, percentage, division, maximum number, minimum number and remarks of students of a class very fast. At first you need to look over the above image very carefully. The above image shows the marks obtained by six students of a class.

Formula to calculate Total Marks of all students within seconds 

First you need to find out the Total Mark of a single student who is on the top of the list i.e, Mani. To calculate Total Mark of Mani, click on the Total Mark cell address of Mani i.e, H6 and then type the formula =sum(1st subject's cell address i.e, b6:last subject's cell address i.e, g6) and then press Enter on the keyboard or click anywhere on the worksheet. Here b6 and g6 are cell address of 1st subject (English) and last subject (Biology) of that student. Read also : How to Enable HTTPS for Blogger Blog.

After getting results, click on the resultant cell address of Total Mark of the 1st student i.e., Mani an…

How To Rename A WhatsApp Group

We all know that WhatsApp is the most popular messaging service for Android, BlackBerry, iPhone and for other platforms. In this post, I will show you how to rename an existing WhatsApp group. To rename an existing WhatsApp group your smartphone must have internet connection. After that you need to follow the below steps. Read also : How to track lost/stolen mobile phone and erase data remotely.


Step 1. Open WhatsApp application on your smartphone.

Step 2. After that you need to click CHATS tab and click on your group name.



Step 3. Once you click on your group name, you will able to see chat details. Now you need to click vertical dots located extremely top right corner and then click Group info. Read also : How to setup AdSense page level ads.


Step 4. Now you can easily rename your group. To rename the group just click Edit icon and then type the desired group name and click OK. Read also : How to protect your computer from WannaCry ransomware virus.


In this way you can rename a What…

Change UC Browser Default Homepage in Android Phones

We all know that Android OS operated Smartphones and Tablets are great for web browsing. Like other browsers, uc browser has a default search engine Yahoo is set for web search. UC browser provides different kind of search facilities under 5 different categories namely Web, Video, Shop, Image and APP. Read also : How to protect your computer from WannaCry ransomware virus.

In this post, I will show you how to change the default search engines of uc browser in Android devices for their 5 different categories. To do so you just need to follow the below steps. Read also : How to Enable HTTPS for Blogger Blog.

Change Default Homepage for UC Web search

Step 1. At first you need to open UC browser
Step 2. After that click Search. Follow the below image.


Step 3. Once you click Search, you will able to see the default search engine's icon for Web search like y for Yahoo, g for Google. Now you need to click that search icon. Follow the below image. Read also : How to change UC browser defaul…

How To Remove Copied Contents on Smart Phone / Android Device

We all know that UC browser is the fast and most used mobile browser in the world. Almost every mobile user used UC browser to surf internet or doing social networking. Do you know why most people use UC browser rather than other browser. I think, the perfect answer may be its compatibility feature in all kind of mobile phones. Read also : How to transfer large files without mobile data.

UC browser has lots of feature comparing to other mobile browsers. Among them, Set as Default Browser, Auto Save Form, Change Download Path, Auto Reconnect, Clipboard and many more. Lots of browser does not have many of this feature.

Let's come to the main point. We all know that what ever we copy in the computer, all the copied items are stored in the clipboard. Similarly, what ever you copy in android device or other device, all the copied items are stored in the Clipboard.  But I have noticed that Clipboard option is not available in Chrome, Opera Mini or any other application. Read also : H…

Bad Effects of Dendrite

As we all know that dendrite is a good popular adhesive and P. C. Chandra's Chemical Enterprises Pvt. Ltd. is the manufacturer of dendrite. It is broadly used in various sectors like Engineering, Automobile, Footwear, Lather Craft, Home Decor, Carpenters and also for repairing punctured tyres. It contains a substance called toluene. Toluene is a sweet smelling and intoxicating hydrocarbon which is called neurotoxin. When these intoxicants are smeared on a piece of cloth and inhaled, the user feel euphoric (high and experience a sense of invincibility). But they dissolve the membrane of the brain cell and causes hallucinations.



When I was returning from my hometown by train I had noticed at the New Jalpaiguri (NJP) train station that some children mostly rag-pickers were keeping their handkerchief / polythene on their mouth and breathing through it and some smelling their handkerchief. Some of them are were half-naked, bare feet and had a broom in their hands also. All were between…

Change SMS Storage Location in Android Device

By default all the SMS that you have got from friends and mobile operators are stored in either SIM card or phone memory. There is a limited space in the SIM card to store your SMS. If the limitation exceeds all SMS you have got is start storing in phone memory. In this post I will discuss how to change default SMS storage location from Phone memory to SIM card in Android devices. To change the SMS storage location, you just need to perform the below steps.

Step 1. At first you need to open the Messaging application from the app screen. After that, you need to touch the Menu icon i.e., the three vertical dots of top right corner and then need to touch Settings.


Step 2. SMS Settings screen opens. Here, you need to touch Text Message(SMS).


Step 3. Now you need to touch SMS Storage Location. If you use dual SIM card on your Android device then you just need to select the desired mobile operator for which you want to change the SMS storage location either from Phone memory to SIM or SIM …