forked from google/starthinker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
itp_audit.json
55 lines (55 loc) · 3.93 KB
/
itp_audit.json
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
53
54
55
{
"setup": {
"hour": [ 3 ],
"day": [ "Mon" ],
"license":"Licensed under the Apache License, Version 2.0",
"copyright":"Copyright 2020 Google LLC"
},
"tasks": [
{ "dataset":{
"auth":{"field":{ "name":"auth_bq", "kind":"authentication", "order":1, "default":"service", "description":"Credentials used for BigQuery." }},
"dataset":{"field":{ "name":"test_run_id", "kind":"string", "description":"The dataset to use for the test.", "prefix":"StarThinker_Test_ITP_Audit_", "default": "Manual"}},
"clear":true
}},
{ "include":{
"script":"scripts/itp_audit.json",
"parameters":{
"date_range":"LAST_7_DAYS",
"recipe_name": {"field":{ "name":"recipe_name", "kind":"string", "description":"The name of the recipe.", "prefix":"StarThinker Test ITP Audit ", "default": "Manual"}},
"recipe_slug": {"field":{ "name":"test_run_id", "kind":"string", "description":"The dataset to use for the test.", "prefix":"StarThinker_Test_ITP_Audit_", "default": "Manual"}},
"cm_account_id":{"field":{ "name":"cm_account_id", "kind":"string", "description":"Campaign Manager Account Id." }},
"floodlight_configuration_ids":{"field":{ "name":"floodlight_configuration_ids", "kind":"integer_list", "description":"Floodlight Configuration Id for the Campaign Manager floodlight report." }},
"cm_advertiser_ids":{"field":{ "name":"cm_advertiser_ids", "kind":"integer_list", "description":"Optional: Comma delimited list of DCM advertiser ids." }},
"dv360_partner_id":{"field":{ "name":"dv360_partner_id", "kind":"integer", "description":"Comma delimited list of DV360 Partner ids." }},
"dv360_advertiser_ids":{"field":{ "name":"dv360_advertiser_ids", "kind":"integer_list", "description":"Optional: Comma delimited list of DV360 Advertiser ids." }},
"auth_dv": {"field":{ "name":"auth_dv", "kind":"authentication", "order":1, "default":"user", "description":"Credentials used for DV360." }},
"auth_cm": {"field":{ "name":"auth_cm", "kind":"authentication", "order":1, "default":"user", "description":"Credentials used for CM." }},
"auth_sheets": {"field":{ "name":"auth_sheets", "kind":"authentication", "order":1, "default":"user", "description":"Credentials used for Sheets." }},
"auth_bq": {"field":{ "name":"auth_bq", "kind":"authentication", "order":1, "default":"service", "description":"Credentials used for BigQuery." }}
}
}},
{ "test": {
"auth":{"field":{ "name":"auth_bq", "kind":"authentication", "order":1, "default":"service", "description":"Credentials used for BigQuery." }},
"bigquery":{
"dataset":{"field":{ "name":"test_run_id", "kind":"string", "description":"The dataset to use for the test.", "prefix":"StarThinker_Test_ITP_Audit_", "default": "Manual"}},
"table":"CM_Floodlight_Multichart",
"schema":[
{ "name":"browser_platform", "type":"STRING", "mode":"NULLABLE" },
{ "name":"percent_attributed", "type":"FLOAT", "mode":"NULLABLE" },
{ "name":"percent_unattributed", "type":"FLOAT", "mode":"NULLABLE" },
{ "name":"share_of_floodlight_impressions", "type":"FLOAT", "mode":"NULLABLE" },
{ "name":"attributed_conv", "type":"FLOAT", "mode":"NULLABLE" },
{ "name":"unattributed_conv", "type":"FLOAT", "mode":"NULLABLE" },
{ "name":"total_convs", "type":"FLOAT", "mode":"NULLABLE" },
{ "name":"grand_total_convs", "type":"FLOAT", "mode":"NULLABLE" },
{ "name":"Floodlight_Configuration", "type":"INTEGER", "mode":"NULLABLE" }
]
}
}},
{ "dataset":{
"auth":{"field":{ "name":"auth_bq", "kind":"authentication", "order":1, "default":"service", "description":"Credentials used for BigQuery." }},
"dataset":{"field":{ "name":"test_run_id", "kind":"string", "description":"The dataset to use for the test.", "prefix":"StarThinker_Test_ITP_Audit_", "default": "Manual"}},
"delete":false
}}
]
}