Engagement metrics all coming back as `null`?



The result of the stats job:

Not sure why metrics are all being returned as null

    "data_type": "stats",
    "time_series_length": 31,
    "data": [
            "id": "18ce547v3py",
            "id_data": [
                    "segment": null,
                    "metrics": {
                        "impressions": null,
                        "follows": null,
                        "retweets": null,
                        "likes": null,
                        "engagements": null,
                        "replies": null
    "request": {
        "params": {
            "start_time": "2016-10-01T05:00:00Z",
            "segmentation_type": null,
            "entity_ids": null,
            "end_time": "2016-11-01T05:00:00Z",
            "country": null,
            "placement": "ALL_ON_TWITTER",
            "granularity": "DAY",
            "entity": "ACCOUNT",
            "platform": null,
            "metric_groups": [

Just checked that this is happening for both the synchronous and async endpoints


@CheapSteak: Thanks for the question. When there is no data to show, you will see null values for the various metrics.

It does not look like there are any active campaigns for the specified time period for this account (18ce547v3py). All three campaigns for this account show "reasons_not_servable": ["PAUSED_BY_ADVERTISER", "FUNDING_PROBLEM"]. It looks like there is a problem with the funding instrument.

Hope this helps!


Hi Juan
Thanks for looking into this!
Is it not possible to retrieve analytics data that is not associated with campaigns? (Is data from the analytics dashboard only available from that dashboard?)


@CheapSteak: Yes, it is possible to retrieve analytics for various entities. This includes campaigns, line items, etc. For more information on these, see the Metrics and Segmentation page.

To clarify the earlier reply, since there were no active campaigns during the month of October (2016), there is no data to show, which is why you’d see null.

Finally, yes, the data from the dashboard is available via the API. Are you seeing data for this time period in the Twitter Ads UI (dashboard)?



Sorry I meant analytics for accounts from the “analytics dashboard” at analytics.twitter.com (or the same page at ads.twitter.com then go to analytics -> Account home)

There were no active campaigns during October, but the twitter account and its tweets had organic impressions/visits/mentions unrelated to campaigns

Is that data available via API?


Thanks for the clarification, @CheapSteak. For organic stats, it’s only possible to see this data at the Tweet-level, using entity=ORGANIC_TWEET in the stats request. Hope this helps!