ktx/python/ktx-sl/sources/b2b_saas/ad_campaigns.yaml

29 lines
526 B
YAML
Raw Permalink Normal View History

2026-05-10 23:12:26 +02:00
name: ad_campaigns
table: ad_campaigns
grain:
- ad_campaign_id
columns:
- name: ad_campaign_id
type: number
- name: ad_account_id
type: number
- name: campaign_name
type: string
- name: channel
type: string
- name: end_date
type: time
role: time
- name: objective
type: string
- name: start_date
type: time
role: time
joins:
- to: ad_accounts
'on': ad_account_id = ad_accounts.ad_account_id
relationship: many_to_one
- to: accounts
'on': ad_account_id = accounts.account_id
relationship: many_to_one