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

# List product audiences

> Returns the product's saved audiences and where audience generation stands. Audiences are generated and saved automatically when a product is created, so there is nothing to approve: pass any audience's `id` as `audience_id` when creating a campaign or UGC video. While `generation_status` is `generating`, poll until it is `ready`.



## OpenAPI

````yaml /api/openapi.yaml get /products/{product_id}/audiences
openapi: 3.1.0
info:
  title: LocalAds API
  version: 1.0.0
  description: Public API for LocalAds customer integrations.
servers:
  - url: https://makelocalads.com/api/v1
security:
  - apiKey: []
paths:
  /products/{product_id}/audiences:
    parameters:
      - $ref: '#/components/parameters/ProductId'
    get:
      summary: List product audiences
      description: >-
        Returns the product's saved audiences and where audience generation
        stands. Audiences are generated and saved automatically when a product
        is created, so there is nothing to approve: pass any audience's `id` as
        `audience_id` when creating a campaign or UGC video. While
        `generation_status` is `generating`, poll until it is `ready`.
      operationId: listProductAudiences
      responses:
        '200':
          description: The product's saved audiences.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AudienceList'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '429':
          $ref: '#/components/responses/RateLimited'
components:
  parameters:
    ProductId:
      name: product_id
      in: path
      required: true
      schema:
        type: string
        format: uuid
  schemas:
    AudienceList:
      type: object
      required:
        - generation_status
        - data
      properties:
        generation_status:
          $ref: '#/components/schemas/AudienceGenerationStatus'
        data:
          type: array
          items:
            $ref: '#/components/schemas/Audience'
    AudienceGenerationStatus:
      type: string
      enum:
        - idle
        - generating
        - ready
        - failed
      description: >-
        Where the product's latest audience generation stands. `idle` means it
        never ran; `ready` means its audiences are saved and listed.
    Audience:
      type: object
      description: A saved audience. Its `id` is what `audience_id` takes.
      required:
        - id
        - name
        - demographic
        - motivation
        - created_at
      properties:
        id:
          type: string
          format: uuid
        name:
          type: string
        demographic:
          type:
            - string
            - 'null'
        motivation:
          type:
            - string
            - 'null'
        created_at:
          type: string
          format: date-time
    Problem:
      type: object
      required:
        - type
        - title
        - status
        - detail
        - code
        - request_id
      properties:
        type:
          type: string
          format: uri
        title:
          type: string
        status:
          type: integer
        detail:
          type: string
        code:
          type: string
        request_id:
          type: string
  responses:
    BadRequest:
      description: Invalid request.
      content:
        application/problem+json:
          schema:
            $ref: '#/components/schemas/Problem'
    Unauthorized:
      description: Missing or invalid API key.
      content:
        application/problem+json:
          schema:
            $ref: '#/components/schemas/Problem'
    Forbidden:
      description: >-
        The API key lacks the required permission (`insufficient_permission`),
        the organization's plan does not include API access
        (`plan_upgrade_required`; Pro and Enterprise only), or the organization
        is suspended (`org_suspended`).
      content:
        application/problem+json:
          schema:
            $ref: '#/components/schemas/Problem'
    NotFound:
      description: Resource not found.
      content:
        application/problem+json:
          schema:
            $ref: '#/components/schemas/Problem'
    RateLimited:
      description: API key rate limit exceeded.
      headers:
        Retry-After:
          schema:
            type: integer
      content:
        application/problem+json:
          schema:
            $ref: '#/components/schemas/Problem'
  securitySchemes:
    apiKey:
      type: http
      scheme: bearer
      bearerFormat: lads_...

````