Hi All!
I am using twitter_ads for retrieving campaign data with LOCATIONS segmentation. When manually checking data received with data in twitter ads manager I’ve noticed that in some cases retrieved data is less than actual data in UI.
For example:
{
"id":"bdn8k",
"id_data": [ ...
{
"segment":{
"segment_name":"India",
"segment_value":"b850c1bfd38f30e0"
},
"metrics":{
"billed_charge_local_micro":[... ,4500000],
"billed_engagements":[... ,0]
}
},
...]
}
is a part of response for query
"request":{
"params":{
"start_time":"2018-09-03T21:00:00Z",
"segmentation_type":"LOCATIONS",
"entity_ids":[... ,"bdn8k",...],
"end_time":"2018-10-18T21:00:00Z",
"country":null,
"placement":"ALL_ON_TWITTER",
"granularity":"DAY",
"entity":"CAMPAIGN",
"platform":null,
"metric_groups":["BILLING"]
}
}
As you can see, campaign spend for campaign bdn8k in India and Twitter placement returned by API is 4.50 in local currency.

This is part of stats on the same campaign and the same date (2018-10-18) in Ads Manager and spend is 5 euro. Unfortunately, this is not the only case of data mismatching, so the summary differences on all campaigns can be drastically more than 0.50 euro. Other metrics are also differ a bit.
I will appreciate any help on explaining me why does this problem happen.