We have 2 problems with line item of aawt4 .
-
We get the tweets associated with the aawt4 (as Command1 below ), but failed to get the tweet preview with tweet_id.
-
The tweet with tweet_id of 916103098380124161 is not shown in Twitter Ads UI even it is alive (“deleted”: false).
https://ads.twitter.com/ads_manager/18ce54iditw/fundingsources/41060762/campaigns/14548248/adgroups/17071463/ads/
Command1
$ twurl -H "https://ads-api.twitter.com" -X GET "/2/accounts/18ce54iditw/promoted_tweets?line_item_ids=aawt4&with_deleted=true" | jq
{
"request": {
"params": {
"with_deleted": true,
"account_id": "18ce54iditw",
"line_item_ids": [
"aawt4"
]
}
},
"next_cursor": null,
"data": [
{
"line_item_id": "aawt4",
"id": "1k5e2z",
"entity_status": "ACTIVE",
"created_at": "2017-11-02T08:02:27Z",
"updated_at": "2017-11-02T08:02:27Z",
"approval_status": "ACCEPTED",
"tweet_id": "916103098380124161",
"deleted": false
},
{
"line_item_id": "aawt4",
"id": "1ltxox",
"entity_status": "ACTIVE",
"created_at": "2017-11-30T07:30:10Z",
"updated_at": "2017-12-13T05:37:30Z",
"approval_status": "ACCEPTED",
"tweet_id": "936135228631875584",
"deleted": true
}
]
}
Command2
$ twurl -H "https://ads-api.twitter.com" -X GET "/2/accounts/18ce54iditw/tweet/preview/936135228631875584" | jq .
{
"errors": [
{
"code": "NOT_FOUND",
"message": "Tweet 936135228631875584 was not found"
}
],
"request": {
"params": {}
}
}