How To Create Adsense Ad Code? | Create And Place Adsense Ad Code For Your Site

This post is exclusievely for those who want to know how to create an Adsense ad code from their Adsense account. One of my friend had asked help on this topic, I dedicate this post to my friend :-)

This tutorial is really very easy to complete and it hardly takes 10 to 15 min to generate the ad code.

Why we want to generate the ad code? 
Because, using the ad code you can easily place the ads anywhere on the blog, site or webpage easily. Otherwise you need to take help of an Adsense widget to place the code as in Blogger.

Straight to the steps to create the ad code from Adsense.
Important: I’ve used the new Adsense Interface for this tutorial, so I suggest you to use the same to fall in line with the steps.


1. Log in to your Google Adsense account.

2. Go to “My ads” tab. (You will be under “Ad units“) – you are at the right place.

3. You see some fields like “Name”, “Ad Size”, “Ad Type”, “Backup ads”, and so on.
> Give a Name to your Adsense code being generated so that it can be of use in the future.
> Select the appropriate Ad Size for you Ads to be displayed
> Ad Type can be Text based, images, or combination of both.
> Choose Backup ads to what ever you wish to be shown when there are no ads available from Adsense.
> Custom channel is used to “Target ads” by the advertisers. You can create a new one to track the performance of the same. Or this can be left blank.

4. Under “Ad Style“, click on “Use Custom Settings” — This is important to make the ads similar to the text in your web-site or blog. Blend the ads according to your needs.

5. Once everything is code, you can click on “Save and get code”. The next pop up will show you the Adsense ad code which can be placed anywhere on the website or Blogger blogs as well.

IMPORTANT NOTE: This code may not work directly on your site. Use My Adsense Ad Code Conveter HERE..  
Click on the Image Below:

Copy the FULL code generated from Adsense to Ad code Generator and click on “Convert” to get the new code to be placed in your blog or site.

Thanks for reading the article. Hope you enjoyed learning the tutorial. We will see more on Adsense soon.



2 Responses

Leave a Reply

Your email address will not be published.