Ads API vs. UI data discrepancy

ads

#1

I’m having a problem where the data in the Ads UI for a particular promoted tweet or even an entire account is different than the data being returned by the Ads API. I’m seeing promoted impressions and other promoted data in the UI whereas I’m receiving null data back for each metric in the metric groups I query for using the API.

One of the endpoints I’m sending a synchronous, GET request to is here:

https://ads-api.twitter.com/2/stats/accounts/18ce53v3cca?start_time=2017-09-20T13%3A00%3A00Z&end_time=2017-09-26T13%3A00%3A00Z&granularity=HOUR&entity=PROMOTED_TWEET&entity_ids=1i4tm0&metric_groups=BILLING%2CENGAGEMENT%2CMEDIA%2CVIDEO&placement=ALL_ON_TWITTER

This promoted tweet is showing over 4000 promoted impressions on the Ads UI but is returning null for each data point. The response I receive is here:

{
  "data_type": "stats",
  "time_series_length": 144,
  "data": [
    {
      "id": "1i4tm0",
      "id_data": [
        {
          "segment": null,
          "metrics": {
            "video_views_50": null,
            "impressions": null,
            "tweets_send": null,
            "billed_charge_local_micro": null,
            "qualified_impressions": null,
            "video_views_75": null,
            "media_engagements": null,
            "follows": null,
            "video_3s100pct_views": null,
            "app_clicks": null,
            "retweets": null,
            "video_cta_clicks": null,
            "likes": null,
            "video_content_starts": null,
            "video_views_25": null,
            "engagements": null,
            "video_views_100": null,
            "clicks": null,
            "media_views": null,
            "card_engagements": null,
            "poll_card_vote": null,
            "replies": null,
            "url_clicks": null,
            "video_mrc_views": null,
            "billed_engagements": null,
            "video_total_views": null,
            "carousel_swipes": null
          }
        }
      ]
    }
  ],
  "request": {
    "params": {
      "start_time": "2017-09-20T13:00:00Z",
      "segmentation_type": null,
      "entity_ids": [
        "1i4tm0"
      ],
      "end_time": "2017-09-26T13:00:00Z",
      "country": null,
      "placement": "ALL_ON_TWITTER",
      "granularity": "HOUR",
      "entity": "PROMOTED_TWEET",
      "platform": null,
      "metric_groups": [
        "BILLING",
        "ENGAGEMENT",
        "MEDIA",
        "VIDEO"
      ]
    }
  }
}

Even if I hit the API using the above account id, asking for stats using the CAMPAIGN or ACCOUNT entity, I still receive no promoted data where the UI does show this data. Is there any reason this discrepancy between the API and UI data exists? Or is there an obvious point I’m missing that’s causing this discrepancy? Any potential solutions would be appreciated. If more information is necessary, feel free to ask for it.


#2

Hi,

Have you checked if you have data with “PUBLISHER_NETWORK” as placement?

Thanks