In google analytics i want to get details of Audience->User explorer through google analytics API (python API). I am following the below link https://developers.google.com/analytics/devguides/reporting/core/v3/common-queries and using the same syntax, but i am unable to get the required data.Kindly help what will be "metrics and dimentions" to get all visited user id and ther individual details.
def get_top_keywords(service, profile_id):
return service.data().ga().get(
ids='ga:' + profile_id,
start_date='2016-07-14',
end_date='today',
metrics='ga:users,ga:pageviews',
dimensions='ga:pagePath').execute()