Hi @abcdatos thanks for opening a support topic. As you noted we have had a previous report of this and have yet to find the cause in this case. It would be great if you could provide the information below to help us investigate this further:
- Your Site Health information. You can use this form to share privately if preferred.
- Do you see any warnings or errors when checking your Site Health status (Tools > Site Health > Status), which differs from your Site Health information requested above? Such errors may include REST endpoint references.
- If you follow the instructions to add a subdomain to your AdSense site here is the subdomain already added? If not could you try adding and then going back to Site Kit and attempting to complete setup.
Once we have the above information we can move forward with some next troubleshooting steps if you are still facing the issue.
Hi,
1.- Filled the form.
2.- Site health status only shows warnings recomending to delete unused themes and plugins.
3.- Already added time ago. If I try again, form says “Parece que ya ha añadido este sitio web” (in spanish language: site already added).
Thanks for your attention. Have a nice day.
@abcdatos Thanks for sharing the information. Currently when trying to access your website it appears to be down. I am getting a 500 error and unable to access the site. See here: https://imgur.com/a/A4nMxnC.
Is there a reason why you site is currently down? If so would you be able to bring the site back up as this will help with our troubleshooting efforts. This could also be related to the issue you’re facing.
If you are unsure why the site is not accessible then I’d suggest checking out the WordPress troubleshooting section.
Once the site is back up let me know and I can run some further checks.
Hi, @adamdunnage,
I’m sorry, mass deactivating plugins for testing yesterday and reactivating them via wp-cli unsorted with –all, caused dependencies failure and some required ones remains inactive, causing the 500 error. This are restored and site is operative. I checked to verify Adsense staus remains invalid in Google Site Kit.
If you thing is interesting, I repeat the submission of the site status data via form.
Best regards.
-
This reply was modified 1 year, 8 months ago by
ABCdatos.
@abcdatos Thank you fixing this. There is no need to submit the information once more but thank you for offering. Could you please try accessing your site from an Incognito window and see if you experience the same message when trying to set up AdSense?
Could I also ask you to try disabling any Chrome browser extensions you may have to see if there are any conflicts there. you can get to your extension by going to: chrome://extensions/.
If possible also could you try downgrading your PHP version to 7.4 to see if this makes any noticeable difference?
Hi, @adamdunnage, thanks for your help.
– Removed the only one extension in a Chrome profile.
– Opened new incognito window from the same profile.
– Disabled Apache access restrictions to certain /wp-admin files.
– Removed unneeded /ads.txt from the afected subdomain (parent one is the only needed).
– Accessed WP Admin from the incognito window.
– Site Kit > Ajustes (Settings) > Completar la configuración de Adsense (fulfill Adsense settings).
Error: Estado de sitio null no válido
(Error: Invalid site state null)
– Downgraded PHP from 8.1 to 7.4 anf verified in Site Health info says is really 7.4 now.
– Repeated from the incongito Window: – Site Kit > Ajustes (Settings) > Completar la configuración de Adsense (fulfill Adsense settings)
Same error.
Remember I have another subdomain from the same parent domain in the same server without this failure, is available for comparison. All of two have Google Site Kit plugin recently installed, previous usage were Adsense with another plugin and/or manual code insertions. I suggested to change to this plugin for standarization and centralized changes (Adsense and Analytics).
Also there is WP-CLI available if any command may help you.
Thanks for your support.
@abcdatos Thank you for all the detailed steps you have taken that’s very useful indeed. You mention that you have another sub domain from the same parent that you have managed to successfully connect AdSense. Have you tried creating a new sub domain once more on the same parent and tried to install and connect AdSense through Site Kit? If not would this be possible?
Could I also ask how many other sub domains you have where you have successfully connected AdSense through Site Kit? And could you please share one of the other sub domains where you have AdSense connected? You can either share here or add to the private form you filled out previously.
Hi @adamdunnage,
I send you the second subdomain details via form, this is the one working fine with AdSense shown as connected in Google Site Kit. Also included you the list of subdomains included in Adsense with the same TLD, all of them accepted.
Tried to connect a third subdomain caused failure. I this case I uncompleted Analytics due to lack of information to configure it, the expert about this is unavailable today. Adsense failed, this is te important info. I may share this data too if helps.
Best regards.
-
This reply was modified 1 year, 8 months ago by
ABCdatos.
Many thanks for sharing these additional insights, very useful indeed. I’ve added your details to the related GitHub issue.
While I don’t have a workaround at present, I can confirm that the AdSense snippet has been placed on your site by Site Kit, and ads are appearing.
We’ll continue to investigate this and report back to you here with any updates.
Temporally deactivated code installed out of Google Site Kit and confirmed the banners shown are plugin related. Nice info, manual added header codes are now unneeded and removed.
Good to hear the ads are appearing as expected. Can you confirm that the Error: Invalid site state null
error remains if revisiting your AdSense settings page within Site Kit?
Hi,
Confirmed, no changes:
Error: Estado de sitio null no válido
Have a nice day!
Thanks for the update. We’ll keep you updated as soon as we have more insights on this. Great that your ads are not impacted. Have a great nice day also!
New setup in a fourth subdomain is working.
From the same parent, we have two working subdomains and two not working. The difference between them is a mistake.
Best regards.
Many thanks for sharing these additional insights @abcdatos.
Can you visit your AdSense account, and see if the 2 subdomains (which are not allowing you to complete AdSense set up) are added? If not, please added them directly. Below is a guide:
https://support.google.com/adsense/answer/9130110?hl=en
Once you have the 2 problematic subdomains added please disconnect the AdSense module within Site Kit, before then trying to connect once more. Let me know how you get on, or ask if you have any questions.