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

# Call ads.video_ad

> Make an ad a video ad: Goosy makes a short from the ad's own words, saves it in the campaign's project and puts it on the ad — 'make the second ad a video', 'turn The plain offer into a short', 'make Ad 1 as a short video for Reels', 'I want a video ad for this campaign too'. It also puts a video or short already made on one ad — 'put my finished short Launch day on The plain offer' — named in `video` by its title as Videos or Shorts shows it. Name one ad by its creative_id, its place on the board ('1') or its name as the board shows it; leave it out only when the board keeps one ad. Set every_ad only when they ask for every ad on the campaign ('make each ad its own short', 'video versions of all of them'): one call takes the campaign's ads in the board's order, so it is never called once per ad, and an ask for one video ad is never every ad. This tool reads the ads, the campaign's audience and its project itself, so the short is never started with the Videos or Shorts tools and never asked where to save. When state is asking, the short of the ad in `ad` needs one answer first: ask next_ask at once with `ask_user`, next_choices as its options word for word (they are what the short's brief reads), and end the turn on that question. When they reply, call this again with their reply as answer and creative_id set to that ad's creative_id (every_ad as before): it records the reply on that ad, starts its short and returns the next ad's question while one is open. Each entry in videos is an ad with its video on it, reviewed on its own screen (video_href); while video_ready is false its finished file is not there yet and the launch waits for it. Say a short is being made only for an entry with started true; any other is on the ad, waiting for its finished file. Say a video is on an ad only from an entry in videos, and say its `note` beside it when present. Making a short starts drawing its beats and pictures, which spends credits; it launches nothing. When the call names an ad the board cannot match, the answer lists the board's ads: pick the one they meant and call again, or ask when two could fit. While a brief is still being written and no campaign exists yet, record the video on the brief instead. Not for redrawing an ad's picture — that is `ads.recompose_crop` — or for a video that is not for an ad, which is `videos.make`. Over the API it answers in two calls: without confirmation_id it proposes — says what would happen, returns a confirmation_id and changes, spends and sends nothing; the same arguments again with that confirmation_id, on a member's own API key, do it.

Every result names the workspace it ran in. Say which workspace the answer is about. When the account has more than one workspace and none is selected, this tool refuses with `workspace_ambiguous` and lists the choices — offer them, never pick one.



## OpenAPI

````yaml /openapi.json post /api/v1/tools/ads.video_ad
openapi: 3.1.0
info:
  title: Goosy Bear API
  version: 1.0.0-beta
  summary: Manage workspace content, projects, Data tables, Pages, library and credits.
  description: >-
    BETA. This API is in beta: paths, request shapes and response envelopes may
    change, and every response carries an `x-goosy-api: beta` header for as long
    as that is true. A change is additive, or it is deprecated first: a response
    to a call that uses a deprecated feature carries `Deprecation` and `Sunset`
    headers, and nothing is removed until at least 90 days after its
    deprecation. Pin the OpenAPI document you generated against and re-generate
    when it changes.
servers:
  - url: https://app.goosybear.ai
    description: Production
security:
  - tenantApiKey: []
paths:
  /api/v1/tools/ads.video_ad:
    post:
      tags:
        - ads
      summary: Call ads.video_ad
      description: >-
        Make an ad a video ad: Goosy makes a short from the ad's own words,
        saves it in the campaign's project and puts it on the ad — 'make the
        second ad a video', 'turn The plain offer into a short', 'make Ad 1 as a
        short video for Reels', 'I want a video ad for this campaign too'. It
        also puts a video or short already made on one ad — 'put my finished
        short Launch day on The plain offer' — named in `video` by its title as
        Videos or Shorts shows it. Name one ad by its creative_id, its place on
        the board ('1') or its name as the board shows it; leave it out only
        when the board keeps one ad. Set every_ad only when they ask for every
        ad on the campaign ('make each ad its own short', 'video versions of all
        of them'): one call takes the campaign's ads in the board's order, so it
        is never called once per ad, and an ask for one video ad is never every
        ad. This tool reads the ads, the campaign's audience and its project
        itself, so the short is never started with the Videos or Shorts tools
        and never asked where to save. When state is asking, the short of the ad
        in `ad` needs one answer first: ask next_ask at once with `ask_user`,
        next_choices as its options word for word (they are what the short's
        brief reads), and end the turn on that question. When they reply, call
        this again with their reply as answer and creative_id set to that ad's
        creative_id (every_ad as before): it records the reply on that ad,
        starts its short and returns the next ad's question while one is open.
        Each entry in videos is an ad with its video on it, reviewed on its own
        screen (video_href); while video_ready is false its finished file is not
        there yet and the launch waits for it. Say a short is being made only
        for an entry with started true; any other is on the ad, waiting for its
        finished file. Say a video is on an ad only from an entry in videos, and
        say its `note` beside it when present. Making a short starts drawing its
        beats and pictures, which spends credits; it launches nothing. When the
        call names an ad the board cannot match, the answer lists the board's
        ads: pick the one they meant and call again, or ask when two could fit.
        While a brief is still being written and no campaign exists yet, record
        the video on the brief instead. Not for redrawing an ad's picture — that
        is `ads.recompose_crop` — or for a video that is not for an ad, which is
        `videos.make`. Over the API it answers in two calls: without
        confirmation_id it proposes — says what would happen, returns a
        confirmation_id and changes, spends and sends nothing; the same
        arguments again with that confirmation_id, on a member's own API key, do
        it.


        Every result names the workspace it ran in. Say which workspace the
        answer is about. When the account has more than one workspace and none
        is selected, this tool refuses with `workspace_ambiguous` and lists the
        choices — offer them, never pick one.
      operationId: call_ads_video_ad
      parameters:
        - name: x-request-id
          in: header
          required: false
          description: >-
            Your own id for this request, echoed back and recorded on the audit
            trail. 1–128 characters from `A–Z a–z 0–9 . _ : -`, starting with a
            letter or digit; anything else is replaced by a generated id.
          schema:
            type: string
            maxLength: 128
      requestBody:
        required: false
        content:
          application/json:
            schema:
              type: object
              properties:
                campaign_id:
                  description: >-
                    The campaign's id. Leave it out to use the campaign the
                    person is looking at.
                  type: string
                creative_id:
                  description: >-
                    One ad: its creative_id from the board's tools, its place on
                    the board ('2' for the second) or its name as the board
                    shows it. Leave it out when the board keeps one ad. With
                    every_ad, the ad the last result asked about (`ad`), set
                    only beside answer.
                  type: string
                every_ad:
                  description: >-
                    True only when the person asked for every ad on the
                    campaign: their kept ads, in the board's order, each made a
                    short. Leave it out for one ad.
                  type: boolean
                answer:
                  description: >-
                    The person's reply, in their words, to the question this
                    tool's last result asked (next_ask). Leave it out otherwise.
                  type: string
                  minLength: 1
                  maxLength: 600
                video:
                  description: >-
                    A video or short already made, to put on the ad as it is:
                    its title exactly as Videos or Shorts shows it, or its id.
                    Leave it out to make the ad's short.
                  type: string
                  minLength: 1
                  maxLength: 300
                confirmation_id:
                  description: >-
                    Omit to propose: the first call says what would happen,
                    returns a confirmation_id and changes nothing. To go ahead,
                    send the same arguments again with that confirmation_id, on
                    a member's own API key; a service account's key can propose
                    but never confirm.
                  type: string
                  format: uuid
                  pattern: >-
                    ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$
                workspace:
                  description: >-
                    Which workspace to run in — its slug. Omit to use your
                    default. With more than one reachable workspace and no
                    default, the call is refused and the choices are listed.
                  type: string
                  minLength: 1
              additionalProperties: false
      responses:
        '200':
          description: >-
            The call was admitted and dispatched. `ok` says whether the tool
            succeeded — a refusal the tool itself produced is still a 200,
            exactly as it is a successful JSON-RPC result over MCP.
          headers:
            x-goosy-api:
              description: Present while this API is in beta; the value is `beta`.
              schema:
                type: string
                const: beta
            x-request-id:
              description: >-
                This request's id: the `x-request-id` you sent when it was well
                formed, otherwise one generated for you. Quote it to support; it
                is recorded on every audit row the call wrote.
              schema:
                type: string
            RateLimit-Limit:
              description: Requests this key may make in a rolling minute.
              schema:
                type: integer
                minimum: 1
            RateLimit-Remaining:
              description: Requests left in the current rolling minute.
              schema:
                type: integer
                minimum: 0
            RateLimit-Reset:
              description: Whole seconds until the window frees more requests.
              schema:
                type: integer
                minimum: 1
            x-goosy-tool-error:
              description: >-
                `true` when a boundary step refused the call — workspace
                resolution failed or could not be read. A tool that ran and
                returned its own typed `ok: false` reports `false` here.
                **Branch on `ok` in the body for the outcome; this header is the
                transport-level hint.**
              schema:
                type: string
                enum:
                  - 'true'
                  - 'false'
          content:
            application/json:
              schema:
                oneOf:
                  - type: object
                    description: The tool ran and answered.
                    properties:
                      ok:
                        type: boolean
                        const: true
                      state:
                        anyOf:
                          - type: string
                            const: confirmation_required
                          - type: string
                            enum:
                              - asking
                              - on_ad
                            description: >-
                              asking: an ad's short needs next_ask answered
                              before it is made. on_ad: every ad the call named
                              has its video.
                      confirmation_id:
                        type: string
                        format: uuid
                        pattern: >-
                          ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$
                      expires_in_seconds:
                        type: integer
                        exclusiveMinimum: 0
                      request_summary:
                        type: string
                        description: >-
                          What will happen, in one sentence, for a person to
                          approve before confirming.
                      ad:
                        anyOf:
                          - type: object
                            properties:
                              creative_id:
                                type: string
                              place:
                                type: integer
                              name:
                                type: string
                            required:
                              - creative_id
                              - place
                              - name
                            additionalProperties: false
                          - type: 'null'
                      next_ask:
                        type:
                          - string
                          - 'null'
                      next_choices:
                        type: array
                        items:
                          type: string
                        description: >-
                          The answers to next_ask, in the words the short's
                          brief reads: the options when you ask it. Empty when
                          any words answer it.
                      loads:
                        type: array
                        items:
                          type: string
                          const: ads.video_ad
                      videos:
                        type: array
                        items:
                          type: object
                          properties:
                            creative_id:
                              type: string
                            place:
                              type: integer
                            name:
                              type: string
                            video_id:
                              type: string
                            video_title:
                              type: string
                            video_ready:
                              type: boolean
                            video_href:
                              type: string
                            started:
                              type: boolean
                            note:
                              type:
                                - string
                                - 'null'
                          required:
                            - creative_id
                            - place
                            - name
                            - video_id
                            - video_title
                            - video_ready
                            - video_href
                            - started
                            - note
                          additionalProperties: false
                        description: >-
                          The ads the call named that have their video, in the
                          board's order.
                      workspace:
                        type: string
                        description: The slug of the workspace this call ran in.
                      working_in:
                        type: object
                        properties:
                          label:
                            type: string
                            description: 'The chip words — e.g. "working in: Acme Main".'
                          note:
                            type: string
                            description: >-
                              Why this workspace — e.g. "your default", "this
                              call only".
                          workspace:
                            type: string
                            description: The resolved workspace's slug.
                          source:
                            type: string
                            enum:
                              - call-override
                              - key-pin
                              - stored-default
                              - sole-reachable
                            description: >-
                              Why this workspace was chosen: the call named it
                              (`call-override`), the key is pinned to it
                              (`key-pin`), it is your default
                              (`stored-default`), or it is the only one the key
                              reaches (`sole-reachable`).
                        required:
                          - label
                          - note
                          - workspace
                          - source
                        description: >-
                          Which workspace this call ran in, and how that was
                          decided. Present on every workspace-scoped result.
                        additionalProperties: false
                    required:
                      - ok
                      - state
                      - working_in
                      - workspace
                  - $ref: '#/components/schemas/ToolRefusal'
        '400':
          description: >-
            The request could not be used: the body is present but not a JSON
            object (`tenant_api.malformed_body`); it is a top-level array
            carrying more messages than this endpoint accepts
            (`tenant_mcp.batch_too_large`); or the `Idempotency-Key` header is
            malformed (`tenant_api.idempotency_key_invalid`), disagrees with the
            body's `idempotency_key` (`tenant_api.idempotency_key_conflict`), or
            was sent to an action that cannot replay a retry
            (`tenant_api.idempotency_unsupported`). Nothing ran.
          headers:
            x-goosy-api:
              description: Present while this API is in beta; the value is `beta`.
              schema:
                type: string
                const: beta
            x-request-id:
              description: >-
                This request's id: the `x-request-id` you sent when it was well
                formed, otherwise one generated for you. Quote it to support; it
                is recorded on every audit row the call wrote.
              schema:
                type: string
            Deprecation:
              description: >-
                RFC 9745: this refusal's nested `error` object is deprecated,
                since this instant (`@<unix seconds>`).
              schema:
                type: string
            Sunset:
              description: >-
                RFC 8594: the nested `error` object may be removed after this
                date (2026-12-31).
              schema:
                type: string
            Link:
              description: The page that says what to read instead (`rel="deprecation"`).
              schema:
                type: string
            RateLimit-Limit:
              description: Requests this key may make in a rolling minute.
              schema:
                type: integer
                minimum: 1
            RateLimit-Remaining:
              description: Requests left in the current rolling minute.
              schema:
                type: integer
                minimum: 0
            RateLimit-Reset:
              description: Whole seconds until the window frees more requests.
              schema:
                type: integer
                minimum: 1
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: >-
            No bearer credential, or one that did not resolve. Deliberately ONE
            undifferentiated answer for absent / unknown / revoked / expired, so
            the endpoint is never an oracle over the key space.
          headers:
            x-goosy-api:
              description: Present while this API is in beta; the value is `beta`.
              schema:
                type: string
                const: beta
            x-request-id:
              description: >-
                This request's id: the `x-request-id` you sent when it was well
                formed, otherwise one generated for you. Quote it to support; it
                is recorded on every audit row the call wrote.
              schema:
                type: string
            Deprecation:
              description: >-
                RFC 9745: this refusal's nested `error` object is deprecated,
                since this instant (`@<unix seconds>`).
              schema:
                type: string
            Sunset:
              description: >-
                RFC 8594: the nested `error` object may be removed after this
                date (2026-12-31).
              schema:
                type: string
            Link:
              description: The page that says what to read instead (`rel="deprecation"`).
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: >-
            The credential is good but the surface is not open to it — the
            platform or account API switch is off, or the holder lacks the
            `api.access` capability. The `code` says which.
          headers:
            x-goosy-api:
              description: Present while this API is in beta; the value is `beta`.
              schema:
                type: string
                const: beta
            x-request-id:
              description: >-
                This request's id: the `x-request-id` you sent when it was well
                formed, otherwise one generated for you. Quote it to support; it
                is recorded on every audit row the call wrote.
              schema:
                type: string
            Deprecation:
              description: >-
                RFC 9745: this refusal's nested `error` object is deprecated,
                since this instant (`@<unix seconds>`).
              schema:
                type: string
            Sunset:
              description: >-
                RFC 8594: the nested `error` object may be removed after this
                date (2026-12-31).
              schema:
                type: string
            Link:
              description: The page that says what to read instead (`rel="deprecation"`).
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: >-
            No such tool. The body names no tool and is identical for every
            unrecognised name.
          headers:
            x-goosy-api:
              description: Present while this API is in beta; the value is `beta`.
              schema:
                type: string
                const: beta
            x-request-id:
              description: >-
                This request's id: the `x-request-id` you sent when it was well
                formed, otherwise one generated for you. Quote it to support; it
                is recorded on every audit row the call wrote.
              schema:
                type: string
            Deprecation:
              description: >-
                RFC 9745: this refusal's nested `error` object is deprecated,
                since this instant (`@<unix seconds>`).
              schema:
                type: string
            Sunset:
              description: >-
                RFC 8594: the nested `error` object may be removed after this
                date (2026-12-31).
              schema:
                type: string
            Link:
              description: The page that says what to read instead (`rel="deprecation"`).
              schema:
                type: string
            RateLimit-Limit:
              description: Requests this key may make in a rolling minute.
              schema:
                type: integer
                minimum: 1
            RateLimit-Remaining:
              description: Requests left in the current rolling minute.
              schema:
                type: integer
                minimum: 0
            RateLimit-Reset:
              description: Whole seconds until the window frees more requests.
              schema:
                type: integer
                minimum: 1
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: >-
            Over this key's per-minute cap. Carries `Retry-After` and
            `error.retry_after_seconds`.
          headers:
            x-goosy-api:
              description: Present while this API is in beta; the value is `beta`.
              schema:
                type: string
                const: beta
            x-request-id:
              description: >-
                This request's id: the `x-request-id` you sent when it was well
                formed, otherwise one generated for you. Quote it to support; it
                is recorded on every audit row the call wrote.
              schema:
                type: string
            Deprecation:
              description: >-
                RFC 9745: this refusal's nested `error` object is deprecated,
                since this instant (`@<unix seconds>`).
              schema:
                type: string
            Sunset:
              description: >-
                RFC 8594: the nested `error` object may be removed after this
                date (2026-12-31).
              schema:
                type: string
            Link:
              description: The page that says what to read instead (`rel="deprecation"`).
              schema:
                type: string
            RateLimit-Limit:
              description: Requests this key may make in a rolling minute.
              schema:
                type: integer
                minimum: 1
            RateLimit-Remaining:
              description: Requests left in the current rolling minute.
              schema:
                type: integer
                minimum: 0
            RateLimit-Reset:
              description: Whole seconds until the window frees more requests.
              schema:
                type: integer
                minimum: 1
            Retry-After:
              description: Whole seconds to wait before retrying.
              schema:
                type: integer
                minimum: 1
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    ToolRefusal:
      type: object
      properties:
        ok:
          type: boolean
          const: false
        code:
          type: string
          description: >-
            The typed reason — e.g. `workspace_ambiguous`, `invalid_arguments`,
            or the tool's own failure code.
        message:
          type: string
          description: A sentence a person can act on.
        workspaces:
          description: 'On a workspace refusal: the slugs this key may pass as `workspace`.'
          type: array
          items:
            type: string
        issues:
          description: 'On `invalid_arguments`: which fields failed, and why.'
          type: array
          items:
            type: object
            properties:
              path:
                type: string
              message:
                type: string
            required:
              - path
              - message
            additionalProperties: false
        path:
          description: >-
            On an authoring refusal: where in your call's input it points, e.g.
            `steps.<key>.params.<field>`.
          type: string
        fix:
          description: 'On an authoring refusal: the change to your call that would pass.'
          type: string
        instruction:
          description: 'On an authoring refusal: what to do next with it.'
          type: string
      required:
        - ok
        - code
        - message
      description: A call that was admitted and dispatched, and did not succeed.
      additionalProperties: false
    Error:
      type: object
      properties:
        ok:
          type: boolean
          const: false
        code:
          type: string
          description: >-
            The typed refusal code — e.g. `tenant_mcp.rate_limited`,
            `tenant_api.unknown_tool`.
        message:
          type: string
          description: A sentence a person can act on.
        retry_after_seconds:
          description: 'On a 429: whole seconds to wait. Mirrors `Retry-After`.'
          type: number
        error:
          type: object
          properties:
            code:
              type: string
            message:
              type: string
            retry_after_seconds:
              type: number
          required:
            - code
            - message
          description: >-
            Deprecated: the same values as the top-level fields, kept until
            2026-12-31. Read `code` and `message` at the top level.
          additionalProperties: false
      required:
        - ok
        - code
        - message
        - error
      description: >-
        A request the boundary refused before dispatching anything. The same
        shape the MCP endpoint answers its own refusals with, and the same
        top-level fields a dispatched call's refusal carries, so one client
        branch covers both.
      additionalProperties: false
  securitySchemes:
    tenantApiKey:
      type: http
      scheme: bearer
      description: >-
        An API key minted at Settings › API & MCP. Send it as `Authorization:
        Bearer <key>`. A key carries its holder's own permissions, resolved on
        every call — revoking a membership closes the key's reach immediately.
        Keep it in an environment variable (`GOOSY_API_KEY`), never in a
        committed file.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.