-
-
Notifications
You must be signed in to change notification settings - Fork 26
/
config.yaml
127 lines (117 loc) · 2.16 KB
/
config.yaml
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
# This access_token is a User access token w/ permission to access API
access_token: <FILL IN>
page_total: 100 # Should be a maximum of 1,000
search_total: 100 # You can query a maximum of 5,000 ads
ad_active_status: ACTIVE # ACTIVE, INACTIVE, or ALL
# You can provide search terms and/or page IDs.
search_terms: aoc
# search_page_ids: # Max 10 pages
# - !!str 153080620724 # page_ids should be str, not int
# - !!str 416707608450706
# Fields for querying all possible metadata from the API
query_fields:
- ad_creation_time
- ad_creative_body
- ad_creative_link_caption
- ad_creative_link_description
- ad_creative_link_title
- ad_delivery_start_time
- ad_delivery_stop_time
- ad_snapshot_url
- demographic_distribution
- funding_entity
- impressions
- page_id
- page_name
- region_distribution
- spend
# Fields which are included in the main CSV, including derived fields
output_fields:
- ad_id
- page_id
- page_name
- ad_creative_body
- ad_creative_link_caption
- ad_creative_link_description
- ad_creative_link_title
- ad_delivery_start_time
- ad_delivery_stop_time
- funding_entity
- impressions_min
- impressions_max
- spend_min
- spend_max
- ad_url
# Fields for the unnested CSVs
demo_fields:
- ad_id
- age
- gender
- percentage
region_fields:
- ad_id
- region
- percentage
demo_ages:
- 18-24
- 25-34
- 35-44
- 45-54
- 55-64
- 65+
demo_genders:
- male
- female
- unknown
regions:
- Alabama
- Arkansas
- California
- Connecticut
- Florida
- Georgia
- Idaho
- Illinois
- Indiana
- Kansas
- Kentucky
- Maryland
- Massachusetts
- Minnesota
- Mississippi
- Nebraska
- New Jersey
- New Mexico
- New York
- North Carolina
- Ohio
- Oregon
- South Carolina
- South Dakota
- Tennessee
- Virginia
- Washington
- West Virginia
- Montana
- Pennsylvania
- Wisconsin
- Alaska
- Arizona
- Colorado
- Delaware
- Washington, District of Columbia
- Hawaii
- Iowa
- Louisiana
- Maine
- Michigan
- Missouri
- North Dakota
- Oklahoma
- Rhode Island
- Nevada
- New Hampshire
- Texas
- Utah
- Vermont
- Wyoming