I use this body to fetch
Clicks Email_unique,
Opened Email_unique
{
"data": {
"type": "metric-aggregate",
"attributes": {
"measurements":
"unique",
"sum_value",
"count"
],
"filter":
"greater-or-equal(datetime,2024-08-01)",
"less-than(datetime,2024-08-31)"
],
"by":
"$message"
],
"interval": "month",
"metric_id": "VRABRR",
"page_size": 500
}
}
}
I use $messages to get them by campaign id
And I got numbers that are far from what I see in the user interface
For example, in the UI, I got
Unique Opens = 306840, Unique Clicks = 1823
and in the API, I got
Unique Opens = 61956, Unique Clicks = 595
Why is the gap so high? This is not negligible at all.