Post Pay Counter

The best way to pay authors on WordPress

  • Features
    • PRO version
  • Cart
    • Addons
  • Documentation
  • Support

Google Analytics ga_get_data_error

by

› Forums › Post Pay Counter PRO › Support › Google Analytics ga_get_data_error

We are based in Europe with a GMT+1/GMT+2 time zone - support replies may be delayed due to time zone differences with your country.

  • This topic has 1 reply, 2 voices, and was last updated 5 years, 5 months ago by Stefano.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • December 3, 2019 at 7:27 am #69726
    Moebius
    Guest

    I am not able to load analytics data into PPC Pro. all posts are showing 0 and i get the following error in the logs.
    Any help is apreciated. thanks

    December 2, 2019 22:00:15
    An error was thrown with code “ga_get_data_error”, message “Error: 400: Error calling GET https://www.googleapis.com/analytics/v3/data/ga?ids=ga%3A205114010&start-date=2019-12-01&end-date=2019-12-01&metrics=ga%3AuniquePageviews%2Cga%3AadsenseRevenue&max-results=9999&dimensions=ga%3ApagePath&filters=ga%3ApagePath%21%40%2F404.html%3Bga%3ApagePath%21%40%2Fsearch%2F&start-index=1: (400) Restricted metric(s): ga:adsenseRevenue can only be queried under certain conditions.
    For details see https://developers.google.com/analytics/devguides/reporting/core/dimsmets.” and debug data “array (
    ‘profile’ => ‘205114010’,
    ‘start_time’ => ‘2019-12-01’,
    ‘end_time’ => ‘2019-12-01’,
    ‘metrics’ =>
    array (
    0 => ‘ga:uniquePageviews’,
    1 => ‘ga:adsenseRevenue’,
    ),
    ‘optional_params’ =>
    array (
    ‘max-results’ => 9999,
    ‘dimensions’ => ‘ga:pagePath’,
    ‘filters’ => ‘ga:pagePath!@/404.html;ga:pagePath!@/search/’,
    ‘start-index’ => 1,
    ),
    ‘last_request_update_status’ => NULL,
    )”.

    December 3, 2019 at 10:14 am #69732
    Stefano
    Keymaster

    Hi Moebius,
    the problem ga:adsenseRevenue can only be queried under certain conditions is due to the fact that Adsense is not linked to your Analytics account. Either disable it in the plugin from the Analytics Settings box, or make sure Adsense is correctly linked to Analytics. To do that, go to Analytics > Admin > select your site > Adsense Linking and follow the instructions displayed there 🙂

    Have a nice day,
    Stefano

  • Author
    Posts
Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘Google Analytics ga_get_data_error’ is closed to new replies.

Your cart

Number of items in cart: 0

  • Your cart is empty.
  • Total: €0.00
  • Checkout

What are you looking for?

BEFORE POSTING

Before posting, please please please do have a look at our Documentation section. Your problem may be addressed there, allowing you to solve it without help from us :)

Copyright © 2025 · Centric Theme on Genesis Framework · WordPress · Log in