In recent days, I get a "There is an internal error" error message from Google, calling the Google Analytics API to retrieve reporting data. Previously, the same API worked fine. Below are the sizes and metrics we used,
sizes : 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 delete the metrics parameter, it works fine. I canβt understand why this indicator value causes a problem. Below is the full error message I am encountering
{
" Mistake": {
" mistake": [
{
"Domain": "global",
"Reason": "InternalError",
"message": "An internal error has occurred."
}
],
"Code": 500,
"message": "An internal error has occurred."
}
}
error-handling analytics google-analytics google-analytics-api google-analytics-v4
Barani
source share