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

# ListPaidMediaCampaignsAPI lists the organization's owned Google Ads


> campaigns — with each campaign's goal config level and the conversion actions its custom goal holds — beside the conversion actions the organization owns in the account. Reads are tenancy-bound: in a shared account only this organization's campaigns and conversion actions are returned.




## OpenAPI

````yaml /api/openapi.json get /v1/paid-media/campaigns
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, experiments, and bounded outreach.
    Authenticate with a Bearer API key (erdo_api_...) or scoped token
    (erdo_token_...).
  version: '2026-10-22'
servers:
  - url: https://api.erdo.ai
    description: Production
security:
  - bearerAuth: []
paths:
  /v1/paid-media/campaigns:
    get:
      summary: |
        ListPaidMediaCampaignsAPI lists the organization's owned Google Ads
      description: >
        campaigns — with each campaign's goal config level and the conversion
        actions its custom goal holds — beside the conversion actions the
        organization owns in the account. Reads are tenancy-bound: in a shared
        account only this organization's campaigns and conversion actions are
        returned.
      operationId: GET:mcp.ListPaidMediaCampaignsAPI
      parameters:
        - allowEmptyValue: true
          explode: true
          in: query
          name: customer_id
          required: false
          schema:
            type: string
          style: form
      responses:
        '200':
          content:
            application/json:
              schema:
                properties:
                  campaigns:
                    items:
                      $ref: >-
                        #/components/schemas/integrations.GoogleAdsPaidMediaCampaign
                    type: array
                  conversion_actions:
                    items:
                      $ref: >-
                        #/components/schemas/integrations.GoogleAdsPaidMediaConversionAction
                    type: array
                  customer_id:
                    type: string
                type: object
          description: Success response
        default:
          $ref: '#/components/responses/APIError'
components:
  schemas:
    integrations.GoogleAdsPaidMediaCampaign:
      description: >
        conversion-goal decision needs. GoalConfigLevel is Google's
        goal\_config\_level: "CAMPAIGN" when the campaign carries its own goal
        config, "CUSTOMER" otherwise (including a campaign with no config row at
        all, which Google reads the same way). ConversionActions is the custom
        goal's action set and is present only while the campaign is
        campaign-level scoped.
      properties:
        bidding_strategy_type:
          type: string
        conversion_actions:
          items:
            $ref: '#/components/schemas/integrations.GoogleAdsPaidMediaGoalAction'
          type: array
        goal_config_level:
          type: string
        id:
          type: string
        name:
          type: string
        status:
          type: string
      title: |
        GoogleAdsPaidMediaCampaign is one owned campaign with the fields a
      type: object
    integrations.GoogleAdsPaidMediaConversionAction:
      description: |
        organization owns in the account.
      properties:
        category:
          type: string
        id:
          type: string
        name:
          type: string
        primary_for_goal:
          type: boolean
        resource_name:
          type: string
        status:
          type: string
        type:
          type: string
      title: |
        GoogleAdsPaidMediaConversionAction is one conversion action this
      type: object
    integrations.GoogleAdsPaidMediaGoalAction:
      description: >
        custom goal, as the campaign read reports it. Name is filled from the
        organization's OWNED conversion actions only: in a shared account an
        action name is tenant data, so an action in the goal that this
        organization does not own is reported by id alone.
      properties:
        id:
          type: string
        name:
          type: string
      title: >
        GoogleAdsPaidMediaGoalAction is one conversion action inside a
        campaign's
      type: object
  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_...).

````

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