Solved: The Widget Settings in Widget With Id AdSense is Not Valid | Blogger

Updated:

by

The Widget Settings In Widget With Id AdSense Is Not Valid

Are you getting the error, “The widget settings in widget with id <b>AdSense1</b> is not valid. An internal error occurred. Please try again.” on Blogger when you try to save your theme? You’re in the right place.

Users are facing different types of errors after Legacy Blogger is updated to New Blogger. One of the frequently occurred error is, The widget settings in widget with id <b>AdSense1</b> is not valid. An internal error occurred. Please try again.

This error does not allow you to save your Blogger theme when you modify and try to save. Mostly this error comes in Emporio Blogger Theme.

What is the Cause of Error?

It is clear from the error description that your AdSense widgets in your theme are causing the error. The error comes on those blogs where Google AdSense ads are enabled.

For some reasons, because of these Google AdSense widgets Blogger does not allow you to save your theme. This error is bit confusing as well because at times despite showing this error it saves your changes, but at times it does not save your theme at all.

There are 2 cases (1) If you make a CSS change or something like that it will still show you the error, but will save your changes (2) When you add a conditional tag or insert some code in the body of the widget, this error does not allow you to save the changes.

How to Get Rid of the Error?

There is a simple solution to this error:

  1. Remove the all Google AdSense widgets from your Blogger Layout one-by-one. I have shown below, How to remove Google AdSense widgets.
  2. Modify your theme, means do whatever changes you want in your theme or the code that you want to add.
  3. Save your theme. You won’t get this error.

Once you are done with the changes in your theme completely, comeback to your Blogger Layout and add the Google AdSense widgets again.

Remember that removing your Google Adsense widget from your Blogger Layout does not disconnects you from Google AdSense Program. You can add or remove Google AdSense widgets as many times as you want.

Blogger/Blogspot latest Templates

RELATED

How To Remove AdSense Widget On Blogger?

There are 2 Methods to remove the AdSense widgets on Blogger. Follow the Method 1 first, if Method 1 does not work then go for the Method 2.

Method 1: Remove From Blogger Layout

In this section, I will guide you on how to remove an AdSense widget from the Blogger Layout.

  • Open your Blogger admin dashboard and go to Layout from the sidebar.
Open your Blogger admin dashboard and go to Layout from the sidebar.
  • Click the Edit icon of the AdSense widget that you want to remove.
Click the Edit icon of the AdSense widget that you want to remove.
  • Click the “Remove” button.
Click the "Remove" button.

Method 2: Remove From Theme’s Code

In this section, I will guide you on how to remove the Google AdSense widget from your Blogger theme by removing its code. Follow this Method if Method 1 does not work.

Don’t forget to take the backup of your theme before you remove AdSense widget. In case you make a mistake, you can restore it from the backup. Read this tutorial: How To Backup & Upload Blogger Theme Step-By-Step.

  • Open your Blogger admin dashboard and go to Themes from the sidebar.
  • Click the Downward Arrow attached to CUSTOMIZE button.
go to Themes from the sidebar. Click the Downward Arrow attached to CUSTOMIZE button.
  • Click the Edit HTML option.
Click the Edit HTML option.
  • Click the “Jump to widget” icon located at top-right corner of the Blogger Theme Editor.
Click the "Jump to widget" icon located at top-right corner of the Blogger Theme Editor.
  • Choose the widget that you want to remove. Here, I have chosen the AdSense1.
Choose the widget that you want to remove. Here, I have chosen the AdSense1.

Once you click the widget, you will jump to the top line of the widget code. The widget code starts with this line:

<b:widget id='AdSense1' locked='false' title='' type='AdSense' visible='true'>

The widget code ends with this tag:

</b:widget>
  • Now select the whole code from <b:widget id=’AdSense’…………. to  </b:widget>, as I have shown below with the arrows.
  • Press “Delete” from your keyboard.
  • Click the Save icon to update the changes.
select the whole code from <b:widget id='AdSense'............. to  </b:widget> and delete this code.

If you like this post then don’t forget to share with other people. Share your feedback in the comments section below.

Also Read

Related Topics: , ,
Buy Domain and Hosting on Namecheap Now
Find a Freelancer for website design, logo design, graphic designing, WordPress, Blogger, NFT, AI, SEO, Digital Marketing, Amazon Seller Services, Voice Over, Script Writing, Data Entry, Translations, and many more...
Download Website Themes
Mangools SEO Tools
Order Motivational T-Shirts With Quotes from Our Store Fire Ram 23.4.

Subscribe to Our Newsletter!

112 responses

  1. Avatar

    Meers World. I really appreciate! I just added my cookie consent responsive banner to my site mynetnaija.blogspot.com
    I’m gonna post it on Facebook. I really appreciate. I searched all over YouTube for this piece of information, but, couldn’t find it. You solved my problem. I’m ever grateful.

    1. Meer Basit

      You’re most welcome Kelechi!

  2. Avatar

    Yeah thanks it helped me with Adsense!

    1. Meer Basit

      You’re most welcome.

  3. Avatar

    thanku my problem is solved

    1. Meer Basit

      You’re most welcome.

    1. Meer Basit

      You’re most welcome!

  4. Avatar

    I agree with seng poem. I’ve removed Adsense1 & Adsense2 html code carefully. Saved OK. Included metatags and saved OK. Tried several options in putting back removed html, both Adsense1 & 2 at the same time as well as just Adsense1 on its own. I had to add to close the section, as that’s what the error message was telling me. However, once included, the original error message RETURNS “The widget settings in widget with id AdSense1 is not valid. An internal error occurred. Please try again.” Therefore, the html code for Adsense1 or 2 cannot be reinserted = loss of being able to include ads. If trying to include via Layout, the message informs me that the widget cannot be updated together with an internal error message notification. So, your suggested workaround solutions don’t work as at 23/09/22. ANY FURTHER SUGGESTIONS? apart from setting a new blog up? Note that I should have copied the ENTIRE html code BEFORE attempting this fix but stupidly didn’t!

    1. Meer Basit

      It works dear, you must be doing something wrong like leaving some code in the theme which is causing the error.

  5. Avatar
    seng poem

    Hello Meer Basit. I did by your rule it has worked for html edited but now I can’t add ads back in blog layout after removed them

    1. Meer Basit

      Your AdSense widgets still exist in your theme. You must remove all your AdSense widgets and then add them one by one from Layout.

  6. Avatar

    Thanks for this information. It really helped me, more grease to your elbow.

    1. Meer Basit

      That’s so sweet of you Ndubisi!

  7. Avatar
    annie

    thank you very much for your method, I remove the Adsense, then I can update the HTML, thank you

    1. Meer Basit

      You’re most welcome.

  8. Avatar

    Hello, your article is really helpful. can you please tell me the solution for this error?
    The widget settings in widget with id PageList2 is not valid. Page title is invalid.

    1. Meer Basit

      The errors is caused by the “Pages” widget that you have added in the Footer. There is no problem with its code, but we have some suggestions if these work for you:
      (1) Try changing the title from “Pages” to something else and check whether it works or not.
      (2) Your template has only one “Pages” gadget, so there should have been “PageList1” instead of “PageList2”. Remove your Pages gadget and add again, it might work.
      (3) Follow the Method 1 and Method 2, as shown in this article. Instead of removing AdSense widget and widget code remove “Pages” widget.
      In your Blogger theme “PageList2” will start with this Line:
      <----b:widget id='PageList2' locked='false' title='Pages' type='PageList' version='2' visible='true'--->
      and ends with this line <---/b:widget---->

  9. Avatar

    Hello, I did what you said and I was able to finally add my code, however…when I went to ad my adsense widgets back it gave me this error message “Could not update widget. Try again.” Please help. Thank you 🙂

    1. Meer Basit

      You have not completely removed AdSense code, that’s why it is showing you the error. Please try again. 🙂

  10. Avatar

    Have tried what you explained, but it’s still showing: widget settings in widget with id<adsense 1 is not valid
    Please what should I do??

    1. Meer Basit

      It should work. You must be missing something. Please try again.

  11. Avatar

    Sir, same problm as Aman’s as my so plz help me
    I tried to this but I can’t save HTML theme so please help to me

    1. Meer Basit

      If your problem is same as Aman’s it should be resolved. Follow our guidelines carefully.

  12. Avatar

    Hey Meer!
    I did everything as you explained, I just was able to make some changes to my blog after removing an adsense widget, but after all I tried to add an adsense widget again, I end up receiving a message "Could not update widget. Try again".

    What should I do?

    1. Meer Basit

      You’re missing something King! Also go through above comments you might get your solution.

  13. Avatar

    nice article
    so much thanks dear my Adsense problem solved

    1. Meer Basit

      You’re most welcome, RealGuider!

  14. Avatar

    THANK YOU (BY HEART)
    MEER

    1. Meer Basit

      You’re most welcome, dear!

  15. Avatar

    Thanks Meer Brother, it's Really Works

    1. Meer Basit

      You’re most welcome, Sampati!

  16. Avatar

    Thanks for your support. Its very helpful. Thank you again.

    1. Meer Basit

      You’re most welcome, Technology World.

  17. Avatar

    I face the same problem but when I paste the adsense code. Is this process helps me here

  18. Avatar

    Thanks My Problem is Solved

    1. Meer Basit

      You’re most welcome, Adbdul Rehman.

  19. Avatar

    Hi I can't select the text for deleting option as well as the edit option also not working for me only save change is display no remove button is there what to do now

    1. Meer Basit

      Press the mouse button and select the text and then delete the text.

  20. Avatar

    It worked, I am waiting for my confirmation now, thanks man!

    1. Meer Basit

      You’re most welcome, Alex.

  21. Avatar

    THANK YOU SO MUCH BRO

    1. Meer Basit

      You’re most welcome, KING.

  22. Avatar

    Thank you so much sir. It helped!!

    1. Meer Basit

      You’re most welcome, Abhishek!

  23. Avatar

    Added same code at exact same lines and got it back.

  24. Avatar

    Oh dear, the gadget is not getting added now from the layouts section. It says, please correct the errors on this form. My domain is abc.blogspot.com
    Prior to this it was not getting removed, so i used HTML widget code removal option. Now its not getting saved when I click on save post adding a adsense gadget.

    1. Meer Basit

      One of the reasons for this error is that you are using different emails for Blogger and AdSense. You should use the same email for both Blogger and AdSense………….. The other reason could be like, your theme might not be compatible with AdSense ad code at a certain position. You can create HTML/Javascript widget on layout, Copy ad code from AdSense and Paste in HTML/Javascript widget.

  25. Avatar

    thanks a million dear

    1. Meer Basit

      You’re most welcome, Annu!

  26. Avatar

    this helped, really. thank you so much

    1. Meer Basit

      You’re most welcome.

  27. Avatar

    So I did exactly as you said and thank you so much everything worked. but how do I make the AdSense widgets come back? It's not showing up in my layouts ever since I took it out of the code

    1. Meer Basit

      Go to Layout… Click “Add a Gadget”…..Click “AdSense”.

  28. Avatar

    Brother can you suggest me a free theme best for AdSense.

    1. Meer Basit

      Sorry, I don’t recommend to use free themes!

  29. Avatar

    Brother can you please check my blog, https://www.alixaprodev.com
    will i get AdSense or not. Any suggestion. I will be happy if you suggest me any changes.

    1. Meer Basit

      There is no problem with your blog niche it is good. You have created necessary pages as well like About US, Privacy etc. There should be at least 20 articles on your blog before you apply. It depends on AdSense whether it accepts or not, but you can apply and see what it does. You can apply more than once, so don’t worry about rejection. I will suggest you to apply when your blog brings traffic of 1000 views per day.

      I have noticed that your Featured Post is appearing on top of every page(About Us, Contact Us, Privacy etc). Featured post shouldn’t be appeared on pages, it should only appear on homepage and blog post pages. Your “Item pages” are suitable for displaying ads, but Homepage might not be suitable. There should be positions for displaying ads. You can bring more quality to your blog’s homepage design. You can search on internet as well like “How to make your theme AdSense Ready.”

  30. Avatar

    Thank you so much for this amazing tutorial i was really worried about it.

    1. Meer Basit

      You’re most welcome, Alixa.

  31. Avatar

    Thank you so much, I never could have figured it out myself.

    1. Meer Basit

      You’re most welcome, Margo!

  32. Avatar

    No, I just started blog. URL is https://iponewsupdates.blogspot.com/. I ran into this issue on my very first try out. I just mean to say when I was looking a way out of this problem, I saw people reporting the same problem from almost a year now. Thank you for your help!

  33. Avatar

    Thank you brother for solving this issue. I reverted to classic version and problem disappeared but now I can not turn on adsense to my blog. This is ridiculous, google has not solved this problem even after months or almost a year now. I am seeing posts as back as from May reporting the same problem.

    1. Meer Basit

      What is your blog URL? Were Google ads running on your blog 1 year ago or earlier?

  34. Avatar
    Anonymous

    1 Question 🙂 How to Defeat From Invalid Ad Clicks at Blogger.com

    1. Meer Basit

      The biggest contributor to invalid ad clicks is person himself. Make sure to turn off your history and disable ads from your browser settings. Don’t watch your own ads. Avoid partnering with untrusted advertisers or affiliate networks. Don’t tell your friends and family members to watch your content.

  35. Avatar

    My issue: On editing the theme and saving, the changes were not reflected.

    Solution: Open the theme -> edit html -> preview theme. You will see an error. Check if it shows a widget error like this 'The widget settings in widget with ID AdSense1 aren't valid'. In this case note down the widget in the error. Click on 'Jump to widget' and go to the particular widget which you noted down. Delete the section from and for that specific widget and save.

    Thank you sir this my problem is solved
    https://todaynewsindiain.blogspot.com/

    thank you

    1. Meer Basit

      You’re most welcome, Aman.

  36. Avatar

    nice sir its help for me

    1. Meer Basit

      You’re most welcome!

  37. Avatar

    thanke you so mach for widge problam i soled my problom for 1st step

    1. Meer Basit

      You’re most welcome, Priyarao!

    1. Meer Basit

      You’re most welcome, Sanad!

  38. Avatar

    All my blogger posts were appearing in the Google
    index on Chrome browser, but after a short time,
    nearly half of them disappeared and the other half
    appeared, but with a different search description for
    the title, and when I searched for the reason they
    told me that mixed content in html should be fixed

    I'm sorry if I caused you any inconvenience

    1. Meer Basit

      No problem dear, you are always welcome. I think you are getting this problem because of security issues. Also when I typed your website with “www”, browser shows security warning.
      Please read this article it could solve your problem :

      Fix mixed content on your blog (https://support.google.com/blogger/answer/6286127?hl=en)

  39. Avatar

    Hi Meer
    Thanks for this info
    There is some thing can you help me I have problem about mixed content please give me sout on

    1. Meer Basit

      What do you mean by “mixed content”? Would you explain, plz?

    1. Meer Basit

      You’re most welcome, Rezi.

  40. Avatar

    thank u bhai, very helpful post

    1. Meer Basit

      You’re most welcome, Debajyoti.

  41. Avatar

    Thx….. You solved my probes

    1. Meer Basit

      You’re most welcome Bharat!

  42. Avatar

    I can't update my Control how ads are shown on the blog. And on my adsense it says "We are working on setting you up".

    1. Meer Basit

      Take a screenshot and send a Feedback to Google AdSense.

  43. Avatar

    Hi,

    I am unable to delete the widgets. Can you pls help me to know the process.

    1. Meer Basit

      Please read the tutorial again, I have shown the two methods to remove AdSense widgets on Blogger.

  44. Avatar

    Getting this error The widget settings in widget with id AdSense1 is not valid. An internal error occurred. Please try again. Pls help to solve

    1. Meer Basit

      It means that AdSense1 widget exists in your theme. You must remove all your AdSense widgets.

  45. Avatar

    Pureheartsub.blogspot.com
    I think you are right google will send me email for this if I get approved or not, I have sent my issue to Adsense help community and they will answer me in 24 hrs( that what they emailed me), so all I have to do is wait for their reply,
    and there is one more thing, you have mentioned above something about Robot.txt, I received a notification on this to my google search console, that I need to fix this issue, but I Ignored this because I thought It is not that much important, so can you tell me What is this robot.txt and how can I solve this problem?

    1. Meer Basit

      There is a new update from AdSense, if I am not wrong. Regarding the “Custom Domain” I think Google AdSense might have changed its policy and allows blogs with “.blogspot” to apply for Google AdSense, but your content matters the most for approval.

      Possible solutions for your error, “please remove the errors in the form”:

      1) If your Adsense account is already active then you need to check the size of the ad unit you’re trying to add. If it doesn’t fit in to where you’re trying to add, then that error will occur. Your blog theme does not seem Google ads friendly.

      2) Or you might have done something wrong with the Robots.txt. You can revert back to your default Robots.txt

      1. Meer Basit

        Read this tutorial: What is Custom Robots.txt & How To Add & Test Custom Robots Txt On Blogger/Blogspot

        ( https://www.meersworld.net/2020/02/how-to-add-custom-robots-txt-on-blogger.html )

  46. Avatar

    Bro I have the same problem which anuska bangal had! I also do not have confirmation button to my Adsense homepage, It only shows " We are working on setting you up"' This usually takes a few days, but in some cases can take up to 2 weeks. We'll notify you when everything's ready. Then start earning money by placing ads.'
    How I make confirmation that I have pasted the code successfully to my Blogs HTML,
    You've mentioned that it is because of we have "blogspot.com" domain, so in order to activate Adsense account we need to buy a custom domain,
    So if this would be the problem, why google has not emailed me or shows this type of error?
    Please do you have any solution on this?

    1. Meer Basit

      Don’t worry you will get email anyways from AdSense whether your blog is activated or not. For some blogs the activation process can be as quick as a day, and for others it can take several weeks. You will get the rejection reason in your email.

      Regarding the “Custom Domain” I think Google AdSense might have changed its policy and allows blogs with “.blogspot” to apply for Google AdSense, but your content matters the most for approval. Professional bloggers use Custom Domain. What is blog URL?

    1. Meer Basit

      You’re most welcome, Anushka :).

  47. Avatar

    The third step after pasting the ad code in html was to confirm that you pasted it.(I dont know wheter theres even a button or not but if it was successful i would have gotten to the next steps right? ) There was nothing after I pasted the code. At first there was the error which the blog is about (widget setting id not valid and all), so I did what you said. I removed the adsense gadget which was built in and then pasted the code and it was updated successfully. But after that when i added the adsense gadget in the layout, theres an error saying please remove the errors in the form.
    In my earnings there is an option control how ads are shown on your blog. Before i could select how the ads are going to look but now the option keeps turning off saying that updating your ad settings failed.
    In my adsense home page there's only " we are working on setting you up.
    I got an email from adsense saying activate your account.

    1. Meer Basit

      I think you are mixing lot of things. See Anushka, you can’t apply for Google AdSense because you have a non-standard URL, means your blog URL ends with “blogspot.com”. This is your blog if am not wrong: (https://thenushjournal.blogspot.com/).

      In order to apply for Google AdSense you must redirect your blog to custom domain. Once it is redirected you can apply for Google AdSense.

      Read this article: How to monetize your Blogger blog: https://www.meersworld.net/2020/02/how-to-display-google-ads-on-blogger.html

  48. Avatar

    Also now I cannot control how ads are shown in my blog because I cant add the adsense gadget because of the the above problem.Help!

    1. Meer Basit

      Were Google Ads running on your blog earlier? Sometimes error comes because of minor mistake in your theme like you might be missing a colon or semi-colon at the end of a line in your theme. Check your theme thoroughly and find the line which is causing the error.

  49. Avatar

    Hi! So I tried what you said and finally the error vanished ! Update was successful, but I didn't receive the confirmation button on adsense and neither can i add adsense gadget in my layout. It says please correct the errors. What Should I do?

    1. Meer Basit

      You said, “I didn’t receive the confirmation button on adsense”……….. I don’t understand what type of confirmation button on adSense you are talking about! Please explain.

  50. Avatar

    Thanx brother for this article. You literally saved me.

    1. Meer Basit

      You are most welcome.

  51. Avatar
    Jaiya

    Thanks for this solution,it helped me a lot for Adsense.

    1. Meer Basit

      You’re most welcome, Jaiya.

  52. Avatar

    Hola tengo el mismo problema , pero mi blog no me permite eliminar los widgets de AdSense, que puedo hacer, adicionalmente a esto, en ingresos me dice que AdSense no conoce mi blog, tampoco se que hacer.

Leave a Reply

Your email address will not be published. Required fields are marked *