• Resolved ricettevegolose

    (@ricettevegolose)


    Hello, I am writing because I am stuck with a strange error with Site Kit.

    After installing the plugin and connecting to Search Console, Analytics and Page Speed Succesfully, I cannot connect AdSense due to a permission error.

    This is so strange because I am sure to use a WordPress Admin account to install and configure Site Kit, moreover I was able to connect other Google services succesfully.

    I tried to remove any other possible conflicting plugins then I reinstalled and configured Site Kit in incognito mode, but it didn’t solve the problem.

    Could anybody help me with some suggestions?

    Thank you

    Alice Grandi
    ricettevegolose.com

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

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Support James Osborne

    (@jamesosborne)

    @ricettevegolose Thanks for opening a support topic. Can you confirm that you’ve you’re connected Site Kit using a Google account that has permissions to that AdSense account? If not you can grant additional Google accounts access to that AdSense account.

    If you’ve already checked the above and everything looks in order can you please share a screenshot of the error message along with your Site Health information?

    Thread Starter ricettevegolose

    (@ricettevegolose)

    Hi James, thank you for your reply.

    This is my site health information:

    
    ### wp-core ###
    
    version: 5.2.6
    site_language: it_IT
    user_language: it_IT
    permalink: /%year%/%monthnum%/%postname%/
    https_status: true
    user_registration: 0
    default_comment_status: open
    multisite: false
    user_count: 2
    dotorg_communication: true
    
    ### wp-paths-sizes ###
    
    wordpress_path: /web/htdocs/www.ricettevegolose.com/home
    wordpress_size: loading...
    uploads_path: /web/htdocs/www.ricettevegolose.com/home/wp-content/uploads
    uploads_size: loading...
    themes_path: /web/htdocs/www.ricettevegolose.com/home/wp-content/themes
    themes_size: loading...
    plugins_path: /web/htdocs/www.ricettevegolose.com/home/wp-content/plugins
    plugins_size: loading...
    database_size: loading...
    total_size: loading...
    
    ### wp-dropins (3) ###
    
    advanced-cache.php: true
    db.php: true
    object-cache.php: true
    
    ### wp-active-theme ###
    
    name: Olsen Light
    version: 1.3.2 (latest version: 1.4)
    author: CSSIgniter
    author_website: https://www.cssigniter.com
    parent_theme: none
    theme_features: automatic-feed-links, title-tag, post-thumbnails, html5, menus, widgets
    theme_path: /web/htdocs/www.ricettevegolose.com/home/wp-content/themes/olsen-light
    
    ### wp-mu-plugins (1) ###
    
    InfiniteWP - Client Loader: author: Revmakx, version: (undefined)
    
    ### wp-plugins-active (27) ###
    
    ACF Content Analysis for Yoast SEO: version: 2.3.0, author: Thomas Kr?ftner, ViktorFroberg, marol87, pekz0r, angrycreative, Team Yoast
    Advanced Custom Fields: version: 5.8.11, author: Elliot Condon
    Akismet Anti-Spam: version: 4.1.5, author: Automattic
    Broken Link Checker: version: 1.11.12, author: WPMU DEV
    Contact Form 7: version: 5.1.8, author: Takayuki Miyoshi
    EU Cookie Law: version: 3.1.2, author: Alex Moss, Marco Milesi
    Featured Images in RSS for Mailchimp & Other Email: version: 1.5.3, author: 5 Star Plugins
    Google XML Sitemap: version: 0.1.1, author: Cor van Noorloos
    GTranslate: version: 2.8.54, author: Translate AI Multilingual Solutions
    Image Widget: version: 4.4.7, author: Modern Tribe, Inc.
    InfiniteWP - Client: version: 1.9.4.5, author: Revmakx
    Jetpack by WordPress.com: version: 8.3, author: Automattic
    jQuery Pin It Button for Images: version: 3.0.5, author: Marcin Skrzypiec
    Optin Forms: version: 1.2.9.6, author: FancyThemes
    PHP Compatibility Checker: version: 1.5.0, author: WP Engine
    Simple Links: version: 4.7.0, author: OnPoint Plugins
    Simple Social Icons: version: 3.0.2, author: StudioPress
    Site Kit by Google: version: 1.8.0, author: Google
    Smush: version: 3.6.1, author: WPMU DEV
    Social Locker by Locker Cat - Free: version: 1.0.1, author: Fatcat Apps
    W3 Total Cache: version: 0.13.3, author: BoldGrid
    WP Instagram Widget: version: 2.0.3, author: Scott Evans
    WP LESS: version: 1.8.0, author: Oncle Tom
    WP Popups Lite: version: 2.0.2.1, author: timersys
    WP Recipe Maker: version: 6.0.3, author: Bootstrapped Ventures
    WP Ultimate Recipe: version: 3.12.8, author: Bootstrapped Ventures
    Yoast SEO: version: 13.4.1, author: Team Yoast
    
    ### wp-plugins-inactive (1) ###
    
    Recipe Card: version: 1.1.7, author: Yumprint
    
    ### wp-media ###
    
    image_editor: WP_Image_Editor_Imagick
    imagick_module_version: 1656
    imagemagick_version: ImageMagick 6.7.8-9 2019-08-08 Q16 https://www.imagemagick.org
    imagick_limits: 
    	imagick::RESOURCETYPE_AREA: 188 GB
    	imagick::RESOURCETYPE_DISK: 1.844674407371E+19
    	imagick::RESOURCETYPE_FILE: 49152
    	imagick::RESOURCETYPE_MAP: 188 GB
    	imagick::RESOURCETYPE_MEMORY: 94 GB
    	imagick::RESOURCETYPE_THREAD: not available
    gd_version: bundled (2.1.0 compatible)
    ghostscript_version: 9.25
    
    ### wp-server ###
    
    server_architecture: Linux 3.10.0-862.2.3.el7.x86_64 x86_64
    httpd_software: Apache
    php_version: 7.2.26 64bit
    php_sapi: cgi-fcgi
    max_input_variables: 1000
    time_limit: 600
    memory_limit: 256M
    max_input_time: 60
    upload_max_size: 50M
    php_post_max_size: 30M
    curl_version: 7.67.0 OpenSSL/1.0.2k-fips
    suhosin: false
    imagick_availability: true
    htaccess_extra_rules: true
    
    ### wp-database ###
    
    extension: mysqli
    server_version: 5.6.44-86.0-log
    client_version: mysqlnd 5.0.12-dev - 20150407 - $Id: 3591daad22de08524295e1bd073aceeff11e6579 $
    
    ### wp-constants ###
    
    WP_HOME: undefined
    WP_SITEURL: undefined
    WP_CONTENT_DIR: /web/htdocs/www.ricettevegolose.com/home/wp-content
    WP_PLUGIN_DIR: /web/htdocs/www.ricettevegolose.com/home/wp-content/plugins
    WP_MAX_MEMORY_LIMIT: 256M
    WP_DEBUG: false
    WP_DEBUG_DISPLAY: true
    WP_DEBUG_LOG: false
    SCRIPT_DEBUG: false
    WP_CACHE: true
    CONCATENATE_SCRIPTS: undefined
    COMPRESS_SCRIPTS: undefined
    COMPRESS_CSS: undefined
    WP_LOCAL_DEV: undefined
    
    ### wp-filesystem ###
    
    wordpress: writable
    wp-content: writable
    uploads: writable
    plugins: writable
    themes: writable
    mu-plugins: writable
    
    ### jetpack ###
    
    site_id: 100209630
    ssl_cert: No
    time_diff: undefined
    version_option: 8.3:1583769763
    old_version: 8.2.3:1582888397
    public: Public
    master_user: #3 ricettevegolose ([email protected])
    current_user: #3 ricettevegolose ([email protected])
    tokens_set: Blog User
    blog_token: C*Cb*gTBov&4Iua!2Gn(21iQCHoKnZ$8
    user_token: hToh#S@TvqfuIX*%vLThtDR2DMYZzEXy
    version: 8.3
    jp_plugin_dir: /web/htdocs/www.ricettevegolose.com/home/wp-content/plugins/jetpack/
    plan: free
    HTTP_HOST: www.ricettevegolose.com
    SERVER_PORT: 80
    HTTPS: on
    HTTP_X_REAL_IP: 185.45.68.194
    REMOTE_ADDR: 185.45.68.194
    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.ricettevegolose.com\/","siteurl":"https:\/\/www.ricettevegolose.com\/","WP_HOME":"","WP_SITEURL":""}
    idc_error_option: false
    idc_optin: true
    cxn_tests: All Pass.
    
    ### google-site-kit ###
    
    version: 1.8.0
    php_version: 7.2.26
    wp_version: 5.2.6
    reference_url: https://www.ricettevegolose.com
    amp_mode: no
    site_status: connected-site
    user_status: authenticated
    active_modules: site-verification, search-console, analytics, 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/analytics: ?
    	https://www.googleapis.com/auth/analytics.readonly: ?
    	https://www.googleapis.com/auth/analytics.manage.users: ?
    	https://www.googleapis.com/auth/analytics.edit: ?
    search_console_property: https://www.ricettevegolose.com/
    analytics_account_id: 4927????
    analytics_property_id: UA-4927??????
    analytics_profile_id: 8381????
    analytics_use_snippet: yes
    
    

    And here you can find the screenshots of the error:
    https://drive.google.com/drive/folders/1mXQy5MLA5hyCsIjX9c-7yuLcxSEVgje_?usp=sharing

    I am sure my Google account has permissions to my AdSense account, because I can successfully login into AdSense with it and configure it for my site.

    @ricettevegolose thanks for the info.

    Could you clear and temporarily deactivate W3 Total Cache and let us know if you’re able to connect Adsense successfully?

    Let’s see if that helps. The error displayed is one from WordPress, we’ve seen it in some cases where caching was involved (server-side, but it may be plugin related).

    Thread Starter ricettevegolose

    (@ricettevegolose)

    I tried deactivating W3 Total Cache and then connecting AdSense, it worked! Thank you so much!

    Now you suggest I can reactivate W3 Total Cache or it could cause further problems with Site Kit?

    Thank you

    Alice

    Plugin Support James Osborne

    (@jamesosborne)

    @ricettevegolose Thanks for the update, glad to hear it worked.

    Now you suggest I can reactivate W3 Total Cache or it could cause further problems with Site Kit?

    Caching plugins can be useful when it comes to site performance. I don’t suspect there will be further issues. If you do encounter any Site Kit issues feel free to open a new support topic and we’d be happy to assist.

    hello @jamesosborne,
    I’m having a similar issue and have similar issues, as I am using a google admin and site admin information. I have deactivated cache plugins and even tried to do it in an incognito window. the message is related to my server but I run…

    “Forbidden
    You don’t have permission to access /wp-admin/admin.php on this server.”

    hello @jamesosborne,
    I’m having a similar issue and have similar issues, as I am using a google admin and site admin information. I have deactivated cache plugins and even tried to do it in an incognito window. the message is related to my server but I run…

    “Forbidden
    You don’t have permission to access /wp-admin/admin.php on this server.”

    if ( ! defined( ‘WP_ADMIN’ ) ) {
    define( ‘WP_ADMIN’, true );
    }

    if ( ! defined( ‘WP_NETWORK_ADMIN’ ) ) {
    define( ‘WP_NETWORK_ADMIN’, false );
    }

    if ( ! defined( ‘WP_USER_ADMIN’ ) ) {
    define( ‘WP_USER_ADMIN’, false );
    }

    if ( ! WP_NETWORK_ADMIN && ! WP_USER_ADMIN ) {
    define( ‘WP_BLOG_ADMIN’, true );
    }

    if ( isset( $_GET[‘import’] ) && ! defined( ‘WP_LOAD_IMPORTERS’ ) ) {
    define( ‘WP_LOAD_IMPORTERS’, true );
    }

    require_once dirname( __DIR__ ) . ‘/wp-load.php’;

    nocache_headers();

    if ( get_option( ‘db_upgraded’ ) ) {
    flush_rewrite_rules();
    update_option( ‘db_upgraded’, false );

    /**
    * Fires on the next page load after a successful DB upgrade.
    *
    * @since 2.8.0
    */
    do_action( ‘after_db_upgrade’ );
    } elseif ( get_option( ‘db_version’ ) != $wp_db_version && empty( $_POST ) ) {
    if ( ! is_multisite() ) {
    wp_redirect( admin_url( ‘upgrade.php?_wp_http_referer=’ . urlencode( wp_unslash( $_SERVER[‘REQUEST_URI’] ) ) ) );
    exit;
    }

    Plugin Support James Osborne

    (@jamesosborne)

    @orryjp Many thanks for sharing. If you’d like to open a new support topic we can investigate your issue further, it sounds like it may be hosting or server related.

    Please include a screenshot of the issue along with your site URL or Site Health information. You can use this form to share privately.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Cannot connect to AdSense’ is closed to new replies.