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

# SetPaidMediaCampaignStatusAPI mirrors erdo_set_paid_media_campaign_status:


> pause or enable a provider campaign through the approval gate. Without a standing always-approve policy the response is pending\_approval + the approval request id (202-style: accepted, not performed); with one, the provider call is made and its result returned.




## OpenAPI

````yaml /api/openapi.json post /v1/paid-media/campaigns/{externalID}/status
openapi: 3.0.0
info:
  title: Erdo API
  description: >-
    Erdo's REST API: query and write datasets, run agents, manage threads,
    integrations, pages, evals, workstreams, and experiments. Authenticate with
    a Bearer API key (erdo_api_...) or scoped token (erdo_token_...).
  version: '2026-07-28'
servers:
  - url: https://api.erdo.ai
    description: Production
security:
  - bearerAuth: []
paths:
  /v1/paid-media/campaigns/{externalID}/status:
    post:
      summary: >
        SetPaidMediaCampaignStatusAPI mirrors
        erdo_set_paid_media_campaign_status:
      description: >
        pause or enable a provider campaign through the approval gate. Without a
        standing always-approve policy the response is pending\_approval + the
        approval request id (202-style: accepted, not performed); with one, the
        provider call is made and its result returned.
      operationId: POST:mcp.SetPaidMediaCampaignStatusAPI
      parameters:
        - allowEmptyValue: true
          explode: false
          in: path
          name: externalID
          required: true
          schema:
            type: string
          style: simple
      requestBody:
        content:
          application/json:
            schema:
              properties:
                customer_id:
                  description: >
                    customer ID, 10 digits, dashes allowed). Required — campaign
                    ids are only unique within an account.
                  title: >
                    CustomerID is the provider account the campaign belongs to
                    (Google Ads
                  type: string
                provider:
                  description: >
                    supported today; anything else is rejected with
                    Unimplemented.
                  title: >
                    Provider is the ad platform the campaign lives on. Only
                    "google_ads" is
                  type: string
                reason:
                  description: |
                    shown on the approval card as the WHY beside the WHAT.
                  title: >
                    Reason optionally carries the caller's evidence for the
                    change; it is
                  type: string
                status:
                  description: >
                    deliberately not exposed over /v1 — it is destructive, not
                    lifecycle.
                  title: >
                    Status is the desired serving state: "paused" or "enabled".
                    Removal is
                  type: string
              type: object
      responses:
        '200':
          content:
            application/json:
              schema:
                properties:
                  action_display:
                    description: |
                      it appears on the approval card.
                    title: >
                      ActionDisplay is the human-readable description of the
                      gated action, as
                    type: string
                  approval_request_id:
                    description: >
                      "pending\_approval". Decide it via POST
                      /v1/approvals/{id}/decide or the activity feed; on
                      approval the action executes. Re-proposing the same change
                      dedupes onto this id.
                    title: >
                      ApprovalRequestID is the approval awaiting decision when
                      Status is
                    type: string
                  result:
                    title: >
                      Result is the provider's response when Status is
                      "executed".
                    type: object
                  status:
                    description: >
                      action and the provider call was made, or
                      "pending\_approval" when the action now awaits a human
                      decision (202-style: accepted, not performed).
                    title: >
                      Status is "executed" when a standing always-approve policy
                      covered the
                    type: string
                type: object
          description: Success response
        default:
          $ref: '#/components/responses/APIError'
components:
  responses:
    APIError:
      content:
        application/json:
          schema:
            externalDocs:
              url: https://pkg.go.dev/encore.dev/beta/errs#Error
            properties:
              code:
                description: Error code
                example: not_found
                externalDocs:
                  url: https://pkg.go.dev/encore.dev/beta/errs#ErrCode
                type: string
              details:
                description: Error details
                type: object
              message:
                description: Error message
                type: string
            title: APIError
            type: object
      description: Error response
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: An Erdo API key (erdo_api_...) or scoped token (erdo_token_...).

````