top of page

Display Google Ads in Wix Blog Posts- How To Add Google Adsense Code?

Updated: Nov 13, 2021

When we initially created a blogging website on Wix, I remember going through various blogs to check the ways to monetize the Wix website. Since then Wix wesbite builder and it's blogging platform have improved a lot and have released new features which integrate the various ad and affiliate networks.

Wix website builder is optimized for displaying the ads from the best ad network which is Google AdSense

I have been part of the various online Forums including Google and Wix where bloggers have expressed the concern that they are not able to place the Google Ads in their blogs, so I thought of writing a blog having the step by step process of placing the Google Adsense code in the Wix blogs.

You must have fulfilled the below pre-requisites before implementing the steps mentioned in this article.

1. You need to have a Google Adsense account.

2. You have verified your Wix website with Google.

3. Your Google Adsense account is already activated.

Display auto ads from Google AdSense on Wix Website

The easiest way to display the Google ads on your Wix website is to enable it for the Google auto ads. Google will then take care of placing the ad units for you on your website and you can just focus on creating the content on your website.

  1. Login to your AdSense account.

  2. Access Ads->Overview

  3. Click on "Get code" and copy the code snippet.

  1. Access the dashboard of your Wix website.

  2. Click on Settings.

  3. In advanced section, click on custom code.

  4. Click on "Add custom code" on next page.

  5. Paste the code in the code snippet as shown below.

Your Wix website is all set to display the Google ads. Check this article on Google Adsense help page to know more about the options and control over auto ads

Display Google Ads at specific position on Wix website

Create a new Ad unit in Google Adsense

1. Select recommended Ad unit

Go to Ads Overview in your Google Adsense account and select "BY AD UNIT" and then click on "Display ads"

2. Design the Ad Unit

You will get the below default page after clicking on "Display ads" mentioned in point 1.

Fill in the below fields for the ad unit:

  • Name your ad unit - I selected the name as "Wix ads blog mid" for this blog post, you can write anything relevant. Make sure create separated ad units for different positions so that you can track which unit performs well for your website.

  • Select ad size as Fixed from the drop-down or you can select the responsive ad size which adapts according to the device type of the user - desktop or mobile.

  • If you selected fixed, give the width and height of your display ad unit - check the top performing ad sizes mentioned by Google Ads

3. Copy the generated Google Adsense code snippet

Once you click on CREATE in the above screen, it will generate an automated code snippet similar to the one shown below

Click on "Copy code snippet"

Placing ad units on a specific page other than blog posts

Please note that the responsive ad units code do not work with the Wix Google Adsense app so use only fixed ad units code.

If you want to place the Google ad units on a specific page other than your blog post, for example on your home page ,on the right hand side on your post page or at the top of your website page ( see the ad at top or on right of this blog), you can use the Google AdSense app provided by Wix.

  • In your Wix website dashboard, click on "Edit Site".

  • Click on "Add apps" icon on the left and search for adsense in the Wix app market.

  • Click on "Add".

  • Click on settings and place your ad code inside the adsense app.

Placing ad units inside your Wix Blog posts

Google Adsense responsive ad units work inside the blog posts page.

Modify the Google adsense code snippet for Wix Blog post

Add the line data-page-url="https://www.<domain>.com/" in the Google Adsense code snippet manually which

For example, I have added for our website as shown below.

Place the modified Adsense code in the Wix Blog post

You are now all set to place display the Google ads in the Wix Blog post by clicking on "+" icon in the wix blog and then on "Add Html code" as shown below

Now, In HTML code, paste the modified snippet for Step 2 and click on Update

See the below Google Ad in this blog post , which I just created for you while writing this blog and all the screenshots in this Wix blog were taken while creating the below Google ad unit :)

DO NOT enable the amp version of the Wix Blog as Wix currently doesn't support the Google Adsense AMP code snippet and hence you will not be able to display the Google Ads in your Wix Blogs

Do like this post if it helped you and comment at bottom of this page for any feedback/queries.


I agree. It's actually better than WIx Support.


I have a similar question. My WIx blog is set up and serving ads, but I made the huge mistake of creating the free "WIx Spaces" app. No ads show on the app and everyone opts for the app rather than the normal mobile browser version. This prevents me from making money. I contacted WIx Support and they told me that I could not remove the app. Could you offer any advice for this situation? By the way, everything you said above was spot on. People just aren't patient. It takes a while for Google to review your site and serve ads.


Mar 17, 2022

dont working for example your website ..

Replying to

It should. The instructions above were perfect. It takes a while for Google to review your site for ads. If you've already done everything above, just be patient and don't change anything or re-submit.


Dec 22, 2021

Well done,I would say this is the best article I have ever read about Google Ads.Keep it up.

bottom of page