> ## Documentation Index
> Fetch the complete documentation index at: https://docs.adside.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Create Meta Campaign

> Create a new Meta ad campaign. Specify the objective, name, and either a daily or lifetime budget (not both). Optionally set start/stop times, special ad categories, and bid strategy. The campaign will be created in PAUSED status unless otherwise specified. Returns the new campaign ID and summary. Objective choice is binding — it cannot be changed after creation, and each objective only supports certain conversion events at the ad-set level: booked-call and lead funnels (pixel events SCHEDULE, LEAD, or lead forms) need OUTCOME_LEADS; OUTCOME_SALES only optimizes purchase-type events (PURCHASE, INITIATED_CHECKOUT, ADD_TO_CART, ...) and rejects SCHEDULE/LEAD (Meta subcode 2446814). Bid strategy: when a campaign-level budget is set (CBO) and bid_strategy is omitted, Meta defaults to LOWEST_COST_WITH_BID_CAP, which then requires bid_amount on every ad set — pass bid_strategy LOWEST_COST_WITHOUT_CAP for auto-bidding (the Ads Manager default) unless you intend to manage bid caps.



## OpenAPI

````yaml /api-reference/openapi.yaml post /meta/mcp#create_meta_campaign
openapi: 3.1.0
info:
  title: Multi-Source Ads API
  version: 1.0.0
  description: >-
    Unified API for managing ad campaigns across Meta, LinkedIn, and Google. MCP
    tools are accessed via JSON-RPC 2.0 over HTTP (`POST /{source}/mcp`). Google
    Sheets/Drive endpoints use standard REST.
servers:
  - url: https://api.adside.ai
    description: Production
  - url: http://localhost:3100
    description: Local development
security:
  - bearerAuth: []
tags:
  - name: Accounts
    description: ''
  - name: Ads
    description: ''
  - name: Analytics
    description: ''
  - name: Asset Groups
    description: ''
  - name: Assets
    description: ''
  - name: Audiences
    description: ''
  - name: Campaign Groups
    description: ''
  - name: Campaigns
    description: ''
  - name: Conversions
    description: ''
  - name: Creatives
    description: ''
  - name: Drive
    description: ''
  - name: Google
    description: ''
  - name: Google Ads
    description: ''
  - name: Google Tag Manager
    description: ''
  - name: Keywords
    description: ''
  - name: Linkedin
    description: ''
  - name: Meta
    description: ''
  - name: Meta Reporting
    description: ''
  - name: OAuth
    description: ''
  - name: Other
    description: ''
  - name: Reports
    description: ''
  - name: Sheets
    description: ''
  - name: Targeting
    description: ''
  - name: Tiktok
    description: ''
  - name: Workspace
    description: ''
paths:
  /meta/mcp#create_meta_campaign:
    post:
      tags:
        - Meta
        - Campaigns
      summary: Create Meta Campaign
      description: >-
        Create a new Meta ad campaign. Specify the objective, name, and either a
        daily or lifetime budget (not both). Optionally set start/stop times,
        special ad categories, and bid strategy. The campaign will be created in
        PAUSED status unless otherwise specified. Returns the new campaign ID
        and summary. Objective choice is binding — it cannot be changed after
        creation, and each objective only supports certain conversion events at
        the ad-set level: booked-call and lead funnels (pixel events SCHEDULE,
        LEAD, or lead forms) need OUTCOME_LEADS; OUTCOME_SALES only optimizes
        purchase-type events (PURCHASE, INITIATED_CHECKOUT, ADD_TO_CART, ...)
        and rejects SCHEDULE/LEAD (Meta subcode 2446814). Bid strategy: when a
        campaign-level budget is set (CBO) and bid_strategy is omitted, Meta
        defaults to LOWEST_COST_WITH_BID_CAP, which then requires bid_amount on
        every ad set — pass bid_strategy LOWEST_COST_WITHOUT_CAP for
        auto-bidding (the Ads Manager default) unless you intend to manage bid
        caps.
      operationId: meta_create_meta_campaign
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - jsonrpc
                - method
                - params
              properties:
                jsonrpc:
                  type: string
                  const: '2.0'
                id:
                  type: string
                  example: '1'
                method:
                  type: string
                  const: tools/call
                params:
                  type: object
                  required:
                    - name
                    - arguments
                  properties:
                    name:
                      type: string
                      const: create_meta_campaign
                    arguments:
                      $ref: '#/components/schemas/meta_create_meta_campaign_input'
      responses:
        '200':
          description: JSON-RPC response with tool result
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/McpToolResponse'
        '401':
          description: Missing or invalid API key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '403':
          description: Channel not connected or access denied
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '429':
          description: Rate limit exceeded
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      security:
        - bearerAuth: []
components:
  schemas:
    meta_create_meta_campaign_input:
      type: object
      properties:
        account_id:
          description: Meta Ad Account ID (uses configured account if not provided)
          type: string
        name:
          type: string
          minLength: 1
          description: Campaign name
        objective:
          type: string
          enum:
            - OUTCOME_APP_PROMOTION
            - OUTCOME_AWARENESS
            - OUTCOME_ENGAGEMENT
            - OUTCOME_LEADS
            - OUTCOME_SALES
            - OUTCOME_TRAFFIC
          description: Campaign objective using Outcome-Driven Ad Experience (ODAE) format
        status:
          default: PAUSED
          description: Initial campaign status
          type: string
          enum:
            - ACTIVE
            - PAUSED
        daily_budget:
          description: Daily budget in account-currency cents (e.g. 1000 = $10.00).
          type: number
          exclusiveMinimum: 0
        lifetime_budget:
          description: Lifetime budget in account-currency cents (e.g. 20000 = $200.00).
          type: number
          exclusiveMinimum: 0
        start_time:
          description: Campaign start time (ISO 8601 format)
          type: string
        stop_time:
          description: Campaign stop time (ISO 8601 format)
          type: string
        special_ad_categories:
          description: >-
            Special ad categories for regulated industries (required for legal,
            financial services, etc.)
          type: array
          items:
            type: string
            enum:
              - NONE
              - EMPLOYMENT
              - HOUSING
              - CREDIT
              - SOCIAL_ISSUES_ELECTIONS_POLITICS
        bid_strategy:
          description: Bid strategy for the campaign
          type: string
          enum:
            - LOWEST_COST_WITHOUT_CAP
            - LOWEST_COST_WITH_BID_CAP
            - COST_CAP
        bid_cap:
          description: >-
            Bid cap amount in account currency cents (required for
            LOWEST_COST_WITH_BID_CAP)
          type: number
          exclusiveMinimum: 0
        budget_optimization:
          description: Enable campaign budget optimization across ad sets
          type: boolean
      required:
        - name
        - objective
      $schema: http://json-schema.org/draft-07/schema#
    McpToolResponse:
      type: object
      properties:
        jsonrpc:
          type: string
          const: '2.0'
        id:
          type: string
        result:
          type: object
          properties:
            content:
              type: array
              items:
                type: object
                properties:
                  type:
                    type: string
                    const: text
                  text:
                    type: string
                    description: JSON-stringified tool result
    ErrorResponse:
      type: object
      properties:
        error:
          type: string
          description: Error message
        code:
          type: string
          enum:
            - UNAUTHORIZED
            - FORBIDDEN
            - NOT_FOUND
            - RATE_LIMITED
            - INTERNAL_ERROR
          description: Error code
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        API key (sk_live_*) — SHA256 hashed, looked up in Redis. Generate via
        the web app's workspace settings.

````