create_campaign
[Buy] Create an ad campaign booking on a placement: pick adUnitType -- prefer agent-directed cpr/cpia/cppromo/cpd to reach the agent's own recommendation/decision path instead of a human click -- set budgetCredits, attach creative, and optionally a couponCode and postbackUrl for attribution. Debits advertiser credits into escrow. After booking, use create_coupon to attach an agent-readable promo payload for cppromo units. Aliases: buy_campaign, buy_placement.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| feedType | No | Optional opaque product-feed type. Defaults from placement when omitted. | |
| productId | No | Optional SKU id when booking a single product feed unit. | |
| adUnitType | No | ||
| couponCode | No | Optional coupon/promo code end users redeem for this campaign (e.g. cpa/cpl/cpi offers). | |
| creativeUrl | No | ||
| placementId | Yes | ||
| postbackUrl | No | Optional server-to-server postback URL fired on conversion (see register_postback). | |
| creativeText | No | ||
| durationDays | No | ||
| budgetCredits | Yes | Total campaign budget in credits, escrowed on creation. | |
| productImageUrl | No | Optional snapshot of product image.url at booking. | |
| productImageWidth | No | ||
| productImageHeight | No | ||
| productPriceAmount | No | ||
| productPriceCurrency | No | ||
| productDiscountPercent | No |