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

# Update Ad



## OpenAPI

````yaml /actionkit/openapi.json POST /projects/{project_id}/tools/#FACEBOOK_ADS_UPDATE_AD
openapi: 3.0.0
info:
  title: ActionKit Tools API
  version: 1.0.0
servers:
  - url: https://actionkit.useparagon.com
    description: US Cloud
security: []
paths:
  /projects/{project_id}/tools/#FACEBOOK_ADS_UPDATE_AD:
    post:
      summary: Update Ad
      parameters:
        - name: project_id
          in: path
          required: true
          schema:
            type: string
            description: >-
              Your Paragon Project ID. You can copy your Project ID from your
              dashboard URL or by clicking Copy Project ID under the Environment
              switcher.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                tool:
                  type: string
                  default: FACEBOOK_ADS_UPDATE_AD
                parameters:
                  type: object
                  properties:
                    adId:
                      type: string
                      description: 'Ad ID : The ID of the ad to update.'
                    name:
                      type: string
                      description: 'Name : Specify a name for this ad.'
                    status:
                      type: string
                      description: >-
                        Status : This value will default to Paused to prevent
                        your test account from being billed while testing.
                        Change this to Active for production uses.
                      enum:
                        - PAUSED
                        - ACTIVE
                        - ARCHIVED
                        - DELETED
                    adCreativeId:
                      type: string
                      description: >-
                        Ad Creative ID : The ID of the ad creative to use for
                        this ad.
                  required:
                    - adId
                  x-integration: facebookAds
              required:
                - tool
                - parameters
      responses:
        '200':
          description: Success
      security:
        - BearerAuth: []
components:
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: >-
        Your [Paragon User
        Token](/getting-started/installing-the-connect-sdk#setup) (JWT), which
        you can generate using your project's signing keys.

````