version: 2

models:
  - name: INT_GOOGLE_ADS__CAMPAIGN_GLOBAL_PARTICIPANT_DBT
    description: ""
    tests:
      - dbt_utils.unique_combination_of_columns:
          arguments:
            combination_of_columns:
              - CAMPAIGN_ID
              - GLOBAL_PARTICIPANT_ID
    columns:
      - name: campaign_id
        data_type: number
        description: ""
        tests:
          - not_null

      - name: global_participant_id
        data_type: varchar
        description: ""
        tests:
          - not_null

  - name: INT_GOOGLE_ADS__FIVETRAN_SCHEMA_ACCOUNT
    description: ""
    columns:
      - name: fivetran_schema
        data_type: varchar
        description: ""
        tests:
          - not_null

      - name: ad_account_id
        data_type: varchar
        description: ""
        tests:
          - not_null

      - name: vendor_id
        data_type: number
        description: ""
        tests:
          - not_null

      - name: subaccount_id
        data_type: number
        description: ""
        tests:
          - not_null

      - name: vendor_name
        data_type: varchar
        description: ""
        tests:
          - not_null

      - name: brand_name
        data_type: varchar
        description: ""

  - name: INT_GOOGLE_ADS__AVAILABLE_SOURCE_SCHEMAS_DBT
    description: ""
    columns:
      - name: source_schema
        data_type: varchar
        description: ""
        tests:
          - not_null
          - unique

  - name: INT_GOOGLE_ADS__CAMPAIGN_TARGET_COUNTRY
    description: ""
    columns:
      - name: source_schema
        data_type: varchar
        description: ""

      - name: campaign_id
        data_type: number
        description: ""
        tests:
          - not_null

      - name: negative
        data_type: boolean
        description: ""
        tests:
          - not_null

      - name: targeting_countries
        data_type: array
        description: ""
