Create ad post
x_ads_create_tweetCreate a promoted-only tweet (nullcast) to use as an ad creative. Provide media or a card URI; returns a tweet ID ready for promotion via ad creation.
Instructions
Create a promoted-only (nullcast) post. media_keys XOR card_uri. Returns tweet id; promote with x_ads_create_ad. nullcast default true. 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 |
|---|---|---|---|
| text | Yes | ||
| card_uri | No | ||
| nullcast | No | ||
| account_id | Yes | Ads API account id from x_ads_list_accounts, e.g. 18ce55v2od2 | |
| as_user_id | No | ||
| media_keys | No |