create_campaign
Create ONE Meta campaign (created PAUSED for review). Free-plan friendly — counts toward your monthly campaign limit. To launch many at once or from a Drive folder, use bulk_create_campaigns (Pro). Needs a public imageUrl (or Drive/Dropbox share link) for image ads. WRITES live.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| appId | No | App ID for App Promotion campaigns. | |
| useCBO | No | ||
| headline | No | ||
| imageUrl | No | Image for the ad. Paste a PUBLIC https image URL, OR a single Google Drive / Dropbox file share link (shared so 'Anyone with the link can view') — these are auto-converted. For a single campaign, ask the user for ONE image's share link. (Listing a whole Drive folder to spin up one campaign per image is a Pro feature.) | |
| videoUrl | No | ||
| catalogId | No | ||
| cboBudget | No | ||
| countries | No | ISO country codes; defaults to IN. | |
| ctaButton | No | ||
| objective | Yes | ||
| leadFormId | No | Instant-form ID for lead campaigns (instant_forms / website_and_instant_forms). | |
| websiteUrl | No | ||
| appStoreUrl | No | App store URL for App Promotion campaigns. | |
| bidStrategy | No | LOWEST_COST_WITHOUT_CAP / COST_CAP / LOWEST_COST_WITH_BID_CAP / LOWEST_COST_WITH_MIN_ROAS. | |
| dailyBudget | No | ||
| description | No | ||
| phoneNumber | No | Phone number for Calls campaigns. | |
| primaryText | No | ||
| campaignName | Yes | ||
| productSetId | No | ||
| conversionEvent | No | Pixel event for conversion goals, e.g. PURCHASE, LEAD, ADD_TO_CART. | |
| meta_account_id | No | Ad account to create on (defaults to your primary). | |
| performanceGoal | No | ||
| specialAdCategory | No | HOUSING / EMPLOYMENT / CREDIT / ISSUES_ELECTIONS_POLITICS (default NONE). | |
| conversionLocation | No |