Twitter Ads not returning any data


#1

Hi,
We are having an issue where the ads content are being pulled in, but we don’t see any stats for any of the metrics when querying a promoted tweet ID.
We compared it with a report directly exported in Twitter ads, and all the data and metrics were showing.
Twitter ads account: 2kqrus

Let me know what other info is need to troubleshoot. Appreciate the help.

https://ads-api.twitter.com/3/stats/accounts/2kqrus?entity=LINE_ITEM&entity_ids=1ot2go&start_time=2018-04-01&end_time=2018-04-07&granularity=TOTAL&placement=ALL_ON_TWITTER&metric_groups=ENGAGEMENT,WEB_CONVERSION,MOBILE_CONVERSION,MEDIA,VIDEO,BILLING

{
"data_type": "stats",
"time_series_length": 1,
"data": [],
"request": {
"params":

{ "start_time": "2018-04-01T04:00:00Z", "segmentation_type": null, "entity_ids": [ "1ot2go" ], "end_time": "2018-04-07T04:00:00Z", "country": null, "placement": "ALL_ON_TWITTER", "granularity": "TOTAL", "entity": "LINE_ITEM", "platform": null, "metric_groups": [ "ENGAGEMENT", "WEB_CONVERSION", "MOBILE_CONVERSION", "MEDIA", "VIDEO", "BILLING" ] }
}
}

#2

Hi @Bing ,

Can you provide us that promoted tweet ID in question? (e.g., 1067483206717444096)

&entity_ids=1ot2go

That’s not a tweet ID, right?

Best,
Shohei


#3

Hi @Bing ,

I did some search internally and was able to track down your data. If you look at your raw request:

https://ads-api.twitter.com/3/stats/accounts/2kqrus?entity=LINE_ITEM&entity_ids=1ot2go&start_time=2018-04-01&end_time=2018-04-07&granularity=TOTAL&placement=ALL_ON_TWITTER&metric_groups=ENGAGEMENT,WEB_CONVERSION,MOBILE_CONVERSION,MEDIA,VIDEO,BILLING

basically, you’re specifying 1ot2go as a entity_ids but also with entity=LINE_ITEM. The problem here is that 1ot2go is a Promoted Tweet ID rather than a Line Item ID, so you should change it to entity=PROMOTED_TWEET at least. (or specify a Line Item ID with entity=LINE_ITEM)

FYI, the campaign associated with that promoted tweet was only active from 2018-01-03T05:00:00Z to 2018-01-07T05:00:00Z, so I don’t think the date you specified in that raw request will get any valid data.

Best,
Shohei