• Resolved OC2PS

    (@sooskriszta)


    I would like to configure and set up my site for AdSense – it has not been previously verified etc. For all AdSense intents and purposes this is a new site.

    When I tell SiteKit to connect AdSense, I get the response:
    Ad blocker detected; please disable it to set up AdSense
    and there is no possibility to skip or ignore this message and connect anyway.

    I do not have an ad blocker in my Chrome, but have tried doing this in

    • Chrome
    • Chrome Incognito
    • Edge
    • Edge Incognito
    • Firefox
    • Firefox Incognito,

    with the same result everywhere. Edge and Firefox do not have ANY extensions/add-ons installed on them at all.

    I turned off my antivirus and firewall (Bitdefender), that did not help at all.

    Having looked through

    1. https://github.com/google/site-kit-wp/issues/3007
    2. https://github.com/google/site-kit-wp/issues/3018

    I think it may be a similar issue – my site uses CloudFlare CDN, which is probably the most popular CDN around. So if this is indeed the bug, hopefully you can fix it similarly to the GoDaddy CDN bug.

    Site health data

    
    ### wp-core ###
    
    version: 5.9
    site_language: hu_HU
    user_language: hu_HU
    timezone: +01:00
    permalink: /%postname%/
    https_status: true
    multisite: false
    user_registration: 0
    blog_public: 1
    default_comment_status: open
    environment_type: production
    user_count: 14
    dotorg_communication: true
    
    ### wp-paths-sizes ###
    
    wordpress_path: /home/customer/www/OBSCURED/public_html
    wordpress_size: 286,97 MB (300913454 bytes)
    uploads_path: /home/customer/www/OBSCURED/public_html/wp-content/uploads
    uploads_size: 844,21 MB (885215610 bytes)
    themes_path: /home/customer/www/OBSCURED/public_html/wp-content/themes
    themes_size: 12,73 MB (13345310 bytes)
    plugins_path: /home/customer/www/OBSCURED/public_html/wp-content/plugins
    plugins_size: 146,02 MB (153108831 bytes)
    database_size: 27,24 MB (28567300 bytes)
    total_size: 1,29 GB (1381150505 bytes)
    
    ### wp-dropins (1) ###
    
    object-cache.php: true
    
    ### wp-active-theme ###
    
    name: News Pro Theme (news-pro)
    version: 3.0.2
    author: StudioPress
    author_website: https://www.studiopress.com/
    parent_theme: Genesis (genesis)
    theme_features: core-block-patterns, menus, post-thumbnails, title-tag, automatic-feed-links, body-open, genesis-inpost-layouts, genesis-archive-layouts, genesis-admin-menu, genesis-import-export-menu, genesis-readme-menu, genesis-customizer-theme-settings, genesis-customizer-seo-settings, genesis-auto-updates, genesis-breadcrumbs, genesis-menus, genesis-structural-wraps, widgets, html5, genesis-responsive-viewport, custom-background, custom-header, genesis-style-selector, genesis-footer-widgets, widgets-block-editor
    theme_path: /home/customer/www/OBSCURED/public_html/wp-content/themes/news-pro
    auto_update: Auto-updates are not available for this theme.
    genesis_recommendations: This theme uses theme supports that are no longer required in Genesis: "genesis-responsive-viewport" theme support can be removed
    
    ### wp-parent-theme ###
    
    name: Genesis (genesis)
    version: 3.3.5
    author: StudioPress
    author_website: https://www.studiopress.com/
    theme_path: /home/customer/www/OBSCURED/public_html/wp-content/themes/genesis
    auto_update: Enable update checks at Appearance → Customize → Theme Settings → Updates.
    
    ### wp-themes-inactive (3) ###
    
    Metro Pro: version: 2.2.1, author: StudioPress, Auto-updates are not available for this theme.
    Twenty Twenty-One: version: 1.5, author: a WordPress csapata, Az automatikus frissítések letiltva
    Twenty Twenty-Two: version: 1.0, author: a WordPress csapata, Az automatikus frissítések letiltva
    
    ### wp-plugins-active (31) ###
    
    Advanced iFrame: version: 2022.2, author: Michael Dempfle, Az automatikus frissítések letiltva
    Akismet Anti-Spam: version: 4.2.2, author: Automattic, Az automatikus frissítések letiltva
    Contact Form 7: version: 5.5.4, author: Takayuki Miyoshi, Az automatikus frissítések letiltva
    Custom Dashboard & Login Page - AGCA: version: 7.0.2, author: Cusmin, Az automatikus frissítések letiltva
    FooBox Image Lightbox: version: 2.7.16, author: FooPlugins, Az automatikus frissítések letiltva
    Force Regenerate Thumbnails: version: 2.0.6, author: Pedro Elsner, Az automatikus frissítések letiltva
    Genesis eNews Extended: version: 2.2.0, author: Brandon Kraft, Az automatikus frissítések letiltva
    Genesis Footer Builder: version: 1.3.5, author: Shivanand Sharma, Az automatikus frissítések letiltva
    Genesis Simple Hooks: version: 2.3.0, author: StudioPress, Az automatikus frissítések letiltva
    Genesis Tabs: version: 0.9.5, author: StudioPress, Az automatikus frissítések letiltva
    HubSpot All-In-One Marketing - Forms, Popups, Live Chat: version: 8.4.674, author: HubSpot, Az automatikus frissítések letiltva
    Image Watermark: version: 1.6.6, author: dFactory, Az automatikus frissítések letiltva
    Jetpack: version: 10.6, author: Automattic, Az automatikus frissítések letiltva
    Page Builder by SiteOrigin: version: 2.16.2, author: SiteOrigin, Az automatikus frissítések letiltva
    Perfect Images (Retina, Thumbnails, Replace): version: 6.2.2, author: Jordy Meow, Az automatikus frissítések letiltva
    PixelYourSite: version: 8.2.16, author: PixelYourSite, Az automatikus frissítések letiltva
    Posts in Page: version: 1.4.4, author: IvyCat, Inc., Az automatikus frissítések letiltva
    Restore Image Title: version: 1.5, author: Les Bessant, Az automatikus frissítések letiltva
    Simple Social Icons: version: 3.0.2, author: StudioPress, Az automatikus frissítések letiltva
    SiteGround Optimizer: version: 7.0.2, author: SiteGround, Az automatikus frissítések letiltva
    Site Kit by Google: version: 1.50.0, author: Google, Az automatikus frissítések letiltva
    SiteOrigin Widgets Bundle: version: 1.29.2, author: SiteOrigin, Az automatikus frissítések letiltva
    UpdraftPlus - Backup/Restore: version: 1.22.1, author: UpdraftPlus.Com, DavidAnderson, Az automatikus frissítések letiltva
    User Role Editor: version: 4.61.1, author: Vladimir Garagulya, Az automatikus frissítések letiltva
    Widget Responsive for Youtube: version: 1.6.1, author: StefanoAI, Az automatikus frissítések letiltva
    Wordfence Security: version: 7.5.8, author: Wordfence, Az automatikus frissítések letiltva
    WordPress Related Posts: version: 3.6.4, author: Sovrn, zemanta, Az automatikus frissítések letiltva
    WordPress Social Login: version: 3.0.4, author: Miled, Az automatikus frissítések letiltva
    WP Category Tag Cloud: version: 1.7.1, author: Henri Benoit, Az automatikus frissítések letiltva
    WP Mail SMTP: version: 3.2.1, author: WPForms, Az automatikus frissítések letiltva
    Yoast SEO: version: 18.1, author: Team Yoast, Az automatikus frissítések letiltva
    
    ### wp-plugins-inactive (5) ###
    
    Advanced iFrame custom folder: version: 1.0, author: Michael Dempfle, Az automatikus frissítések letiltva
    Lazy Load: author: (undefined), version: 0.6.1, Az automatikus frissítések letiltva
    Social Gallery: version: 4.0.3, author: <a href = "https://epicplugins.com" target = "_blank">Epic Plugins</a>, Az automatikus frissítések letiltva
    WP-Pro-Quiz: version: 0.37, author: Julius Fischer, Az automatikus frissítések letiltva
    wpMandrill: version: 1.33, author: Mandrill, Az automatikus frissítések letiltva
    
    ### wp-media ###
    
    image_editor: WP_Image_Editor_GD
    imagick_module_version: Nem érhet? el
    imagemagick_version: Nem érhet? el
    imagick_version: Nem érhet? el
    file_uploads: File uploads is turned off
    post_max_size: 256M
    upload_max_filesize: 256M
    max_effective_size: 256 MB
    max_file_uploads: 20
    gd_version: 2.2.5
    gd_formats: GIF, JPEG, PNG, WebP, BMP, XPM
    ghostscript_version: 9.27
    
    ### wp-server ###
    
    server_architecture: Linux 3.12.18-clouder0 x86_64
    httpd_software: Apache
    php_version: 7.4.27 64bit
    php_sapi: apache2handler
    max_input_variables: 3000
    time_limit: 120
    memory_limit: 768M
    max_input_time: 120
    upload_max_filesize: 256M
    php_post_max_size: 256M
    curl_version: 7.66.0 OpenSSL/1.1.1l-fips
    suhosin: false
    imagick_availability: false
    pretty_permalinks: true
    htaccess_extra_rules: true
    
    ### wp-database ###
    
    extension: mysqli
    server_version: 5.7.32-35-log
    client_version: mysqlnd 7.4.27
    max_allowed_packet: 33554432
    max_connections: 500
    
    ### wp-constants ###
    
    WP_HOME: undefined
    WP_SITEURL: undefined
    WP_CONTENT_DIR: /home/customer/www/OBSCURED/public_html/wp-content
    WP_PLUGIN_DIR: /home/customer/www/OBSCURED/public_html/wp-content/plugins
    WP_MEMORY_LIMIT: 40M
    WP_MAX_MEMORY_LIMIT: 768M
    WP_DEBUG: false
    WP_DEBUG_DISPLAY: true
    WP_DEBUG_LOG: false
    SCRIPT_DEBUG: false
    WP_CACHE: false
    CONCATENATE_SCRIPTS: undefined
    COMPRESS_SCRIPTS: undefined
    COMPRESS_CSS: undefined
    WP_ENVIRONMENT_TYPE: Nincs definiálva
    DB_CHARSET: utf8mb4
    DB_COLLATE: undefined
    
    ### wp-filesystem ###
    
    wordpress: writable
    wp-content: writable
    uploads: writable
    plugins: writable
    themes: writable
    
    ### jetpack ###
    
    site_id: 69792014
    ssl_cert: No
    time_diff: false
    version_option: 4.7.1:1489512931
    old_version: 4.7:1489086400
    public: Public
    master_user: No master user set.
    current_user: #3 vpundir
    tokens_set: None
    blog_token: Not set.
    user_token: Not set.
    version: 10.6
    jp_plugin_dir: /home/customer/www/OBSCURED/public_html/wp-content/plugins/jetpack/
    plan: free
    protect_header: {"trusted_header":"REMOTE_ADDR","segments":1,"reverse":false}
    full_sync: {"started":"Thu, 01 Jan 1970 00:00:00 +0000","finished":"Thu, 01 Jan 1970 00:00:00 +0000","progress":[],"config":[]}
    sync_size: undefined
    sync_lag: 0 seconds
    full_sync_size: undefined
    full_sync_lag: 0 seconds
    idc_urls: {"home":"https:\/\/www.OBSCURED","siteurl":"https:\/\/www.OBSCURED","WP_HOME":"","WP_SITEURL":""}
    idc_error_option: false
    idc_optin: true
    cxn_tests: {"8":{"name":"test__connection_token_health","label":false,"short_description":"Blog token validation failed.","long_description":"<p>A healthy connection ensures Jetpack essential services are provided to your WordPress site, such as Stats and Site Security.<\/p><p><span class=\"dashicons fail\"><span class=\"screen-reader-text\">Error<\/span><\/span> Blog token validation failed.<\/p><p><strong>We recommend reconnecting Jetpack.<\/strong><\/p>","severity":"critical","action":"https:\/\/www.OBSCURED\/wp-admin\/admin.php?page=jetpack#\/reconnect","action_label":"Reconnect Jetpack now","show_in_site_health":true,"pass":false,"group":["default"],"type":"direct"}}
    
    ### genesis ###
    
    theme_version: 3.3.3
    db_version: 3301
    update: 1
    style_selection: news-pro-green
    site_layout: content-sidebar
    breadcrumb_single: 1
    breadcrumb_page: 1
    comments_posts: 1
    trackbacks_posts: 1
    content_archive: excerpts
    content_archive_thumbnail: 1
    image_size: thumbnail
    image_alignment: alignleft
    posts_nav: prev-next
    blog_cat_exclude: 65
    blog_cat_num: 20
    footer_text: [footer_copyright before="Copyright "] · [footer_childtheme_link before="" after=" on"] [footer_genesis_link url="https://www.studiopress.com/" before=""] · [footer_wordpress_link] · [footer_loginout]
    entry_meta_before_content: [post_date] by [post_author_posts_link] [post_comments] [post_edit]
    entry_meta_after_content: [post_categories] [post_tags]
    upgrade: 1
    
    ### google-site-kit ###
    
    version: 1.50.0
    php_version: 7.4.27
    wp_version: 5.9
    reference_url: https://www.OBSCURED
    amp_mode: no
    site_status: connected-site
    user_status: authenticated
    verification_status: verified-non-site-kit
    connected_user_count: 1
    active_modules: site-verification, search-console, adsense, pagespeed-insights
    required_scopes: 
    	openid: ?
    	https://www.googleapis.com/auth/userinfo.profile: ?
    	https://www.googleapis.com/auth/userinfo.email: ?
    	https://www.googleapis.com/auth/siteverification: ?
    	https://www.googleapis.com/auth/webmasters: ?
    	https://www.googleapis.com/auth/adsense.readonly: ?
    capabilities: 
    	googlesitekit_authenticate: ?
    	googlesitekit_setup: ?
    	googlesitekit_view_posts_insights: ?
    	googlesitekit_view_dashboard: ?
    	googlesitekit_view_module_details: ?
    	googlesitekit_manage_options: ?
    enabled_features: 
    	dashboardSharing: ?
    	ideaHubModule: ?
    	serviceSetupV2: ?
    	swgModule: ?
    	userInput: ?
    	unifiedDashboard: ?
    search_console_property: https://www.OBSCURED/
    adsense_account_id: pub-843?????????????
    adsense_client_id: ca-pub-843?????????????
    adsense_account_status: approved
    adsense_use_snippet: yes
    adsense_web_stories_adunit_id: none
    
    ### wp_mail_smtp ###
    
    version: 3.2.1
    license_key_type: lite
    debug: No debug notices found.
    db_tables: wp_wpmailsmtp_tasks_meta, wp_wpmailsmtp_debug_events
    lite_install_date: dec 10, 2020 @ 6:48du.
    
    

    The page I need help with: [log in to see the link]

Viewing 15 replies - 1 through 15 (of 17 total)
  • Plugin Support Adam Dunnage

    (@adamdunnage)

    Hello @sooskriszta thanks for getting in touch and providing detailed information of your troubleshooting steps so far. I can see that you do have several active plugins on your site so it would be good to rule out any plugins that may be causing this message to display.

    We have a troubleshooting guide which will help you identify if any plugin or theme could be causing this so please could you run through this guide and let me know how you get on.

    Plugin Support Adam Dunnage

    (@adamdunnage)

    As we didn’t receive a response I’ll mark this as resolved. Feel free to open a new support topic if you continue to encounter issues, or reopen this topic and we’d be happy to assist.

    Thread Starter OC2PS

    (@sooskriszta)

    No plugin or theme incompatibilities detected.

    Have you tested compatibility with CloudFlare?

    • This reply was modified 3 years, 1 month ago by OC2PS.
    Plugin Support Adam Dunnage

    (@adamdunnage)

    @sooskriszta thanks for confirming this. Could I please ask who your hosting provider is and what plan you are using?

    Thread Starter OC2PS

    (@sooskriszta)

    Siteground cloud hosting

    Plugin Support Adam Dunnage

    (@adamdunnage)

    @sooskriszta Thanks for confirming. Unfortunately we don’t have access to test on SiteGround Cloud, but it sounds like this may be a similar issue to https://github.com/google/site-kit-wp/issues/3007 and https://github.com/google/site-kit-wp/issues/3018. It’s likely that this is a block on SiteGround Cloud as opposed to Cloudflare, as we have many users who are able to set up AdSense in Site Kit on Cloudflare without issue.

    Since we cannot test on our side, implementing a fix on SiteGround as opposed to in Site Kit would be ideal. Can you reach out to SiteGround support and see if they can identify what could be blocking the AdSense setup process on their end? If there’s something that they need us to do to assist, feel free to update this topic and we’d be happy to help.

    Thread Starter OC2PS

    (@sooskriszta)

    Siteground’s reply:

    I tested your website on three occasions:

    – Without the SiteGround Optimizer plugin (despite it not having a feature to block)
    – Bypassing Cloudflare CDN, so directly accessed the site from the server here, to make sure that it is not Cloudflare to have an impact
    – Temporarily disabled the Anti-Bot Captcha.

    However, throughout all these tests the results are the same, and there are no indications for a server-side issue.

    Google also does not have any issues with reaching the website and the same is being indexed. As Adsense e is also a Googl4e Service, the following test has been used to confirm any connectivity issues:
    https://search.google.com/test/mobile-friendly/result?id=b-Tgkw5GEXQ4dMvAQpD5dw

    In case the plugin developers can provide more information and specific data that we can use, we will gladly assist you with any server-side actions that might be required.

    Plugin Support Adam Dunnage

    (@adamdunnage)

    @sooskriszta thanks for providing an update from your host and thanks for your continued effort to troubleshoot this.

    In the feedback from SiteGround they mention:

    However, throughout all these tests the results are the same, and there are no indications for a server-side issue.

    This isn’t clear on what the results where in their tests exactly. Did they encounter the same error message that you were seeing regarding the Ad Blocker or did they not see it at all through their testing?

    Thread Starter OC2PS

    (@sooskriszta)

    They didn’t log into my WordPress to test. They encountered no errors accessing the website is what they are saying, and per the link they sent, they say Google has no problems accessing the website either.

    Thanks much, @sooskriszta! Unfortunately I think SiteGround support may have misunderstood your request here – they’re correct that Google is not blocking your site, but the issue here is that there’s something (perhaps at the hosting level) that is interpreting something as an ad blocker, and thus blocking the AdSense setup.

    I’m going to reach out to SiteGround directly myself as we do have an account with them and see if I can get some more details. In the meantime, can you please test AdSense setup on another device and see if it works there? While I know that you already tried disabling the firewall on your device, this could still be related to something else the device that you’re using.

    Plugin Support Adam Dunnage

    (@adamdunnage)

    @sooskriszta We have performed testing on our own SiteGround shared hosting site and were unable to recreate the issue you are facing. Having discussed this further with SiteGround they have informed us that both the shared hosting and Cloud hosting share the same features so what we experience on shared hosting will be the same as cloud hosting.

    Please let us know the result of your testing with another device and we can advise on next steps from there.

    Thread Starter OC2PS

    (@sooskriszta)

    Tried on a different computer (also Windows). Same outcome.

    Thread Starter OC2PS

    (@sooskriszta)

    Further info from SiteGround:

    I reviewed the access logs and the requests related to AdSense are responding with either 200 OK status or with 302 redirect.

    baseos | [email protected]:~/www/OBSCURED/logs$ zcat *|grep -vi "87.118.135.66"|grep -i AdSense|awk '{print $8,$9}'|sort -nr|uniq -c|sort -nr|head
        148 HTTP/1.1" 200
         12 HTTP/2.0" 302
         10 HTTP/2.0" 200
          3 HTTP/1.1" 302
    • This reply was modified 3 years, 1 month ago by OC2PS.
    • This reply was modified 3 years, 1 month ago by OC2PS.
    Plugin Support Adam Dunnage

    (@adamdunnage)

    @sooskriszta thank you for the further information. One thing we can check here to rule out if this is hosting related is to see if you can recreate this on another site on the same hosting platform.

    The checks your hosting provider may be performing might only be cURL or WP CLI commands, so they may not result in the same responses as a Site Kit request.

    Please let me know how you get on with this.

    Plugin Support Adam Dunnage

    (@adamdunnage)

    @sooskriszta Just checking in here to see if you managed to try the suggestion above?

Viewing 15 replies - 1 through 15 (of 17 total)
  • The topic ‘Unable to set up AdSense’ is closed to new replies.