-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvideo.view.lkml
52 lines (45 loc) · 1.04 KB
/
video.view.lkml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
include: "google_adwords_base.view"
view: video_adapter {
extends: [google_adwords_base]
derived_table: {
sql:
SELECT
CURRENT_DATE as _DATA_DATE,
CURRENT_DATE as _LATEST_DATE,
CAST('NA' as TEXT) as ExternalCustomerId,
0 as AdGroupId,
0 as CampaignId,
0 as VideoDuration,
CAST('NA' as TEXT) as VideoId,
CAST('NA' as TEXT) as VideoTitle,
0 as AdGroupId,
0 as CampaignId,
0 as VideoDuration,
CAST('NA' as TEXT) as VideoId,
CAST('NA' as TEXT) as VideoTitle
;;
}
dimension: ad_group_id {
hidden: yes
type: number
sql: ${TABLE}.AdGroupId ;;
}
dimension: campaign_id {
hidden: yes
type: number
sql: ${TABLE}.CampaignId ;;
}
dimension: video_duration {
type: number
sql: ${TABLE}.VideoDuration ;;
}
dimension: video_id {
hidden: yes
type: string
sql: ${TABLE}.VideoId ;;
}
dimension: video_title {
type: string
sql: ${TABLE}.VideoTitle ;;
}
}