This repository has been archived by the owner on Jul 8, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 49
/
audience_analysis.json
executable file
·50 lines (50 loc) · 2.84 KB
/
audience_analysis.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
{
"setup":{
"license":"Licensed under the Apache License, Version 2.0",
"copyright":"Copyright 2020 Google LLC"
},
"tasks": [
{ "dataset":{
"auth":"service",
"dataset":{"field":{ "name":"test_run_id", "kind":"string", "description":"The dataset to use for the test.", "prefix":"StarThinker_Test_Audience_Analysis_", "suffix":"_Campaign_Comparison", "default": "Manual"}},
"clear":true
}},
{ "include": {
"script": "scripts/audience_analysis.json",
"parameters":{
"recipe_name": "Test",
"recipe_slug":{"field":{ "name":"test_run_id", "kind":"string", "description":"The dataset to use for the test.", "prefix":"StarThinker_Test_Audience_Analysis_", "suffix":"_Campaign_Comparison", "default": "Manual"}},
"recipe_project": {"field":{ "name":"recipe_project", "kind":"string", "order":1, "default":"", "description":"Google Cloud Project Id" }},
"partners": {"field":{ "name":"partners", "kind":"integer_list", "order":1, "default":[], "description":"DBM partner id." }},
"advertisers": {"field":{ "name":"advertisers", "kind":"integer_list", "order":2, "default":[], "description":"DBM advertiser id." }}
}
}},
{ "test": {
"auth":"service",
"bigquery":{
"dataset":{"field":{ "name":"test_run_id", "kind":"string", "description":"The dataset to use for the test.", "prefix":"StarThinker_Test_Audience_Analysis_", "suffix":"_Campaign_Comparison", "default": "Manual"}},
"table":"DV360_Audience_Analysis",
"schema":[
{ "name": "advertiser_id", "type": "INTEGER", "mode": "NULLABLE" },
{ "name": "advertiser", "type": "STRING", "mode": "NULLABLE" },
{ "name": "audience_list_id", "type": "INTEGER", "mode": "NULLABLE" },
{ "name": "audience_list_type", "type": "STRING", "mode": "NULLABLE" },
{ "name": "audience_list_category", "type": "STRING", "mode": "NULLABLE" },
{ "name": "audience_list", "type": "STRING", "mode": "NULLABLE" },
{ "name": "audience_list_cost", "type": "FLOAT", "mode": "NULLABLE" },
{ "name": "total_media_cost", "type": "FLOAT", "mode": "NULLABLE" },
{ "name": "impressions", "type": "INTEGER", "mode": "NULLABLE" },
{ "name": "clicks", "type": "INTEGER", "mode": "NULLABLE" },
{ "name": "total_conversions", "type": "FLOAT", "mode": "NULLABLE" },
{ "name": "potential_impressions", "type": "INTEGER", "mode": "NULLABLE" },
{ "name": "potential_reach", "type": "INTEGER", "mode": "NULLABLE" }
]
}
}},
{ "dataset":{
"auth":"service",
"dataset":{"field":{ "name":"test_run_id", "kind":"string", "description":"The dataset to use for the test.", "prefix":"StarThinker_Test_Audience_Analysis_", "suffix":"_Campaign_Comparison", "default": "Manual"}},
"delete":true
}}
]
}