account | DynamicAccount | Yes | - | Select the X Ads account to create the campaign in. |
funding_instrument_id | string or SelectItem | Yes | - | The funding instrument (payment source) to create the campaign under. Use x_ads_list_funding_instruments to find it. |
name | string | Yes | - | Campaign name, up to 255 characters. |
daily_budget | number | No | - | Daily budget in the ad account’s currency (for example 50 for $50), converted to X micro-currency automatically. Required by X for most funding instrument types, and must not exceed the total budget when both are set. |
total_budget | number | No | - | Total (lifetime) budget in the ad account’s currency, converted to X micro-currency automatically. No total cap is applied when omitted. |
entity_status | enum (ACTIVE, PAUSED, DRAFT) | No | PAUSED | Status to create the campaign with: ACTIVE, PAUSED (default, so nothing serves until reviewed), or DRAFT. |
budget_optimization | enum (LINE_ITEM) | No | - | Budget optimization mode. X currently supports only LINE_ITEM (the default). |
purchase_order_number | string | No | - | Purchase order number used to organize invoices, up to 50 characters. |