Post Pay Counter

The best way to pay authors on WordPress

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

Google Analytics update gets Error Code

by

› Forums › Post Pay Counter PRO › Support › Google Analytics update gets Error Code

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 7 years, 11 months ago by Stefano.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • July 14, 2017 at 8:04 pm #57440
    Chet Gresham
    Guest

    I get this error every time I try to pull from Google Analytics. I don’t get that error on a different site of mine, but I believe I have done the same set up, so I’m at a loss. Here is the error log:

    July 14, 2017 10:15:24
    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%3A54428605&start-date=2017-07-01&end-date=2017-07-14&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’ => ‘54428605’,
    ‘start_time’ => ‘2017-07-01’,
    ‘end_time’ => ‘2017-07-14’,
    ‘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,
    )”.

    Thank you for any help.

    Chet Gresham

    July 16, 2017 at 5:29 pm #57442
    Stefano
    Keymaster

    Hi Chet,
    sorry, your topic had been marked as spam so I did not see it. We have already solved (I guess) the matter on Facebook, so I won’t reply.

    Feel free to ask for more help if needed! 🙂

    Have a nice day,
    Stefano

  • Author
    Posts
Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘Google Analytics update gets Error Code’ 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