> ## 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.

# SetPaidMediaCampaignBudgetAPI mirrors erdo_set_paid_media_campaign_budget:


> change a provider campaign's daily budget (micros) through the approval gate, with the same propose/execute semantics as the status endpoint.




## OpenAPI

````yaml /api/openapi.json post /v1/paid-media/campaigns/{externalID}/budget
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-29'
servers:
  - url: https://api.erdo.ai
    description: Production
security:
  - bearerAuth: []
paths:
  /v1/paid-media/campaigns/{externalID}/budget:
    post:
      summary: >
        SetPaidMediaCampaignBudgetAPI mirrors
        erdo_set_paid_media_campaign_budget:
      description: >
        change a provider campaign's daily budget (micros) through the approval
        gate, with the same propose/execute semantics as the status endpoint.
      operationId: POST:mcp.SetPaidMediaCampaignBudgetAPI
      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.
                  title: >
                    CustomerID is the provider account the campaign belongs to
                    (Google Ads
                  type: string
                daily_budget_micros:
                  description: |
                    currency (50000000 = $50.00). Must be positive.
                  format: int64
                  title: >
                    DailyBudgetMicros is the new daily budget in micros of the
                    account
                  type: integer
                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
              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_...).

````