> ## 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 All Customers Access

> Get all Google Ads customer access records from the database (admin only).

Args:
    _superuser_user: The superuser (injected dependency)

Returns:
    list[GoogleAdsCustomerAccessSchema]: List of all Google Ads customer access records,
    including company information and login customer IDs.



## OpenAPI

````yaml https://dev-api.cattix.com/openapi.json get /api/v1/google-ads-database-data/customers/access/admin
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/google-ads-database-data/customers/access/admin:
    get:
      tags:
        - Google Ads Database
      summary: Get All Customers Access
      description: >-
        Get all Google Ads customer access records from the database (admin
        only).


        Args:
            _superuser_user: The superuser (injected dependency)

        Returns:
            list[GoogleAdsCustomerAccessSchema]: List of all Google Ads customer access records,
            including company information and login customer IDs.
      operationId: >-
        get_all_customers_access_api_v1_google_ads_database_data_customers_access_admin_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/GoogleAdsCustomerAccessSchema'
                type: array
                title: >-
                  Response Get All Customers Access Api V1 Google Ads Database
                  Data Customers Access Admin Get
      security:
        - OAuth2PasswordBearer: []
components:
  schemas:
    GoogleAdsCustomerAccessSchema:
      properties:
        id:
          type: integer
          title: Id
        date_added:
          type: string
          format: date-time
          title: Date Added
        date_updated:
          type: string
          format: date-time
          title: Date Updated
        is_active:
          type: boolean
          title: Is Active
          default: true
        is_deleted:
          type: boolean
          title: Is Deleted
          default: false
        company_id:
          type: integer
          title: Company Id
          description: The company ID that provides access
        company_name:
          type: string
          title: Company Name
          description: The company name that provides access
        google_ads_customer:
          $ref: >-
            #/components/schemas/api__google_ads__database_data__schemas__GoogleAdsCustomerSchema
          description: The Google Ads customer
        login_customer_id:
          anyOf:
            - type: integer
            - type: 'null'
          title: Login Customer Id
          description: The login customer ID (optional)
      type: object
      required:
        - id
        - date_added
        - date_updated
        - company_id
        - company_name
        - google_ads_customer
      title: GoogleAdsCustomerAccessSchema
      description: Schema for Google Ads customer access through company membership.
    api__google_ads__database_data__schemas__GoogleAdsCustomerSchema:
      properties:
        id:
          type: integer
          title: Id
          description: The customer ID
        date_added:
          type: string
          format: date-time
          title: Date Added
        date_updated:
          type: string
          format: date-time
          title: Date Updated
        is_active:
          type: boolean
          title: Is Active
          default: true
        is_deleted:
          type: boolean
          title: Is Deleted
          default: false
        descriptive_name:
          type: string
          title: Descriptive Name
          description: The descriptive name of the customer
        currency_code:
          type: string
          title: Currency Code
          description: The currency code
        time_zone:
          type: string
          title: Time Zone
          description: The time zone
        status:
          type: string
          title: Status
          description: The status of the customer
        manager:
          type: boolean
          title: Manager
          description: Whether the customer is a manager account
      type: object
      required:
        - id
        - date_added
        - date_updated
        - descriptive_name
        - currency_code
        - time_zone
        - status
        - manager
      title: GoogleAdsCustomerSchema
      description: Schema for GoogleAdsCustomer model.
  securitySchemes:
    OAuth2PasswordBearer:
      type: oauth2
      flows:
        password:
          scopes: {}
          tokenUrl: api/v1/users/authorization/token

````