-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
238 lines (213 loc) · 13.6 KB
/
index.html
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
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
<!DOCTYPE html>
<html>
<head>
<title>Checklist generator</title>
<link rel="stylesheet" type="text/css" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css">
<!-- Google Tag Manager -->
<script>
(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-KP4ZM69');
</script>
<!-- End Google Tag Manager -->
</head>
<body>
<!-- Google Tag Manager (noscript) -->
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-KP4ZM69"
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->
<div class="container">
<div class="card">
<div class="card-header text-center">
Facebook Ads checklist generator
</div>
<div class="card-body">
<h5 class="card-title text-center">Выберите параметры вашей рекламной кампании Facebook</h5>
<br><br>
<form class="text-center" id="paramsForm">
<div id="base-params">
<div id="accordion">
<div class="card">
<div class="card-header" id="headingOne">
<h5 class="mb-0">
<a class="btn btn-link" data-toggle="collapse" data-target="#collapseCompany" aria-expanded="false" aria-controls="collapseCompany" style="cursor: pointer;">
Настройки кампании
</a>
</h5>
</div>
<div id="collapseCompany" class="collapse show" aria-labelledby="headingOne">
<div class="card-body" id="campaingParams">
<div class="form-group col-md-4 offset-md-4">
<label for="typeGoal"> Цель рекламной кампании</label>
<select id="typeGoal" class="form-control">
<option value="goal_lead_form">Лид-форма</option>
<option value="goal_message">Сообщения</option>
<option value="goal_traffic">Трафик</option>
<option value="goal_conversion">Конверсия</option>
</select>
</div>
</div>
</div>
</div>
<div class="card">
<div class="card-header" id="headingTwo">
<h5 class="mb-0">
<a class="btn btn-link collapsed" data-toggle="collapse" data-target="#collapseAdset" aria-expanded="false" aria-controls="collapseAdset" style="cursor: pointer;">
Настройки группы объявлений
</a>
</h5>
</div>
<div id="collapseAdset" class="collapse" aria-labelledby="headingTwo">
<div class="card-body" id="adsetParams">
<div class="form-group col-md-4 offset-md-4">
<label for="budgetType">Тип бюджета</label>
<select id="budgetType" class="form-control">
<option value="budget_type_dayly">Дневной</option>
<option value="budget_type_all">На весь период</option>
</select>
</div>
<div class="form-group col-md-4 offset-md-4">
<label for="deviceExclude">Уточнение по устройствам</label>
<select id="deviceExclude" class="form-control">
<option value="device_exclude_enabled">Используется</option>
<option value="device_exclude_disabled">Не используется</option>
</select>
</div>
<div class="form-group col-md-4 offset-md-4">
<label for="auditoryExpansion">Автоматическое расширение аудитории</label>
<select id="auditoryExpansion" class="form-control">
<option value="auditory_expansion_disabled">Выключено</option>
<option value="auditory_expansion_enabled">Включено</option>
</select>
</div>
<div class="form-group col-md-4 offset-md-4">
<label for="splitTest">Сплит-тест</label>
<select id="splitTest" class="form-control">
<option value="split_test_disabled">Не используется</option>
<option value="split_test_enabled">Используется</option>
</select>
</div>
<div class="form-group col-md-4 offset-md-4">
<label for="dateEnd">Дата завершения показа</label>
<select id="dateEnd" class="form-control">
<option value="date_end_disabled">Не используется</option>
<option value="date_end_enabled">Используется</option>
</select>
</div>
<div class="form-group col-md-4 offset-md-4">
<label for="osLimit">Ограничение по версии OS</label>
<select id="osLimit" class="form-control">
<option value="os_limit_disabled">Не используется</option>
<option value="os_limit_enabled">Используется</option>
</select>
</div>
</div>
</div>
</div>
<div class="card">
<div class="card-header" id="headingThree">
<h5 class="mb-0">
<a class="btn btn-link collapsed" data-toggle="collapse" data-target="#collapseAds" aria-expanded="false" aria-controls="collapseAds" style="cursor: pointer;">
Настройки объявлений
</a>
</h5>
</div>
<div id="collapseAds" class="collapse" aria-labelledby="headingThree">
<div class="card-body" id="adParams">
<div class="form-group col-md-4 offset-md-4">
<label for="typeContent">Тип контента</label>
<select id="typeContent" class="form-control">
<option value="content_type_image">Изображение</option>
<option value="content_type_video">Видео</option>
<option value="content_type_catalog">Каталог</option>
</select>
</div>
<div class="form-group col-md-4 offset-md-4">
<label for="dynamicCreatives">Динамические креативы</label>
<select id="dynamicCreatives" class="form-control">
<option value="dynamic_creatives_disabled">Выключено</option>
<option value="dynamic_creatives_enabled">Включено</option>
</select>
</div>
<div class="form-group col-md-4 offset-md-4">
<label for="useLink">Наличие ссылки в объявлении</label>
<select id="useLink" class="form-control">
<option value="use_link_disabled">Не используется</option>
<option value="use_link_enabled">Используется</option>
</select>
</div>
</div>
</div>
</div>
</div>
</div>
<div id="dynamic-params"></div>
<br><br>
<button class="btn btn-success" id="checklistGenerate">Генерация чек-листа</button>
</form>
<div class="container" id="checklist" style="display:none">
<br><br><br><br>
<button class="btn btn-primary" id="copyChecklist">Копировать</button>
<br><br>
<div class="form-group">
<input type="checkbox" class="form-check-input" id="exampleCheck1">
<label class="form-check-label" for="exampleCheck1">Кампания названа корректно</label>
</div>
<div class="form-group">
<input type="checkbox" class="form-check-input" id="exampleCheck2">
<label class="form-check-label" for="exampleCheck2">Группы объявлений названы корректно</label>
</div>
<div class="form-group">
<input type="checkbox" class="form-check-input" id="exampleCheck3">
<label class="form-check-label" for="exampleCheck3">Объявления названы корректно</label>
</div>
<div class="form-group">
<input type="checkbox" class="form-check-input" id="exampleCheck4">
<label class="form-check-label" for="exampleCheck4">Текст объявлений указан корректно</label>
</div>
<div class="form-group">
<input type="checkbox" class="form-check-input" id="exampleCheck5">
<label class="form-check-label" for="exampleCheck5">Оптимизация бюджета кампании отключена</label>
</div>
<div class="form-group">
<input type="checkbox" class="form-check-input" id="exampleCheck6">
<label class="form-check-label" for="exampleCheck6">Указана верная бизнес страница</label>
</div>
<div class="form-group">
<input type="checkbox" class="form-check-input" id="exampleCheck7">
<label class="form-check-label" for="exampleCheck7">Проставлен язык целевой аудитории</label>
</div>
<div class="form-group">
<input type="checkbox" class="form-check-input" id="exampleCheck8">
<label class="form-check-label" for="exampleCheck8">Выбрана корректная целевая аудитория</label>
</div>
<div class="form-group">
<input type="checkbox" class="form-check-input" id="exampleCheck9">
<label class="form-check-label" for="exampleCheck9">Указан корректный плейсмент</label>
</div>
<div class="form-group">
<input type="checkbox" class="form-check-input" id="exampleCheck10">
<label class="form-check-label" for="exampleCheck10">Установлен корректный заголовок</label>
</div>
<div class="form-group">
<input type="checkbox" class="form-check-input" id="exampleCheck11">
<label class="form-check-label" for="exampleCheck11">Выбран корректный призыв к действию</label>
</div>
<div class="form-group">
<input type="checkbox" class="form-check-input" id="exampleCheck12">
<label class="form-check-label" for="exampleCheck12">Используется пиксель Facebook</label>
</div>
</div>
</div>
<div class="card-footer text-muted">
<a href="https://github.com/denostr/fb-ads-checklist" target="_blank">GitHub</a>
</div>
</div>
</div>
<script src="https://code.jquery.com/jquery-3.4.1.min.js" integrity="sha256-CSXorXvZcTkaix6Yvo6HppcZGetbYMGWSFlBw8HfCJo=" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js" charset="utf-8"></script>
<script src="app.js" charset="utf-8"></script>
</body>
</html>