Hi @imit8me,
We’re first creating the Card.
Input
{
"url": "https:\/\/ads-api.twitter.com\/2\/accounts\/18ce54fxokc\/cards\/website",
"method": "POST",
"parameters": {
"name": "HOF3_ESHS_HowDecide_ManChin_TwitterFEco_0118",
"app_country_code": "GB",
"website_title": "Descargue \"La gu\u00eda para seleccionar acciones\", si dispone de 350.000\u20ac.",
"website_url": "https:\/\/ad.doubleclick.net\/ddm\/trackclk\/N709325.2365703DIGITALGROUP_ES\/B20252984.204378397;dc_trk_aid=405270565;dc_trk_cid=96894488;dc_lat=;dc_rdid=;tag_for_child_directed_treatment=",
"image_media_id": 951401723020660736
}
}
Output
{
"data": {
"name": "HOF3_ESHS_HowDecide_ManChin_TwitterFEco_0118",
"website_shortened_url": "https:\/\/t.co\/iKvBpQLzrz",
"image_display_height": "100",
"image": "https:\/\/pbs.twimg.com\/ad_img\/951401723020660736\/vRHfYZ_F?format=jpg&name=orig",
"preview_url": "https:\/\/cards.twitter.com\/cards\/18ce54fxokc\/57zfl",
"website_display_url": "www.fisherinvestments.eu",
"id": "57zfl",
"account_id": "18ce54fxokc",
"website_dest_url": "https:\/\/www.fisherinvestments.eu\/es\/guia-para-seleccionar-acciones\/3m\/index.php?kc=DGGDGP3A283MHOF3&alleycode=3M&country=ES&PC=DGGDGP3A28&CC=HOF3",
"created_at": "2018-01-11T10:33:46Z",
"image_display_width": "191",
"website_title": "Descargue \"La gu\u00eda para seleccionar acciones\", si dispone de 350.000\u20ac.",
"card_uri": "card:\/\/951401742041800704",
"website_url": "https:\/\/ad.doubleclick.net\/ddm\/trackclk\/N709325.2365703DIGITALGROUP_ES\/B20252984.204378397;dc_trk_aid=405270565;dc_trk_cid=96894488;dc_lat=;dc_rdid=;tag_for_child_directed_treatment=",
"updated_at": "2018-01-11T10:33:46Z",
"deleted": false,
"card_type": "WEBSITE"
},
"request": {
"params": {
"name": "HOF3_ESHS_HowDecide_ManChin_TwitterFEco_0118",
"website_shortened_url": "https:\/\/t.co\/iKvBpQLzrz",
"image_display_height": "100",
"image": "https:\/\/pbs.twimg.com\/ad_img\/951401723020660736\/vRHfYZ_F?format=jpg&name=orig",
"website_display_url": "www.fisherinvestments.eu",
"account_id": "18ce54fxokc",
"website_dest_url": "https:\/\/www.fisherinvestments.eu\/es\/guia-para-seleccionar-acciones\/3m\/index.php?kc=DGGDGP3A283MHOF3&alleycode=3M&country=ES&PC=DGGDGP3A28&CC=HOF3",
"image_display_width": "191",
"website_title": "Descargue \"La gu\u00eda para seleccionar acciones\", si dispone de 350.000\u20ac.",
"website_url": "https:\/\/ad.doubleclick.net\/ddm\/trackclk\/N709325.2365703DIGITALGROUP_ES\/B20252984.204378397;dc_trk_aid=405270565;dc_trk_cid=96894488;dc_lat=;dc_rdid=;tag_for_child_directed_treatment=",
"card_type": "WEBSITE"
}
}
}
Then we’re creating the Tweet.
Input
{
"url": "https:\/\/ads-api.twitter.com\/2\/accounts\/18ce54fxokc\/tweet\/",
"method": "POST",
"parameters": {
"text": "\u00bfC\u00f3mo decide qu\u00e9 acciones debe vender?",
"as_user_id": "3008331884",
"card_uri": "card:\/\/951401742041800704"
}
}
Output
"data": {
"created_at": "Thu Jan 11 10:33:46 +0000 2018",
"id": 951401743425949696,
"id_str": "951401743425949696",
"text": "\u00bfC\u00f3mo decide qu\u00e9 acciones debe vender?",
"truncated": false,
"entities": {
"hashtags": [],
"symbols": [],
"user_mentions": [],
"urls": []
},
"source": "<a href=\"http:\/\/gus.adsopt.im\" rel=\"nofollow\">AdsOptim<\/a>",
"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": 3008331884,
"id_str": "3008331884",
"name": "Fisher InvestmentsES",
"screen_name": "FisherInvestES",
"location": "Espa\u00f1a",
"url": "https:\/\/www.fisherinvestments.com\/es-es\/",
"description": "Fisher Investments Espa\u00f1a es la denominaci\u00f3n comercial de Fisher Investments Europe Limited en Espa\u00f1a.",
"protected": false,
"followers_count": 779,
"friends_count": 185,
"listed_count": 4,
"created_at": "Mon Feb 02 19:12:43 +0000 2015",
"favourites_count": 22,
"utc_offset": 3600,
"time_zone": "Madrid",
"geo_enabled": false,
"verified": false,
"statuses_count": 562,
"lang": "en",
"contributors_enabled": false,
"is_translator": false,
"is_translation_enabled": true,
"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\/566393580982255617\/nOJkVxgm_normal.png",
"profile_image_url_https": "https:\/\/pbs.twimg.com\/profile_images\/566393580982255617\/nOJkVxgm_normal.png",
"profile_banner_url": "https:\/\/pbs.twimg.com\/profile_banners\/3008331884\/1422904524",
"profile_link_color": "1DA1F2",
"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": false,
"follow_request_sent": false,
"notifications": false,
"translator_type": "none"
},
"geo": null,
"coordinates": null,
"place": null,
"contributors": [
3589550297
],
"retweet_count": 0,
"favorite_count": 0,
"favorited": false,
"retweeted": false,
"possibly_sensitive": false,
"scopes": {
"followers": false
},
"card": {
"name": "promo_website",
"url": "card:\/\/951401742041800704",
"card_type_url": "http:\/\/card-type-url-is-deprecated.invalid",
"binding_values": {
"website_shortened_url": {
"type": "STRING",
"string_value": "https:\/\/t.co\/iKvBpQLzrz"
},
"_forward_card_height_": {
"type": "STRING",
"string_value": "140"
},
"vanity_url": {
"type": "STRING",
"string_value": "www.fisherinvestments.eu"
},
"website_dest_url": {
"type": "STRING",
"string_value": "https:\/\/www.fisherinvestments.eu\/es\/guia-para-seleccionar-acciones\/3m\/index.php?kc=DGGDGP3A283MHOF3&alleycode=3M&country=ES&PC=DGGDGP3A28&CC=HOF3"
},
"website_url": {
"type": "STRING",
"string_value": "https:\/\/ad.doubleclick.net\/ddm\/trackclk\/N709325.2365703DIGITALGROUP_ES\/B20252984.204378397;dc_trk_aid=405270565;dc_trk_cid=96894488;dc_lat=;dc_rdid=;tag_for_child_directed_treatment="
},
"title": {
"type": "STRING",
"string_value": "Descargue \"La gu\u00eda para seleccionar acciones\", si dispone de 350.000\u20ac."
},
"promo_image_small": {
"type": "IMAGE",
"image_value": {
"url": "https:\/\/pbs.twimg.com\/ad_img\/951401723020660736\/vRHfYZ_F?format=jpg&name=orig",
"width": 800,
"height": 418,
"alt": null
}
},
"promo_image": {
"type": "IMAGE",
"image_value": {
"url": "https:\/\/pbs.twimg.com\/ad_img\/951401723020660736\/vRHfYZ_F?format=jpg&name=orig",
"width": 800,
"height": 418,
"alt": null
}
},
"promo_image_large": {
"type": "IMAGE",
"image_value": {
"url": "https:\/\/pbs.twimg.com\/ad_img\/951401723020660736\/vRHfYZ_F?format=jpg&name=orig",
"width": 800,
"height": 418,
"alt": null
}
},
"promo_image_x_large": {
"type": "IMAGE",
"image_value": {
"url": "https:\/\/pbs.twimg.com\/ad_img\/951401723020660736\/vRHfYZ_F?format=jpg&name=orig",
"width": 800,
"height": 418,
"alt": null
}
},
"promo_image_color": {
"type": "IMAGE_COLOR",
"image_color_value": {
"palette": [
{
"percentage": 67.99,
"rgb": {
"red": 228,
"green": 230,
"blue": 227
}
},
{
"percentage": 16.94,
"rgb": {
"red": 31,
"green": 47,
"blue": 73
}
},
{
"percentage": 4.54,
"rgb": {
"red": 140,
"green": 105,
"blue": 86
}
},
{
"percentage": 3.93,
"rgb": {
"red": 126,
"green": 149,
"blue": 187
}
},
{
"percentage": 1.52,
"rgb": {
"red": 198,
"green": 160,
"blue": 129
}
}
]
}
},
"card_url": {
"type": "STRING",
"string_value": "https:\/\/twitter.com",
"scribe_key": "card_url"
}
},
"card_platform": {
"platform": {
"device": {
"name": "AdsApi",
"version": "13"
},
"audience": {
"name": "production",
"bucket": null
}
}
}
},
"lang": "es"
},
"request": {
"params": {
"text": "\u00bfC\u00f3mo decide qu\u00e9 acciones debe vender?",
"as_user_id": 3008331884,
"card_uri": "card:\/\/951401742041800704",
"account_id": "18ce54fxokc"
}
}
Thanks,
Chris