AdSense module shows simultaneously as "unable to set up" and "connected" in banner notification
See original GitHub issueBug Description
The AdSense module is shown as simultaneously “unable to set up” and “connected” in success notices in certain situations.
Steps to reproduce
- Ensure AdSense is connected
- Enable any ad blocker
- Complete setup for another service (e.g. Analytics, Idea Hub) in order to get the “success” notification on the dashboard
- AdSense shows up in the list as simultaneously “connected” and “impossible to set up”
Screenshots
Additional Context
- PHP Version:
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Plugin Version [e.g. 22]
- Device: [e.g. iPhone6]
Do not alter or remove anything below. The following sections will be managed by moderators only.
Acceptance criteria
- For cases where AdSense is already successfully connected, don’t display the ad blocker warning in the success notice.
Implementation Brief
in assets/js/components/ModulesListItem.js
,
- Expand the logic to not disable module here and the so an already connected (ie.
setupComplete
) module is not disabled. - Only render
ModuleSettingsWarning
compoment here when setupComplete isfalsy
. ie.{ ! setupComplete && <ModuleSettingsWarning slug={ slug } context="modules-list" /> }
.
Test Coverage
- Not needed.
Visual Regression Changes
- Not needed.
QA Brief
- Follow steps to reproduce.
- Adblock module should only show up as connected (not disabled/impossible to set up).
- Test with Adblock Plus
Changelog entry
- Update the modules list banner not to disable connected modules.
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (1 by maintainers)
Top Results From Across the Web
What to do if AdSense can't activate your account
To find out why your AdSense account can't be activated, either sign in to AdSense or read the email we sent you. The...
Read more >Google AdSense not connected with google site kit
I am pasting code through Google Site Kit but in Site Kit setting shows Adsense is not connected. `I am trying to paste...
Read more >Get started | Unity - Google Developers
This guide shows you how to use the native ads add-on to implement AdMob native ads in a Unity app, as well as...
Read more >4 Reasons Why Ads Are Not Showing on My Website - Setupad
Sometimes, AdSense publishers may face a problem when the ads are not showing up on their blog because they have broken one or...
Read more >Google Codelabs
Google Developers Codelabs provide a guided, tutorial, hands-on coding experience. Most codelabs will step you through the process of building a small ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
QA ✅
Tested
Confirmed the bug here:
Reset and ran the same test to pop the issue above. Confirmed the fix:
Continued to setup all modules to confirm no other issues occurred with an ad blocker configured.
Sending to approval
IB ✅