hi, i want to use the Ads API to promoted Video through the Tweet(through the Video App Download Card).
There are four steps.
-
I have already finished Step One( with @andypiper’s help, Demo), I can upload the video and get the media_id of The video.
-
Then, in the second Step, i use “Post /videos” to associate the “media_id” with certain account. And i got the err.
request:
twurl -H ads-api.twitter.com -X POST -d “video_media_id=:media_id&title=-&description=-” /1/accounts/:account_id/videos |jq .
response err:
[{u’message’: u’Media referenced by media_id id was not found.’, u’code’: u’INVALID_MEDIA_ID’}]
in addition, i assume that i can get the result from:
twurl -H ‘ads-api.twitter.com’ /1/accounts/18ce54evwnn/videos | jq .
Does a campaign have serveral different types? I even donot notice it.