Closed inmar-mohan closed 1 year ago
Hi @danoscarmike, thanks for looking into this issue. Any suggestions/advice on this issue, please? We have been facing this issue with most of our users and we are unable to figure out the issue. Any help would be much appreciated. Thanks.
@dazuma could you help me triage/direct this one?
Hi there, we are facing the same issue. Any help here would be much appreciated.
Hi @danoscarmike, any updates on this issue? Thanks.
@ikuleshov is this something you can help with?
@inmar-mohan First of all the google-api-client gem is deprecated and hasn't been updated in about a year, so it's possible you're just using an old client. Please use the google-apis-analytics_v3 gem instead. It has the latest updates to the client, and it's specific to analytics v3 (e.g. it doesn't have 70 megabytes of extra ruby code targeting other services).
If the latest version of the google-apis-analytics_v3
gem is still not giving you the information you expect, please find support resources on this page: https://developers.google.com/analytics/devguides/reporting/core/v3/help
Closing this issue due to inactivity. Please feel free to re-open or reach out to us in case the issue still exists.
Hi Team,
Thanks for this awesome gem. We have been using the
google-api-client
gem to retrieve page view metrics of the blog posts that our users submit to us. As part of collecting page view metrics, we collect blog post's dimension metrics(location-based) and demographic metrics(age & gender).When requesting the dimension region metrics with the blog's
view_id
,access_token
,refresh_token
,start_date
, andend_date
, google is successfully providing the dimension(location-based) metrics.However, when requesting the demographics data(age & gender) with the same blog's
view_id
,access_token
,refresh_token
,start_date
, andend_date
, google is providing the empty metrics. It's returning@total_results=0
.For some blog posts, Google is reporting both demographics and region-wise data without any issues. But we are seeing this issue with the most number of blogs in our system and we are unable to figure out why google is returning only region metrics, but no results for demographics.
We are using google OAuth2 to get
access_token
andrefresh_token
from our users and using the analytics v3 version to pull the pageviews metrics. Below are the permissions we are requesting in OAuth, please find the attachment:Could someone please look into the issue? Any help or suggestions would be much appreciated.
Thanks