Create card
x_ads_create_cardConstruct an ad card from raw components and get its card URI for use in X ad campaigns.
Instructions
Create an ad card from raw components. Returns card_uri. Website: [{"type":"MEDIA","media_key":"…"},{"type":"DETAILS","title":"…","destination":{"type":"WEBSITE","url":"https://…"}}]. App cards use BUTTON not DETAILS. Carousel uses SWIPEABLE_MEDIA. If the intended creative failed to upload or process, STOP. Do not promote a still, a source image, or a pre-existing library asset.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| account_id | Yes | Ads API account id from x_ads_list_accounts, e.g. 18ce55v2od2 | |
| components | Yes |