> ## 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 Live Campaign Settings

> Fetch current settings for a live Google Ads campaign (for the edit UI).



## OpenAPI

````yaml https://dev-api.cattix.com/openapi.json get /api/v1/campaigns/live/{customer_id}/{campaign_id}
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/live/{customer_id}/{campaign_id}:
    get:
      tags:
        - Campaigns
      summary: Get Live Campaign Settings
      description: Fetch current settings for a live Google Ads campaign (for the edit UI).
      operationId: >-
        get_live_campaign_settings_api_v1_campaigns_live__customer_id___campaign_id__get
      parameters:
        - name: customer_id
          in: path
          required: true
          schema:
            type: integer
            title: Customer Id
        - name: campaign_id
          in: path
          required: true
          schema:
            type: integer
            title: Campaign 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/CampaignSettingsDetailSchema'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - OAuth2PasswordBearer: []
components:
  schemas:
    CampaignSettingsDetailSchema:
      properties:
        campaign_id:
          type: integer
          title: Campaign Id
        campaign_name:
          type: string
          title: Campaign Name
        status:
          type: string
          enum:
            - ENABLED
            - PAUSED
            - REMOVED
          title: Status
        daily_budget_micros:
          type: integer
          title: Daily Budget Micros
        budget_resource_name:
          type: string
          title: Budget Resource Name
        bidding_strategy:
          anyOf:
            - $ref: '#/components/schemas/BiddingStrategySchema'
            - type: 'null'
        network_settings:
          $ref: '#/components/schemas/NetworkSettingsSchema'
        start_date:
          anyOf:
            - type: string
            - type: 'null'
          title: Start Date
        end_date:
          anyOf:
            - type: string
            - type: 'null'
          title: End Date
        language_ids:
          items:
            type: integer
          type: array
          title: Language Ids
        location_targets:
          items:
            $ref: '#/components/schemas/LocationTargetSchema'
          type: array
          title: Location Targets
        ad_schedule:
          anyOf:
            - $ref: >-
                #/components/schemas/api__campaigns__schemas__AdScheduleSchema-Output
            - type: 'null'
        conversion_goals:
          items:
            additionalProperties: true
            type: object
          type: array
          title: Conversion Goals
      type: object
      required:
        - campaign_id
        - campaign_name
        - status
        - daily_budget_micros
        - budget_resource_name
        - network_settings
      title: CampaignSettingsDetailSchema
      description: Full campaign-level settings for a live Google Ads campaign.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    BiddingStrategySchema:
      properties:
        type:
          $ref: '#/components/schemas/BiddingStrategyType'
        target_cpa_micros:
          anyOf:
            - type: integer
              ge: 0
              le: 50000000000
            - type: 'null'
          title: Target Cpa Micros
          description: Required if type is TARGET_CPA
        target_roas:
          anyOf:
            - type: number
              exclusiveMinimum: 0
            - type: 'null'
          title: Target Roas
          description: Required if type is TARGET_ROAS (e.g., 2.0 = 200%)
        max_cpc_bid_ceiling_micros:
          anyOf:
            - type: integer
              ge: 0
              le: 50000000000
            - type: 'null'
          title: Max Cpc Bid Ceiling Micros
          description: Optional ceiling for automated strategies
      type: object
      required:
        - type
      title: BiddingStrategySchema
      description: Bidding strategy configuration.
    NetworkSettingsSchema:
      properties:
        target_google_search:
          type: boolean
          title: Target Google Search
          description: Target Google Search
          default: true
        target_search_network:
          type: boolean
          title: Target Search Network
          description: Target Search partners
          default: false
        target_content_network:
          type: boolean
          title: Target Content Network
          description: Target Display Network
          default: false
      type: object
      title: NetworkSettingsSchema
      description: Network settings for campaign.
    LocationTargetSchema:
      properties:
        geo_target_constant_id:
          type: integer
          exclusiveMinimum: 0
          title: Geo Target Constant Id
          description: Google Ads geo target constant ID
        target_type:
          $ref: >-
            #/components/schemas/api__google_ads_management__schemas__LocationTargetType
          default: INCLUDE
      type: object
      required:
        - geo_target_constant_id
      title: LocationTargetSchema
      description: Location targeting configuration.
    api__campaigns__schemas__AdScheduleSchema-Output:
      properties:
        mode:
          type: string
          enum:
            - ALL_TIME
            - CUSTOM
          title: Mode
        schedule_entries:
          anyOf:
            - items:
                $ref: '#/components/schemas/ScheduleEntrySchema'
              type: array
            - type: 'null'
          title: Schedule Entries
          description: Required if mode is CUSTOM
      type: object
      required:
        - mode
      title: AdScheduleSchema
      description: Ad schedule configuration.
    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
    BiddingStrategyType:
      type: string
      enum:
        - MAXIMIZE_CONVERSIONS
        - MAXIMIZE_CONVERSION_VALUE
        - MAXIMIZE_CLICKS
        - TARGET_CPA
        - TARGET_ROAS
        - TARGET_IMPRESSION_SHARE
        - MANUAL_CPC
      title: BiddingStrategyType
      description: Supported bidding strategy types.
    api__google_ads_management__schemas__LocationTargetType:
      type: string
      enum:
        - INCLUDE
        - EXCLUDE
      title: LocationTargetType
      description: Location targeting type.
    ScheduleEntrySchema:
      properties:
        day_of_week:
          $ref: '#/components/schemas/DayOfWeek'
        start_hour:
          type: integer
          maximum: 23
          minimum: 0
          title: Start Hour
        start_minute:
          type: integer
          enum:
            - 0
            - 15
            - 30
            - 45
          title: Start Minute
          default: 0
        end_hour:
          type: integer
          maximum: 24
          minimum: 0
          title: End Hour
          description: 24 = midnight end
        end_minute:
          type: integer
          enum:
            - 0
            - 15
            - 30
            - 45
          title: End Minute
          default: 0
      type: object
      required:
        - day_of_week
        - start_hour
        - end_hour
      title: ScheduleEntrySchema
      description: Single schedule entry for ad scheduling.
    DayOfWeek:
      type: string
      enum:
        - MONDAY
        - TUESDAY
        - WEDNESDAY
        - THURSDAY
        - FRIDAY
        - SATURDAY
        - SUNDAY
      title: DayOfWeek
      description: Days of the week for ad scheduling.
  securitySchemes:
    OAuth2PasswordBearer:
      type: oauth2
      flows:
        password:
          scopes: {}
          tokenUrl: api/v1/users/authorization/token

````