Skip to main content

Featured Post

6 Reasons why KDP is Better than Payhip for Authors

Are you struggling in deciding between KDP and Payhip for your book selling? The short answer for you is KDP. This article will tell you why KDP is more appropriate for a writer, ebook writers, than Payhip. Well, another reader may be asking "what is your position to say so?" No problem. I have experiences in using both for a long period so I have a good position to inform you about this. Defining KDP and Payhip KDP KDP, as you may have known, stands for Kindle Direct Publishing. It is the Amazon e-book self-publishing platform that was launched in November 2007. It helps independent publishers to publish and sell their e-books and paperbacks to the world. KDP does not publish and selll all submitted books, by the way. The submissions will be reviewed for at least 24-72 hours before they are decided whether to publish or not. All books published and sold with KDP are charged from $0.09 to $200.00, depends on the length, size, and type of the book. To put it ano...

Adsterra Ads not Showing Up? Solved!

Adsterra Ads not Showing Up - Your Adsterra ads not showing up on your blog? Here is why and how to solve the problem. This issue often occurs when someone install a new template. However, the problem is not merely on the template. It could be that you misplaced the ad codes, or the template does not support the method that the ad codes implement.


Why Adsterra Ads are not Showing

There are several reason why you can’t see Adsterra ads on your page. Sometimes, some ads appear somewhere in your blog but the other ads just not showing up. My Adsterra ads also not showing up recently. It showed in the header and footer but it didn’t appear in the post, page, and sidebar.

You misplaced the ad codes

Adsterra has several ad types like popunder, vast, direct link, and ads in six different sizes. The popunder ad must be placed right in the blogger template under the <head> tag. If you put the popunder ad code in the other places, it is likely that the ad will not function.

Read also: 6 Ways to Improve BlogSpot Domain Authority

Most of the Adsterra ads can be placed in the header, footer, sidebar, and in the body of posts or pages. Modern blogger templates like Jannify, Foodify, or GNews have built-in ad placeholder which is accessible in the layout setting in the blogger dashboard. You can simply paste the ad codes in the provided HTML/JavaScript widget in the layout.

You mistype the ad codes

The next possible cause that makes Adsterra ads not showing up on your blog is because you mistyped it. Adsterra ad codes are JavaScript codes and just like other programming languages, typos can make it dysfunctional.

Fortunately, Adsterra always has your back. Turn to your Adsterra account, under the websites menu, find the ad code you want to place on your blog. Click on the code box and the code will be automatically copied to your clipboard. It is better to save your codes in a local drive so you don’t have to turn forth and back between your blog and Adsterra website.

Your template does not support the Adsterra method

Adsterra ad codes use JavaScript document.write that your blogger template may not support. You can check it by testing the code on another blogger template and see if they behave differently. When I use Fastest blogger template, the Adsterra ads showed but when I installed SEO Pro blogger template, some ads not showed especially in the sidebar, posts, and pages.

How to solve Adsterra Ads not Showing Issue

Since we are not all “blog analyst”, we don’t have to analyze what’s wrong with the blogger template we are using. What we need is to understand that the original ad code given by Adsterra are JavaScript-based. When the ad code does not work, we just need to use the HTML-based ad code.

If you look at the Adsterra original ad code, it will look like the following:

<script type="text/javascript">
atOptions = {
'key' : '00000000000000000000000',
'format' : 'iframe',
'height' : 250,
'width' : 300,
'params' : {}
};
document.write('<scr' + 'ipt type="text/javascript" src="http' + (location.protocol === 'https:' ? 's' : '') + '://www.effectivedisplayformat.com/00000000000000000000000/invoke.js"></scr' + 'ipt>');
</script>


The 0s are your unique Adsterra ad key. If you look at the code carefully, you will simply know that the code tries to create an HTML element called iframe, set the size (height and width), and set the iframe source. This javascript-based code can be “converted” into an HTML-based code that runs the same function. In other words, the above code and the below code run the same function:

<iframe src="//www.effectivedisplayformat.com/watchnew?key=00000000000000000000000" width="300" height="250" frameborder="0" scrolling="no"></iframe>


Using the HTML-based Adsterra ad code, you can see your Adsterra ads on your blog again. That is how you solve the Adsterra ads not showing issue. I have tested this code and it worked well.

Photo by Tim Gouw on Unsplash

Comments

  1. You can add a class to the iframe and use CSS media query to make it adaptable to the screen size of the user.

    ReplyDelete

Post a Comment

Popular posts from this blog

All Important Meta Tags for Blogger SEO

All Important Meta Tags for Blogger SEO - Using HTML tags properly and correctly will determine the SEO of a blog, especially those using Blogger. If in the previous article I discussed all the important HTML tags for SEO, this time I continue the discussion about how to use Meta tags for SEO and how to add Meta tags in BlogSpot properly and correctly . What is a Meta tag? According to Joshua Hardwick, the Head of Content at Ahrefs, Meta tags are snippets of code that tell search engines important information about your web page, such as how they should display it in search results. They also tell web browsers how to display it to visitors. Meta tags are not displayed in the browser as text but work to determine what elements should be displayed, how they should be displayed, and what search engines should do with a blog. Errors in setting Meta tags on a blog can affect the performance of the blog and reduce the chances of it being found in ...

How to Increase BlogSpot Loading Speed?

If you're a blogger on the BlogSpot platform, you may have noticed that your site can sometimes load slowly, which can negatively impact user experience and SEO rankings. Fortunately, there are several steps you can take to increase your BlogSpot loading speed. Optimize your images One of the main culprits of slow loading times is large images. Make sure to compress your images before uploading them to your blog, and consider using a tool like Smush.it to further optimize them. Use a fast and lightweight template The template you choose can have a big impact on your blog's loading speed. Look for a template that is lightweight and optimized for speed. Avoid templates that are overly complex or have a lot of unnecessary features. Minimize JavaScript and CSS files Large JavaScript and CSS files can also slow down your site's loading speed. Minimize these files by using a tool like Minify, which combines multiple files into a single, s...