Recent days I am getting "There was an internal error" error message from Google while calling Google Analytics API to get reports data. Previously the same API works fine. Following are the dimensions and metrics we used,
dimensions : ga:campaign,ga:adGroup,ga:keyword,ga:adContent,ga:date
metrics : ga:sessions,ga:bounces,ga:impressions,ga:adClicks,ga:adCost,ga:transactions,ga:RPC
When I remove the metrics parameter it's working fine. Can't figure out why this metrics value causes problem. Below is the full error message which I am facing
{
"error":{
"errors":[
{
"domain":"global",
"reason":"internalError",
"message":"There was an internal error."
}
],
"code":500,
"message":"There was an internal error."
}
}