New paused campaign
create_campaignCreate a paused campaign (no spend, no approval needed). Meta: objective and special_ad_categories (an empty array if none), special_ad_category_country (explicit ISO country codes when a category applies); budget_minor for a campaign budget, or no budget_minor and adset_budget_sharing (true recommended by Meta) for ad set budgets. Google: budget_minor and contains_eu_political_advertising; google_type SEARCH (default) creates the campaign only. PERFORMANCE_MAX, DEMAND_GEN and DISPLAY are created together with their asset group or ad group and ad, still paused: countries (ISO codes), final_url (https), headlines (up to 30 characters), descriptions (up to 90), business_name (up to 25) and images as public https links to PNG or JPEG files up to 5 MB — marketing_image_url (1.91:1, from 600×314), square_image_url (1:1, from 300×300), logo_image_url (1:1, from 128×128), landscape_logo_image_url (4:1, from 512×128). PERFORMANCE_MAX: 3–15 headlines, 1–5 long_headlines (up to 90), 2–5 descriptions (one up to 60), both images and the logo. DISPLAY: 1–5 headlines, exactly one long_headline, 1–5 descriptions, both images, optional logos. DEMAND_GEN: 1–5 headlines, 1–5 descriptions, the logo and at least one image; or a video ad — youtube_video (a YouTube link or id), the logo and 1–5 long_headlines instead of images. Optional bidding: MAXIMIZE_CONVERSIONS (target_cpa_minor) or MAXIMIZE_CONVERSION_VALUE (target_roas). The daily budget is limited by the client's policy cap. Microsoft: a Search campaign with budget_minor, all languages (Microsoft has no Russian or Ukrainian) and optional countries (ISO codes). LinkedIn: a DRAFT Sponsored Content campaign with budget_minor, linkedin_objective (WEBSITE_VISIT, WEBSITE_CONVERSION — needs LinkedIn lead feedback, ENGAGEMENT or BRAND_AWARENESS; automated bidding), linkedin_targeting (locations required, values from search_linkedin_targeting), contains_eu_political_advertising and optional linkedin_format — image (default), video, carousel or document (ENGAGEMENT or BRAND_AWARENESS only); LinkedIn fixes the format at creation; Audience Network off. Reddit: a PAUSED campaign with budget_minor (the ad group daily budget) and reddit — the ad group (targeting, bid) and the ad (a post with an image or a video by public https link) are created inside it; Reddit requires a pixel for every ad group and reviews the ad (up to 48 business hours). ChatGPT Ads: a PAUSED campaign with budget_minor (daily, or lifetime with openai.budget_type and end_date) and openai — bidding goal, places, dates, platforms; the ad group and the chat_card ad are added with create_ad_set and create_ad.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| openai | No | ChatGPT Ads campaign (the budget is budget_minor of the campaign): bidding_type clicks (default), impressions or conversions (only with conversion_event_setting_id of an active standard conversion event; it cannot change later); budget_type daily (default) or lifetime (needs end_date); optional start_date / end_date (YYYY-MM-DD in the account time zone); where to show — countries (ISO codes) and / or location_ids from search_openai_locations, optional excluded_countries / excluded_location_ids; optional platforms (ios_app, android_app, web, desktop_web, ios_web, android_web; omitted — all). | |
| No | Reddit campaign: objective CLICKS (traffic) or CONVERSIONS (leads on the site, optimized for the pixel's Lead event); special_ad_category NONE or HOUSING_EMPLOYMENT_CREDIT (jobs, housing, credit — Reddit restricts targeting); pixel_id when the account has several pixels; geolocations (Reddit codes from search_reddit_targeting, e.g. US); optional communities, interests, keywords, languages, devices, schedule; bid_minor — manual CPC bid (otherwise automatic); ad — headline, link, call_to_action, image_url or video_url with thumbnail_url, optional body. | ||
| bidding | No | ||
| countries | No | ISO country codes | |
| final_url | No | ||
| headlines | No | ||
| objective | No | ||
| account_id | Yes | ||
| google_type | No | ||
| target_roas | No | ||
| budget_minor | No | ||
| descriptions | No | ||
| business_name | No | ||
| youtube_video | No | A YouTube video link or id (Demand Gen video ad) | |
| logo_image_url | No | A public https link to a PNG or JPEG file up to 5 MB; the server downloads it; 1:1, at least 128×128 | |
| long_headlines | No | ||
| linkedin_format | No | ||
| square_image_url | No | A public https link to a PNG or JPEG file up to 5 MB; the server downloads it; 1:1, at least 300×300 | |
| target_cpa_minor | No | ||
| linkedin_objective | No | ||
| linkedin_targeting | No | LinkedIn campaign_targeting: only the fields to change; each list is the whole new list | |
| marketing_image_url | No | A public https link to a PNG or JPEG file up to 5 MB; the server downloads it; 1.91:1, at least 600×314 | |
| adset_budget_sharing | No | ||
| special_ad_categories | No | ||
| landscape_logo_image_url | No | A public https link to a PNG or JPEG file up to 5 MB; the server downloads it; 4:1, at least 512×128 (Display) | |
| special_ad_category_country | No | ||
| contains_eu_political_advertising | No |