POST promoted_tweets


#1

I have trouble when creating promoted tweets.
Steps I’m following:

  1. I created a tweet by POST accounts/:account_id/tweet

Request:

twurl -H ads-api.twitter.com “/0/accounts/ftr8ac/tweet” -d “staus=abc&as_user_id=956971956”

Response:

{“data_type”:“status”,“data”:{“created_at”:“Tue Jan 05 02:39:39 +0000 2016”,“id”:684202570777112576,“id_str”:“684202570777112576”,“text”:“abc”,“source”:"\u003ca href=“http://engagemanager.com” rel=“nofollow”\u003eEngageManagerAdsForDev\u003c/a\u003e",“truncated”:false,“in_reply_to_status_id”:null,“in_reply_to_status_id_str”:null,“in_reply_to_user_id”:null,“in_reply_to_user_id_str”:null,“in_reply_to_screen_name”:null,“user”:{“id”:956971956,“id_str”:“956971956”,“name”:“chiba_hamako”,“screen_name”:“chiba_hamako”,“location”:"",“url”:null,“description”:"",“protected”:true,“followers_count”:10,“friends_count”:0,“listed_count”:0,“created_at”:“Mon Nov 19 08:05:22 +0000 2012”,“favourites_count”:11,“utc_offset”:32400,“time_zone”:“Tokyo”,“geo_enabled”:false,“verified”:false,“statuses_count”:1380,“lang”:“ja”,“contributors_enabled”:false,“is_translator”:false,“is_translation_enabled”:false,“profile_background_color”:“C0DEED”,“profile_background_image_url”:“http://abs.twimg.com/images/themes/theme1/bg.png",“profile_background_image_url_https”:“https://abs.twimg.com/images/themes/theme1/bg.png”,“profile_background_tile”:false,“profile_image_url”:“http://pbs.twimg.com/profile_images/506362719155392512/pjVlsUog_normal.jpeg”,“profile_image_url_https”:“https://pbs.twimg.com/profile_images/506362719155392512/pjVlsUog_normal.jpeg”,“profile_banner_url”:“https://pbs.twimg.com/profile_banners/956971956/1412757653”,“profile_link_color”:“0084B4”,“profile_sidebar_border_color”:“C0DEED”,“profile_sidebar_fill_color”:“DDEEF6”,“profile_text_color”:“333333”,“profile_use_background_image”:true,“has_extended_profile”:false,“default_profile”:true,“default_profile_image”:false,“following”:true,“follow_request_sent”:false,“notifications”:false},“geo”:null,“coordinates”:null,“place”:null,“contributors”:null,“retweet_count”:0,“favorite_count”:0,“entities”:{“hashtags”:[],“symbols”:[],“user_mentions”:[],“urls”:[]},“favorited”:false,“retweeted”:false,“scopes”:{“followers”:false},“lang”:“und”},“request”:{“params”:{“status”:“abc”,“as_user_id”:956971956,“account_id”:"ftr8ac”}}}

So I get a tweet_id returned from above response:

“id”:684202570777112576

  1. After that, I create promoted tweet by POST accounts/:account_id/promoted_tweets

Request:

twurl -H ads-api.twitter.com “/0/accounts/ftr8ac/promoted_tweets” -d “line_item_id=3xwq6&tweet_ids=684202570777112576”

Response:

{“errors”:[{“code”:“NOT_FOUND”,“message”:“Tweet 684202570777112576 was not found”}],“request”:{“params”:{}}}

I had tried many times, but i always hadn’t received same errors. I can’t post promoted tweet.
Please help me !! Thanks!!


#2

Closing as this is a duplicate, let’s keep the conversation in that original thread which I assume you started under a different user name.


#3