In order to respect content ownership rights, we will be closing a loophole that allowed any user to upload long videos (greater than 140 seconds in length) using the POST media/upload endpoint. This will take effect on 2017-09-29.
Once this change is in place, videos will either succeed or fail on upload (after the
FINALIZE step), based on whether or not the user has been granted access to upload long videos. For users who have not been granted access, the following error will be returned from the GET media/upload (status) endpoint after they upload a video greater than 140 seconds in length:
"message":"Duration 6.minutes+56.seconds+218.milliseconds exceeds max duration of 2.minutes+20.seconds"
Because a majority of ads videos are less than 140 seconds, impact to advertisers and partners should be minimal.
Users without the permission who wish to upload long videos can contact their Twitter sales representatives for access.
Twitter Ads API Team