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

# Get available conversion actions

> Get conversion actions available for the specified Google Ads account.

These can be used when configuring conversion goals for campaign creation.



## OpenAPI

````yaml https://dev-api.cattix.com/openapi.json get /api/v1/campaigns/conversion-actions
openapi: 3.1.0
info:
  title: CATTIX API
  description: CATTIX Backend API
  version: 0.107.0
servers:
  - url: http://localhost:8000
    description: Local
  - url: https://dev-api.cattix.com
    description: Development
  - url: https://staging-api.cattix.com
    description: Staging
  - url: https://api.cattix.com
    description: Production
security: []
paths:
  /api/v1/campaigns/conversion-actions:
    get:
      tags:
        - Campaigns
      summary: Get available conversion actions
      description: >-
        Get conversion actions available for the specified Google Ads account.


        These can be used when configuring conversion goals for campaign
        creation.
      operationId: get_conversion_actions_endpoint_api_v1_campaigns_conversion_actions_get
      parameters:
        - name: customer_id
          in: query
          required: true
          schema:
            type: integer
            description: Google Ads customer ID
            title: Customer Id
          description: Google Ads customer ID
        - name: token_id
          in: query
          required: false
          schema:
            anyOf:
              - type: integer
              - type: 'null'
            description: Optional specific Token ID
            title: Token Id
          description: Optional specific Token ID
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConversionActionsResponseSchema'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - OAuth2PasswordBearer: []
components:
  schemas:
    ConversionActionsResponseSchema:
      properties:
        conversion_actions:
          items:
            $ref: '#/components/schemas/ConversionActionSchema'
          type: array
          title: Conversion Actions
      type: object
      required:
        - conversion_actions
      title: ConversionActionsResponseSchema
      description: Response for conversion actions.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ConversionActionSchema:
      properties:
        id:
          type: integer
          title: Id
        name:
          type: string
          title: Name
        category:
          $ref: '#/components/schemas/ConversionCategory'
        status:
          $ref: '#/components/schemas/ConversionActionStatus'
        primary_for_goal:
          type: boolean
          title: Primary For Goal
      type: object
      required:
        - id
        - name
        - category
        - status
        - primary_for_goal
      title: ConversionActionSchema
      description: Conversion action from Google Ads.
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
    ConversionCategory:
      type: string
      enum:
        - PURCHASE
        - SIGNUP
        - LEAD
        - PAGE_VIEW
        - DOWNLOAD
        - ADD_TO_CART
        - BEGIN_CHECKOUT
        - CONTACT
        - SUBMIT_LEAD_FORM
        - BOOK_APPOINTMENT
        - REQUEST_QUOTE
        - GET_DIRECTIONS
        - OUTBOUND_CLICK
        - OTHER
      title: ConversionCategory
      description: Conversion action categories.
    ConversionActionStatus:
      type: string
      enum:
        - ENABLED
        - HIDDEN
        - REMOVED
        - UNKNOWN
        - UNSPECIFIED
      title: ConversionActionStatus
      description: >-
        Status of a conversion action.


        Docs:
        https://developers.google.com/google-ads/api/fields/v22/conversion_action#conversion_action.status
  securitySchemes:
    OAuth2PasswordBearer:
      type: oauth2
      flows:
        password:
          scopes: {}
          tokenUrl: api/v1/users/authorization/token

````