Account Id : 18ce54hc7pm
Campaign Id : 98zrp
Line Item Id : 9oj20
Tweet to be published : 902249445617754112
Objective : Video views
POST CALL : 1/accounts/18ce54hc7pm/promoted_tweets/
PARAMS : line_item_id, tweet_ids
ERROR : Tweet : 902249445617754112 not appropriate for objective VIDEO_VIEWS
Can you please help us in identifying why this error is coming. User is able to use the same tweet on Twitter UI without any errors.
Preview of this post is showing a video but post seems to be created as an image post. Post Details are shared below
twurl -H api.twitter.com “/1.1/statuses/show.json?id=902249445617754112” | python -m “json.tool”
{
"contributors": null,
"coordinates": null,
"created_at": "Mon Aug 28 19:20:05 +0000 2017",
"entities": {
"hashtags": [],
"media": [
{
"display_url": "pic.twitter.com/v8Am6rPnZh",
"expanded_url": "https://twitter.com/xfinitymobile/status/902249445617754112/video/1",
"id": 902249022232166400,
"id_str": "902249022232166400",
"indices": [
70,
93
],
"media_url": "http://pbs.twimg.com/amplify_video_thumb/902249022232166400/img/WKvuv1K_UpYepU7O.jpg",
"media_url_https": "https://pbs.twimg.com/amplify_video_thumb/902249022232166400/img/WKvuv1K_UpYepU7O.jpg",
"sizes": {
"large": {
"h": 1280,
"resize": "fit",
"w": 720
},
"medium": {
"h": 1067,
"resize": "fit",
"w": 600
},
"small": {
"h": 604,
"resize": "fit",
"w": 340
},
"thumb": {
"h": 150,
"resize": "crop",
"w": 150
}
},
"type": "photo",
"url": "https://t.co/v8Am6rPnZh"
}
],
"symbols": [],
"urls": [],
"user_mentions": []
},
"extended_entities": {
"media": [
{
"additional_media_info": {
"call_to_actions": {
"visit_site": {
"url": "https://www.xfinity.com/mobile/plan?CMP=SOC:PD:BAU:SUB:COM:XFM:INT593961b503266"
}
},
"description": "Pay by the gig and share data across lines for just $12/GB per month, or go Unlimited for just $45/line per month.",
"embeddable": false,
"monetizable": false,
"title": "It's your choice."
},
"display_url": "pic.twitter.com/v8Am6rPnZh",
"expanded_url": "https://twitter.com/xfinitymobile/status/902249445617754112/video/1",
"id": 902249022232166400,
"id_str": "902249022232166400",
"indices": [
70,
93
],
"media_url": "http://pbs.twimg.com/amplify_video_thumb/902249022232166400/img/WKvuv1K_UpYepU7O.jpg",
"media_url_https": "https://pbs.twimg.com/amplify_video_thumb/902249022232166400/img/WKvuv1K_UpYepU7O.jpg",
"sizes": {
"large": {
"h": 1280,
"resize": "fit",
"w": 720
},
"medium": {
"h": 1067,
"resize": "fit",
"w": 600
},
"small": {
"h": 604,
"resize": "fit",
"w": 340
},
"thumb": {
"h": 150,
"resize": "crop",
"w": 150
}
},
"type": "photo",
"url": "https://t.co/v8Am6rPnZh"
}
]
},
"favorite_count": 1,
"favorited": false,
"geo": null,
"id": 902249445617754112,
"id_str": "902249445617754112",
"in_reply_to_screen_name": null,
"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,
"is_quote_status": false,
"lang": "en",
"place": null,
"possibly_sensitive": false,
"possibly_sensitive_appealable": false,
"retweet_count": 0,
"retweeted": false,
"scopes": {
"followers": false
},
"source": "<a href=\"https://ads.twitter.com\" rel=\"nofollow\">Twitter Ads</a>",
"text": "The daily commute has evolved. It's time your mobile network did too. https://t.co/v8Am6rPnZh",
"truncated": false,
"user": {
"contributors_enabled": false,
"created_at": "Tue Dec 13 21:59:52 +0000 2016",
"default_profile": false,
"default_profile_image": false,
"description": "Introducing a new kind of network designed to save you money.",
"entities": {
"description": {
"urls": []
},
"url": {
"urls": [
{
"display_url": "xfinitymobile.com",
"expanded_url": "http://xfinitymobile.com",
"indices": [
0,
23
],
"url": "https://t.co/o5NZR5CZCE"
}
]
}
},
"favourites_count": 4,
"follow_request_sent": false,
"followers_count": 2193,
"following": false,
"friends_count": 0,
"geo_enabled": false,
"has_extended_profile": false,
"id": 808793586200432640,
"id_str": "808793586200432640",
"is_translation_enabled": false,
"is_translator": false,
"lang": "en",
"listed_count": 3,
"location": "",
"name": "XFINITY Mobile",
"notifications": false,
"profile_background_color": "000000",
"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_banner_url": "https://pbs.twimg.com/profile_banners/808793586200432640/1496938511",
"profile_image_url": "http://pbs.twimg.com/profile_images/900729531698298880/6dXv-Ufp_normal.jpg",
"profile_image_url_https": "https://pbs.twimg.com/profile_images/900729531698298880/6dXv-Ufp_normal.jpg",
"profile_link_color": "259CD8",
"profile_sidebar_border_color": "000000",
"profile_sidebar_fill_color": "000000",
"profile_text_color": "000000",
"profile_use_background_image": false,
"protected": false,
"screen_name": "xfinitymobile",
"statuses_count": 1558,
"time_zone": "Pacific Time (US & Canada)",
"translator_type": "none",
"url": "https://t.co/o5NZR5CZCE",
"utc_offset": -25200,
"verified": true
}
}