I got an issue with the Twitter Ads relevant to Scheduled Tweets endpoint as following.

I have register an scheduled tweet, but it returns null for tweet_id,

But, the tweet has been already published at https://twitter.com/tw_sunpox/status/1395348587731578889

I got this issue sometime, really hard to reproduce, I hope that the twitter Ads team help me to review and fix this.

@juanshishido help me!

I think that this issue with the below issue is the same root cause.

On this case I think as below:

  1. The system call to create the publish tweet at 2021-05-20T12:00:00Z, and the tweet is created at 2021-05-20T12:00:02Z (it takes 2 seconds).
  2. The system call with no wait (with a callback to update the result), and it has set few times try. (I guess that it will repeat in 30 seconds)
    A second later (at 2021-05-20T12:00:01Z), no returns and it try again, but in this the same before. and it will try few more times.
  3. The first call returns fine, but the later calls is failed because of duplicated tweet, and the final tweet_id is null.

Note: The system I describe above stand for the scheduled system which will perform for publishing the scheduled tweets. (I don’t know what you call it)

Thanks for reporting this. It sounds like the Tweets are correctly created but the Scheduled Tweet itself isn’t updated to correctly reflect the new Tweet ID. We’ve heard infrequent reports of this happening and wondering if you could describe the impact to your users.

1 Like

I’m sorry for late response.

We are using Scheduled Tweet endpoint to promote the published tweets automatically (Twitter allows to setup this on the ads management tool). This will help the specific our marketing event or auto reply campaign. We have to get the published tweet id to count/trace and recognize the user who had the question or joined our auto reply campaign. We have an AI system, it will reply to users automatically.

If we can get the published tweet our system will not work. That is our problem.