While collecting cost and install data, sometimes the mobile_conversion_installs field isn’t returned. Even though I’m asking for it, even it most of the time it is returned.
Any idea why?
Here are two near identical queries
The first that returns a subset of the fields I’m expecting,
the second returning all the expected fields:
Missing mobile_conversion_installs:
https://ads-api.twitter.com/0/stats/accounts/18ce53wsium/promoted_tweets?promoted_tweet_ids=70ud2,70udp&granularity=HOUR&metrics=billed_charge_local_micro,promoted_tweet_timeline_impressions,promoted_tweet_search_impressions,promoted_tweet_app_install_attempts,mobile_conversion_installs&start_time=2015-04-28&end_time=2015-04-29
{
"data_type" : "stats",
"data" : [{
"start_time" : "2015-04-28T05:00:00Z",
"billed_charge_local_micro" : [4870000, 2810000, 5190000, 0, 2390000, 5430000, 2370000, 2890000, 3000000, 9150000, 6880000, 7410000, 2390000, 2340000, 16970000, 2880000, 0, 5490000, 0, 0, 0, 0, 0, 0],
"end_time" : "2015-04-29T05:00:00Z",
"id" : "70udp",
"promoted_tweet_timeline_impressions" : [1628, 835, 308, 102, 461, 793, 670, 1268, 1005, 1362, 1242, 1033, 654, 754, 2087, 733, 364, 154, 0, 0, 0, 0, 0, 0],
"granularity" : "HOUR",
"promoted_tweet_app_install_attempts" : [3, 1, 2, 0, 1, 2, 1, 1, 1, 5, 3, 3, 1, 1, 7, 1, 0, 3, 0, 0, 0, 0, 0, 0],
"promoted_tweet_search_impressions" : [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
}, {
"start_time" : "2015-04-28T05:00:00Z",
"billed_charge_local_micro" : [8680000, 0, 5150000, 0, 4870000, 7600000, 7380000, 15040000, 2890000, 0, 2450000, 3820000, 10980000, 10800000, 2800000, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"end_time" : "2015-04-29T05:00:00Z",
"id" : "70ud2",
"promoted_tweet_timeline_impressions" : [557, 264, 204, 191, 538, 712, 546, 1001, 800, 762, 569, 699, 1195, 885, 383, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"granularity" : "HOUR",
"promoted_tweet_app_install_attempts" : [4, 0, 2, 0, 2, 3, 3, 7, 1, 0, 1, 3, 4, 4, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"promoted_tweet_search_impressions" : [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
}
],
"request" : {
"params" : {
"start_time" : "2015-04-28T05:00:00Z",
"end_time" : "2015-04-29T05:00:00Z",
"account_id" : "18ce53wsium",
"granularity" : "HOUR",
"metrics" : ["billed_charge_local_micro", "promoted_tweet_timeline_impressions", "promoted_tweet_search_impressions", "promoted_tweet_app_install_attempts", "mobile_conversion_installs"],
"promoted_tweet_ids" : ["70ud2", "70udp"]
}
}
}
Has mobile_conversion_installs:
https://ads-api.twitter.com/0/stats/accounts/18ce53xfdx2/promoted_tweets?promoted_tweet_ids=69vjv,6ae9a&granularity=HOUR&metrics=billed_charge_local_micro,promoted_tweet_timeline_impressions,promoted_tweet_search_impressions,promoted_tweet_app_install_attempts,mobile_conversion_installs&start_time=2015-04-28&end_time=2015-04-29
{
"data_type" : "stats",
"data" : [{
"mobile_conversion_installs" : [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"start_time" : "2015-04-28T04:00:00Z",
"billed_charge_local_micro" : [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"end_time" : "2015-04-29T04:00:00Z",
"id" : "6ae9a",
"promoted_tweet_timeline_impressions" : [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"mobile_conversion_installs_breakdown" : {
"total" : [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"post_view" : [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"post_engagement" : [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"assisted" : [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
},
"granularity" : "HOUR",
"promoted_tweet_app_install_attempts" : [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"promoted_tweet_search_impressions" : [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
}, {
"mobile_conversion_installs" : [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"start_time" : "2015-04-28T04:00:00Z",
"billed_charge_local_micro" : [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"end_time" : "2015-04-29T04:00:00Z",
"id" : "69vjv",
"promoted_tweet_timeline_impressions" : [4, 12, 6, 2, 0, 0, 1, 3, 17, 0, 6, 13, 14, 5, 1, 12, 4, 3, 14, 2, 4, 4, 19, 12],
"mobile_conversion_installs_breakdown" : {
"total" : [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"post_view" : [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"post_engagement" : [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"assisted" : [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
},
"granularity" : "HOUR",
"promoted_tweet_app_install_attempts" : [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"promoted_tweet_search_impressions" : [3, 2, 3, 1, 0, 0, 0, 0, 0, 0, 3, 0, 0, 1, 2, 12, 2, 4, 1, 0, 0, 0, 0, 0]
}
],
"request" : {
"params" : {
"start_time" : "2015-04-28T04:00:00Z",
"end_time" : "2015-04-29T04:00:00Z",
"account_id" : "18ce53xfdx2",
"granularity" : "HOUR",
"metrics" : ["billed_charge_local_micro", "promoted_tweet_timeline_impressions", "promoted_tweet_search_impressions", "promoted_tweet_app_install_attempts", "mobile_conversion_installs"],
"promoted_tweet_ids" : ["69vjv", "6ae9a"]
}
}
}