Analytics API not returning all promoted tweets


#1

We are currently experiencing a bug with Twitter’s marketing api. Our end goal is to get stats at the tweet level. However not all promoted tweets are being returned.

My steps:

  1. I find the tweet ids by first querying the following endpoint
    "https://ads-api.twitter.com/0/accounts/{{account_id}}/line_items”
    to retrieve all line items.

  2. Then I queried each line item to retrieve the promoted tweet id and the tweet id by using the following endpoint
    "https://ads-api.twitter.com/0/accounts/{{account_id}}/promoted_tweets?line_item_id={{line_item_id}}”
    the tweet id and the promoted tweet id are returned.


#2

Hi @cchow,

If you can share with us what’s the expected behaviour and what kind of response are you getting will be better to understand your problem.

Your steps are right. but I don’t know anything else.

More information will be helpfull.

Regards!