I receive this metadata when pulling promoted tweets:
• "“line_item_id”: “2huvx”,
• “id”: “7d2ll”,
• “paused”: false,
• “created_at”: “2015-05-17T17:37:44Z”,
• “updated_at”: “2015-05-17T17:37:44Z”,
• “approval_status”: “ACCEPTED”,
• “tweet_id”: “599907274065215488”,
• “deleted”: false
That part is working fine. When I attempt to retrieve the promoted tweet stats I get the following message:
{
• “errors”: [
o {
“code”: “PROMOTED_TWEET_NOT_FOUND”,
“message”: “Promoted Tweet 7d2ll was not found for Account 18ce53vxjp0”
}
• ],
• “request”: {
o “params”: {
“promoted_tweet_id”: “7d2ll”,
“account_id”: “18ce53vxjp0”
}
• }
}
I am able to pull stats for some of the promoted tweets that are returned from this call:
https://ads-api.twitter.com/0/accounts/18ce53vxjp0/promoted_tweets
However getting the stats produces the above error using the following endpoint:
https://ads-api.twitter.com/0/stats/accounts/18ce53vxjp0/promoted_tweets/7d2ll?start_time=2015-05-20&granularity=TOTAL