@pipedream/google_ads 0.1.0 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/actions/add-contact-to-list-by-email/add-contact-to-list-by-email.mjs +26 -8
- package/actions/common/common.mjs +5 -0
- package/actions/common/props.mjs +15 -0
- package/actions/create-customer-list/common-constants.mjs +234 -0
- package/actions/create-customer-list/common-country-code-options.mjs +998 -0
- package/actions/create-customer-list/create-customer-list.mjs +159 -0
- package/actions/create-report/create-report.mjs +156 -0
- package/actions/send-offline-conversion/common-constants.mjs +40 -0
- package/actions/send-offline-conversion/send-offline-conversion.mjs +56 -0
- package/common/props.mjs +20 -0
- package/common/queries.mjs +105 -0
- package/common/resources/ad.mjs +334 -0
- package/common/resources/adGroup.mjs +174 -0
- package/common/resources/campaign.mjs +289 -0
- package/common/resources/customer.mjs +181 -0
- package/common/utils.mjs +32 -0
- package/google_ads.app.mjs +182 -34
- package/package.json +2 -2
- package/sources/common/common.mjs +54 -0
- package/sources/new-campaign-created/new-campaign-created.mjs +52 -0
- package/sources/new-campaign-created/test-event.mjs +5 -0
- package/sources/new-lead-form-entry/new-lead-form-entry.mjs +51 -0
- package/sources/new-lead-form-entry/test-event.mjs +18 -0
|
@@ -0,0 +1,334 @@
|
|
|
1
|
+
const fields = [
|
|
2
|
+
"action_items",
|
|
3
|
+
"ad.added_by_google_ads",
|
|
4
|
+
"ad.app_ad.descriptions",
|
|
5
|
+
"ad.app_ad.headlines",
|
|
6
|
+
"ad.app_ad.html5_media_bundles",
|
|
7
|
+
"ad.app_ad.html5_media_bundles.asset",
|
|
8
|
+
"ad.app_ad.images",
|
|
9
|
+
"ad.app_ad.images.asset",
|
|
10
|
+
"ad.app_ad.mandatory_ad_text",
|
|
11
|
+
"ad.app_ad.youtube_videos",
|
|
12
|
+
"ad.app_ad.youtube_videos.asset",
|
|
13
|
+
"ad.app_engagement_ad.descriptions",
|
|
14
|
+
"ad.app_engagement_ad.headlines",
|
|
15
|
+
"ad.app_engagement_ad.images",
|
|
16
|
+
"ad.app_engagement_ad.images.asset",
|
|
17
|
+
"ad.app_engagement_ad.videos",
|
|
18
|
+
"ad.app_engagement_ad.videos.asset",
|
|
19
|
+
"ad.app_pre_registration_ad.descriptions",
|
|
20
|
+
"ad.app_pre_registration_ad.headlines",
|
|
21
|
+
"ad.app_pre_registration_ad.images",
|
|
22
|
+
"ad.app_pre_registration_ad.images.asset",
|
|
23
|
+
"ad.app_pre_registration_ad.youtube_videos",
|
|
24
|
+
"ad.app_pre_registration_ad.youtube_videos.asset",
|
|
25
|
+
"ad.call_ad.business_name",
|
|
26
|
+
"ad.call_ad.call_tracked",
|
|
27
|
+
"ad.call_ad.conversion_action",
|
|
28
|
+
"ad.call_ad.conversion_reporting_state",
|
|
29
|
+
"ad.call_ad.country_code",
|
|
30
|
+
"ad.call_ad.description1",
|
|
31
|
+
"ad.call_ad.description2",
|
|
32
|
+
"ad.call_ad.disable_call_conversion",
|
|
33
|
+
"ad.call_ad.headline1",
|
|
34
|
+
"ad.call_ad.headline2",
|
|
35
|
+
"ad.call_ad.path1",
|
|
36
|
+
"ad.call_ad.path2",
|
|
37
|
+
"ad.call_ad.phone_number",
|
|
38
|
+
"ad.call_ad.phone_number_verification_url",
|
|
39
|
+
"ad.demand_gen_product_ad.breadcrumb1",
|
|
40
|
+
"ad.demand_gen_product_ad.breadcrumb2",
|
|
41
|
+
"ad.demand_gen_product_ad.business_name",
|
|
42
|
+
"ad.demand_gen_product_ad.call_to_action",
|
|
43
|
+
"ad.demand_gen_product_ad.call_to_action.asset",
|
|
44
|
+
"ad.demand_gen_product_ad.description",
|
|
45
|
+
"ad.demand_gen_product_ad.headline",
|
|
46
|
+
"ad.demand_gen_product_ad.logo_image",
|
|
47
|
+
"ad.demand_gen_product_ad.logo_image.asset",
|
|
48
|
+
"ad.device_preference",
|
|
49
|
+
"ad.discovery_carousel_ad.business_name",
|
|
50
|
+
"ad.discovery_carousel_ad.call_to_action_text",
|
|
51
|
+
"ad.discovery_carousel_ad.carousel_cards",
|
|
52
|
+
"ad.discovery_carousel_ad.carousel_cards.asset",
|
|
53
|
+
"ad.discovery_carousel_ad.description",
|
|
54
|
+
"ad.discovery_carousel_ad.headline",
|
|
55
|
+
"ad.discovery_carousel_ad.logo_image",
|
|
56
|
+
"ad.discovery_carousel_ad.logo_image.asset",
|
|
57
|
+
"ad.discovery_multi_asset_ad.business_name",
|
|
58
|
+
"ad.discovery_multi_asset_ad.call_to_action_text",
|
|
59
|
+
"ad.discovery_multi_asset_ad.descriptions",
|
|
60
|
+
"ad.discovery_multi_asset_ad.headlines",
|
|
61
|
+
"ad.discovery_multi_asset_ad.lead_form_only",
|
|
62
|
+
"ad.discovery_multi_asset_ad.logo_images",
|
|
63
|
+
"ad.discovery_multi_asset_ad.logo_images.asset",
|
|
64
|
+
"ad.discovery_multi_asset_ad.marketing_images",
|
|
65
|
+
"ad.discovery_multi_asset_ad.marketing_images.asset",
|
|
66
|
+
"ad.discovery_multi_asset_ad.portrait_marketing_images",
|
|
67
|
+
"ad.discovery_multi_asset_ad.portrait_marketing_images.asset",
|
|
68
|
+
"ad.discovery_multi_asset_ad.square_marketing_images",
|
|
69
|
+
"ad.discovery_multi_asset_ad.square_marketing_images.asset",
|
|
70
|
+
"ad.discovery_video_responsive_ad.breadcrumb1",
|
|
71
|
+
"ad.discovery_video_responsive_ad.breadcrumb2",
|
|
72
|
+
"ad.discovery_video_responsive_ad.business_name",
|
|
73
|
+
"ad.discovery_video_responsive_ad.call_to_actions",
|
|
74
|
+
"ad.discovery_video_responsive_ad.call_to_actions.asset",
|
|
75
|
+
"ad.discovery_video_responsive_ad.descriptions",
|
|
76
|
+
"ad.discovery_video_responsive_ad.headlines",
|
|
77
|
+
"ad.discovery_video_responsive_ad.logo_images",
|
|
78
|
+
"ad.discovery_video_responsive_ad.logo_images.asset",
|
|
79
|
+
"ad.discovery_video_responsive_ad.long_headlines",
|
|
80
|
+
"ad.discovery_video_responsive_ad.videos",
|
|
81
|
+
"ad.discovery_video_responsive_ad.videos.asset",
|
|
82
|
+
"ad.display_upload_ad.display_upload_product_type",
|
|
83
|
+
"ad.display_upload_ad.media_bundle",
|
|
84
|
+
"ad.display_upload_ad.media_bundle.asset",
|
|
85
|
+
"ad.display_url",
|
|
86
|
+
"ad.expanded_dynamic_search_ad.description",
|
|
87
|
+
"ad.expanded_dynamic_search_ad.description2",
|
|
88
|
+
"ad.expanded_text_ad.description",
|
|
89
|
+
"ad.expanded_text_ad.description2",
|
|
90
|
+
"ad.expanded_text_ad.headline_part1",
|
|
91
|
+
"ad.expanded_text_ad.headline_part2",
|
|
92
|
+
"ad.expanded_text_ad.headline_part3",
|
|
93
|
+
"ad.expanded_text_ad.path1",
|
|
94
|
+
"ad.expanded_text_ad.path2",
|
|
95
|
+
"ad.final_app_urls",
|
|
96
|
+
"ad.final_mobile_urls",
|
|
97
|
+
"ad.final_url_suffix",
|
|
98
|
+
"ad.final_urls",
|
|
99
|
+
"ad.hotel_ad",
|
|
100
|
+
"ad.id",
|
|
101
|
+
"ad.image_ad.image_asset.asset",
|
|
102
|
+
"ad.image_ad.image_url",
|
|
103
|
+
"ad.image_ad.mime_type",
|
|
104
|
+
"ad.image_ad.name",
|
|
105
|
+
"ad.image_ad.pixel_height",
|
|
106
|
+
"ad.image_ad.pixel_width",
|
|
107
|
+
"ad.image_ad.preview_image_url",
|
|
108
|
+
"ad.image_ad.preview_pixel_height",
|
|
109
|
+
"ad.image_ad.preview_pixel_width",
|
|
110
|
+
"ad.legacy_app_install_ad",
|
|
111
|
+
"ad.legacy_responsive_display_ad.accent_color",
|
|
112
|
+
"ad.legacy_responsive_display_ad.allow_flexible_color",
|
|
113
|
+
"ad.legacy_responsive_display_ad.business_name",
|
|
114
|
+
"ad.legacy_responsive_display_ad.call_to_action_text",
|
|
115
|
+
"ad.legacy_responsive_display_ad.description",
|
|
116
|
+
"ad.legacy_responsive_display_ad.format_setting",
|
|
117
|
+
"ad.legacy_responsive_display_ad.logo_image",
|
|
118
|
+
"ad.legacy_responsive_display_ad.long_headline",
|
|
119
|
+
"ad.legacy_responsive_display_ad.main_color",
|
|
120
|
+
"ad.legacy_responsive_display_ad.marketing_image",
|
|
121
|
+
"ad.legacy_responsive_display_ad.price_prefix",
|
|
122
|
+
"ad.legacy_responsive_display_ad.promo_text",
|
|
123
|
+
"ad.legacy_responsive_display_ad.short_headline",
|
|
124
|
+
"ad.legacy_responsive_display_ad.square_logo_image",
|
|
125
|
+
"ad.legacy_responsive_display_ad.square_marketing_image",
|
|
126
|
+
"ad.local_ad.call_to_actions",
|
|
127
|
+
"ad.local_ad.descriptions",
|
|
128
|
+
"ad.local_ad.headlines",
|
|
129
|
+
"ad.local_ad.logo_images",
|
|
130
|
+
"ad.local_ad.logo_images.asset",
|
|
131
|
+
"ad.local_ad.marketing_images",
|
|
132
|
+
"ad.local_ad.marketing_images.asset",
|
|
133
|
+
"ad.local_ad.path1",
|
|
134
|
+
"ad.local_ad.path2",
|
|
135
|
+
"ad.local_ad.videos",
|
|
136
|
+
"ad.local_ad.videos.asset",
|
|
137
|
+
"ad.name",
|
|
138
|
+
"ad.resource_name",
|
|
139
|
+
"ad.responsive_display_ad.accent_color",
|
|
140
|
+
"ad.responsive_display_ad.allow_flexible_color",
|
|
141
|
+
"ad.responsive_display_ad.business_name",
|
|
142
|
+
"ad.responsive_display_ad.call_to_action_text",
|
|
143
|
+
"ad.responsive_display_ad.control_spec.enable_asset_enhancements",
|
|
144
|
+
"ad.responsive_display_ad.control_spec.enable_autogen_video",
|
|
145
|
+
"ad.responsive_display_ad.descriptions",
|
|
146
|
+
"ad.responsive_display_ad.format_setting",
|
|
147
|
+
"ad.responsive_display_ad.headlines",
|
|
148
|
+
"ad.responsive_display_ad.logo_images",
|
|
149
|
+
"ad.responsive_display_ad.logo_images.asset",
|
|
150
|
+
"ad.responsive_display_ad.long_headline",
|
|
151
|
+
"ad.responsive_display_ad.main_color",
|
|
152
|
+
"ad.responsive_display_ad.marketing_images",
|
|
153
|
+
"ad.responsive_display_ad.marketing_images.asset",
|
|
154
|
+
"ad.responsive_display_ad.price_prefix",
|
|
155
|
+
"ad.responsive_display_ad.promo_text",
|
|
156
|
+
"ad.responsive_display_ad.square_logo_images",
|
|
157
|
+
"ad.responsive_display_ad.square_logo_images.asset",
|
|
158
|
+
"ad.responsive_display_ad.square_marketing_images",
|
|
159
|
+
"ad.responsive_display_ad.square_marketing_images.asset",
|
|
160
|
+
"ad.responsive_display_ad.youtube_videos",
|
|
161
|
+
"ad.responsive_display_ad.youtube_videos.asset",
|
|
162
|
+
"ad.responsive_search_ad.descriptions",
|
|
163
|
+
"ad.responsive_search_ad.headlines",
|
|
164
|
+
"ad.responsive_search_ad.path1",
|
|
165
|
+
"ad.responsive_search_ad.path2",
|
|
166
|
+
"ad.shopping_comparison_listing_ad.headline",
|
|
167
|
+
"ad.shopping_product_ad",
|
|
168
|
+
"ad.shopping_smart_ad",
|
|
169
|
+
"ad.smart_campaign_ad.descriptions",
|
|
170
|
+
"ad.smart_campaign_ad.headlines",
|
|
171
|
+
"ad.system_managed_resource_source",
|
|
172
|
+
"ad.text_ad.description1",
|
|
173
|
+
"ad.text_ad.description2",
|
|
174
|
+
"ad.text_ad.headline",
|
|
175
|
+
"ad.tracking_url_template",
|
|
176
|
+
"ad.travel_ad",
|
|
177
|
+
"ad.type",
|
|
178
|
+
"ad.url_collections",
|
|
179
|
+
"ad.url_custom_parameters",
|
|
180
|
+
"ad.video_ad.bumper.action_button_label",
|
|
181
|
+
"ad.video_ad.bumper.action_headline",
|
|
182
|
+
"ad.video_ad.bumper.companion_banner.asset",
|
|
183
|
+
"ad.video_ad.in_feed.description1",
|
|
184
|
+
"ad.video_ad.in_feed.description2",
|
|
185
|
+
"ad.video_ad.in_feed.headline",
|
|
186
|
+
"ad.video_ad.in_feed.thumbnail",
|
|
187
|
+
"ad.video_ad.in_stream.action_button_label",
|
|
188
|
+
"ad.video_ad.in_stream.action_headline",
|
|
189
|
+
"ad.video_ad.in_stream.companion_banner.asset",
|
|
190
|
+
"ad.video_ad.non_skippable.action_button_label",
|
|
191
|
+
"ad.video_ad.non_skippable.action_headline",
|
|
192
|
+
"ad.video_ad.non_skippable.companion_banner.asset",
|
|
193
|
+
"ad.video_ad.out_stream.description",
|
|
194
|
+
"ad.video_ad.out_stream.headline",
|
|
195
|
+
"ad.video_ad.video.asset",
|
|
196
|
+
"ad.video_responsive_ad.breadcrumb1",
|
|
197
|
+
"ad.video_responsive_ad.breadcrumb2",
|
|
198
|
+
"ad.video_responsive_ad.call_to_actions",
|
|
199
|
+
"ad.video_responsive_ad.companion_banners",
|
|
200
|
+
"ad.video_responsive_ad.companion_banners.asset",
|
|
201
|
+
"ad.video_responsive_ad.descriptions",
|
|
202
|
+
"ad.video_responsive_ad.headlines",
|
|
203
|
+
"ad.video_responsive_ad.long_headlines",
|
|
204
|
+
"ad.video_responsive_ad.videos",
|
|
205
|
+
"ad.video_responsive_ad.videos.asset",
|
|
206
|
+
"ad_group",
|
|
207
|
+
"ad_strength",
|
|
208
|
+
"labels",
|
|
209
|
+
"policy_summary.approval_status",
|
|
210
|
+
"policy_summary.policy_topic_entries",
|
|
211
|
+
"policy_summary.review_status",
|
|
212
|
+
"primary_status",
|
|
213
|
+
"primary_status_reasons",
|
|
214
|
+
"resource_name",
|
|
215
|
+
"status",
|
|
216
|
+
];
|
|
217
|
+
|
|
218
|
+
const segments = [
|
|
219
|
+
"ad_destination_type",
|
|
220
|
+
"ad_network_type",
|
|
221
|
+
"click_type",
|
|
222
|
+
"conversion_action",
|
|
223
|
+
"conversion_action_category",
|
|
224
|
+
"conversion_action_name",
|
|
225
|
+
"conversion_adjustment",
|
|
226
|
+
"conversion_lag_bucket",
|
|
227
|
+
"conversion_or_adjustment_lag_bucket",
|
|
228
|
+
"date",
|
|
229
|
+
"day_of_week",
|
|
230
|
+
"device",
|
|
231
|
+
"external_conversion_source",
|
|
232
|
+
"keyword.ad_group_criterion",
|
|
233
|
+
"keyword.info.match_type",
|
|
234
|
+
"keyword.info.text",
|
|
235
|
+
"month",
|
|
236
|
+
"month_of_year",
|
|
237
|
+
"new_versus_returning_customers",
|
|
238
|
+
"quarter",
|
|
239
|
+
"slot",
|
|
240
|
+
"week",
|
|
241
|
+
"year",
|
|
242
|
+
];
|
|
243
|
+
|
|
244
|
+
const metrics = [
|
|
245
|
+
"absolute_top_impression_percentage",
|
|
246
|
+
"active_view_cpm",
|
|
247
|
+
"active_view_ctr",
|
|
248
|
+
"active_view_impressions",
|
|
249
|
+
"active_view_measurability",
|
|
250
|
+
"active_view_measurable_cost_micros",
|
|
251
|
+
"active_view_measurable_impressions",
|
|
252
|
+
"active_view_viewability",
|
|
253
|
+
"all_conversions",
|
|
254
|
+
"all_conversions_by_conversion_date",
|
|
255
|
+
"all_conversions_from_interactions_rate",
|
|
256
|
+
"all_conversions_value",
|
|
257
|
+
"all_conversions_value_by_conversion_date",
|
|
258
|
+
"all_new_customer_lifetime_value",
|
|
259
|
+
"average_cart_size",
|
|
260
|
+
"average_cost",
|
|
261
|
+
"average_cpc",
|
|
262
|
+
"average_cpe",
|
|
263
|
+
"average_cpm",
|
|
264
|
+
"average_cpv",
|
|
265
|
+
"average_order_value_micros",
|
|
266
|
+
"average_page_views",
|
|
267
|
+
"average_time_on_site",
|
|
268
|
+
"bounce_rate",
|
|
269
|
+
"clicks",
|
|
270
|
+
"conversions",
|
|
271
|
+
"conversions_by_conversion_date",
|
|
272
|
+
"conversions_from_interactions_rate",
|
|
273
|
+
"conversions_value",
|
|
274
|
+
"conversions_value_by_conversion_date",
|
|
275
|
+
"cost_micros",
|
|
276
|
+
"cost_of_goods_sold_micros",
|
|
277
|
+
"cost_per_all_conversions",
|
|
278
|
+
"cost_per_conversion",
|
|
279
|
+
"cost_per_current_model_attributed_conversion",
|
|
280
|
+
"cross_device_conversions",
|
|
281
|
+
"cross_device_conversions_value_micros",
|
|
282
|
+
"cross_sell_cost_of_goods_sold_micros",
|
|
283
|
+
"cross_sell_gross_profit_micros",
|
|
284
|
+
"cross_sell_revenue_micros",
|
|
285
|
+
"cross_sell_units_sold",
|
|
286
|
+
"ctr",
|
|
287
|
+
"current_model_attributed_conversions",
|
|
288
|
+
"current_model_attributed_conversions_value",
|
|
289
|
+
"engagement_rate",
|
|
290
|
+
"engagements",
|
|
291
|
+
"gmail_forwards",
|
|
292
|
+
"gmail_saves",
|
|
293
|
+
"gmail_secondary_clicks",
|
|
294
|
+
"gross_profit_margin",
|
|
295
|
+
"gross_profit_micros",
|
|
296
|
+
"impressions",
|
|
297
|
+
"interaction_event_types",
|
|
298
|
+
"interaction_rate",
|
|
299
|
+
"interactions",
|
|
300
|
+
"lead_cost_of_goods_sold_micros",
|
|
301
|
+
"lead_gross_profit_micros",
|
|
302
|
+
"lead_revenue_micros",
|
|
303
|
+
"lead_units_sold",
|
|
304
|
+
"new_customer_lifetime_value",
|
|
305
|
+
"orders",
|
|
306
|
+
"percent_new_visitors",
|
|
307
|
+
"revenue_micros",
|
|
308
|
+
"top_impression_percentage",
|
|
309
|
+
"units_sold",
|
|
310
|
+
"value_per_all_conversions",
|
|
311
|
+
"value_per_all_conversions_by_conversion_date",
|
|
312
|
+
"value_per_conversion",
|
|
313
|
+
"value_per_conversions_by_conversion_date",
|
|
314
|
+
"value_per_current_model_attributed_conversion",
|
|
315
|
+
"video_quartile_p100_rate",
|
|
316
|
+
"video_quartile_p25_rate",
|
|
317
|
+
"video_quartile_p50_rate",
|
|
318
|
+
"video_quartile_p75_rate",
|
|
319
|
+
"video_view_rate",
|
|
320
|
+
"video_views",
|
|
321
|
+
"view_through_conversions",
|
|
322
|
+
];
|
|
323
|
+
|
|
324
|
+
const resourceOption = {
|
|
325
|
+
label: "Ad",
|
|
326
|
+
value: "ad_group_ad",
|
|
327
|
+
};
|
|
328
|
+
|
|
329
|
+
export const ad = {
|
|
330
|
+
fields,
|
|
331
|
+
segments,
|
|
332
|
+
metrics,
|
|
333
|
+
resourceOption,
|
|
334
|
+
};
|
|
@@ -0,0 +1,174 @@
|
|
|
1
|
+
const fields = [
|
|
2
|
+
"ad_rotation_mode",
|
|
3
|
+
"audience_setting.use_audience_grouped",
|
|
4
|
+
"base_ad_group",
|
|
5
|
+
"campaign",
|
|
6
|
+
"cpc_bid_micros",
|
|
7
|
+
"cpm_bid_micros",
|
|
8
|
+
"cpv_bid_micros",
|
|
9
|
+
"display_custom_bid_dimension",
|
|
10
|
+
"effective_cpc_bid_micros",
|
|
11
|
+
"effective_target_cpa_micros",
|
|
12
|
+
"effective_target_cpa_source",
|
|
13
|
+
"effective_target_roas",
|
|
14
|
+
"effective_target_roas_source",
|
|
15
|
+
"excluded_parent_asset_field_types",
|
|
16
|
+
"excluded_parent_asset_set_types",
|
|
17
|
+
"final_url_suffix",
|
|
18
|
+
"id",
|
|
19
|
+
"labels",
|
|
20
|
+
"name",
|
|
21
|
+
"optimized_targeting_enabled",
|
|
22
|
+
"percent_cpc_bid_micros",
|
|
23
|
+
"primary_status",
|
|
24
|
+
"primary_status_reasons",
|
|
25
|
+
"resource_name",
|
|
26
|
+
"status",
|
|
27
|
+
"target_cpa_micros",
|
|
28
|
+
"target_cpm_micros",
|
|
29
|
+
"target_roas",
|
|
30
|
+
"targeting_setting.target_restrictions",
|
|
31
|
+
"tracking_url_template",
|
|
32
|
+
"type",
|
|
33
|
+
"url_custom_parameters",
|
|
34
|
+
];
|
|
35
|
+
|
|
36
|
+
const segments = [
|
|
37
|
+
"ad_destination_type",
|
|
38
|
+
"ad_network_type",
|
|
39
|
+
"asset_interaction_target.asset",
|
|
40
|
+
"asset_interaction_target.interaction_on_this_asset",
|
|
41
|
+
"auction_insight_domain",
|
|
42
|
+
"click_type",
|
|
43
|
+
"conversion_action",
|
|
44
|
+
"conversion_action_category",
|
|
45
|
+
"conversion_action_name",
|
|
46
|
+
"conversion_adjustment",
|
|
47
|
+
"conversion_lag_bucket",
|
|
48
|
+
"conversion_or_adjustment_lag_bucket",
|
|
49
|
+
"date",
|
|
50
|
+
"day_of_week",
|
|
51
|
+
"device",
|
|
52
|
+
"external_conversion_source",
|
|
53
|
+
"hour",
|
|
54
|
+
"month",
|
|
55
|
+
"month_of_year",
|
|
56
|
+
"new_versus_returning_customers",
|
|
57
|
+
"quarter",
|
|
58
|
+
"slot",
|
|
59
|
+
"week",
|
|
60
|
+
"year",
|
|
61
|
+
];
|
|
62
|
+
|
|
63
|
+
const metrics = [
|
|
64
|
+
"absolute_top_impression_percentage",
|
|
65
|
+
"active_view_cpm",
|
|
66
|
+
"active_view_ctr",
|
|
67
|
+
"active_view_impressions",
|
|
68
|
+
"active_view_measurability",
|
|
69
|
+
"active_view_measurable_cost_micros",
|
|
70
|
+
"active_view_measurable_impressions",
|
|
71
|
+
"active_view_viewability",
|
|
72
|
+
"all_conversions",
|
|
73
|
+
"all_conversions_by_conversion_date",
|
|
74
|
+
"all_conversions_from_interactions_rate",
|
|
75
|
+
"all_conversions_value",
|
|
76
|
+
"all_conversions_value_by_conversion_date",
|
|
77
|
+
"all_new_customer_lifetime_value",
|
|
78
|
+
"auction_insight_search_absolute_top_impression_percentage",
|
|
79
|
+
"auction_insight_search_impression_share",
|
|
80
|
+
"auction_insight_search_outranking_share",
|
|
81
|
+
"auction_insight_search_overlap_rate",
|
|
82
|
+
"auction_insight_search_position_above_rate",
|
|
83
|
+
"auction_insight_search_top_impression_percentage",
|
|
84
|
+
"average_cart_size",
|
|
85
|
+
"average_cost",
|
|
86
|
+
"average_cpc",
|
|
87
|
+
"average_cpe",
|
|
88
|
+
"average_cpm",
|
|
89
|
+
"average_cpv",
|
|
90
|
+
"average_order_value_micros",
|
|
91
|
+
"average_page_views",
|
|
92
|
+
"average_time_on_site",
|
|
93
|
+
"bounce_rate",
|
|
94
|
+
"clicks",
|
|
95
|
+
"content_impression_share",
|
|
96
|
+
"content_rank_lost_impression_share",
|
|
97
|
+
"conversions",
|
|
98
|
+
"conversions_by_conversion_date",
|
|
99
|
+
"conversions_from_interactions_rate",
|
|
100
|
+
"conversions_value",
|
|
101
|
+
"conversions_value_by_conversion_date",
|
|
102
|
+
"cost_micros",
|
|
103
|
+
"cost_of_goods_sold_micros",
|
|
104
|
+
"cost_per_all_conversions",
|
|
105
|
+
"cost_per_conversion",
|
|
106
|
+
"cost_per_current_model_attributed_conversion",
|
|
107
|
+
"cross_device_conversions",
|
|
108
|
+
"cross_device_conversions_value_micros",
|
|
109
|
+
"cross_sell_cost_of_goods_sold_micros",
|
|
110
|
+
"cross_sell_gross_profit_micros",
|
|
111
|
+
"cross_sell_revenue_micros",
|
|
112
|
+
"cross_sell_units_sold",
|
|
113
|
+
"ctr",
|
|
114
|
+
"current_model_attributed_conversions",
|
|
115
|
+
"current_model_attributed_conversions_value",
|
|
116
|
+
"engagement_rate",
|
|
117
|
+
"engagements",
|
|
118
|
+
"gmail_forwards",
|
|
119
|
+
"gmail_saves",
|
|
120
|
+
"gmail_secondary_clicks",
|
|
121
|
+
"gross_profit_margin",
|
|
122
|
+
"gross_profit_micros",
|
|
123
|
+
"impressions",
|
|
124
|
+
"interaction_event_types",
|
|
125
|
+
"interaction_rate",
|
|
126
|
+
"interactions",
|
|
127
|
+
"lead_cost_of_goods_sold_micros",
|
|
128
|
+
"lead_gross_profit_micros",
|
|
129
|
+
"lead_revenue_micros",
|
|
130
|
+
"lead_units_sold",
|
|
131
|
+
"new_customer_lifetime_value",
|
|
132
|
+
"orders",
|
|
133
|
+
"percent_new_visitors",
|
|
134
|
+
"phone_calls",
|
|
135
|
+
"phone_impressions",
|
|
136
|
+
"phone_through_rate",
|
|
137
|
+
"relative_ctr",
|
|
138
|
+
"revenue_micros",
|
|
139
|
+
"search_absolute_top_impression_share",
|
|
140
|
+
"search_budget_lost_absolute_top_impression_share",
|
|
141
|
+
"search_budget_lost_top_impression_share",
|
|
142
|
+
"search_exact_match_impression_share",
|
|
143
|
+
"search_impression_share",
|
|
144
|
+
"search_rank_lost_absolute_top_impression_share",
|
|
145
|
+
"search_rank_lost_impression_share",
|
|
146
|
+
"search_rank_lost_top_impression_share",
|
|
147
|
+
"search_top_impression_share",
|
|
148
|
+
"top_impression_percentage",
|
|
149
|
+
"units_sold",
|
|
150
|
+
"value_per_all_conversions",
|
|
151
|
+
"value_per_all_conversions_by_conversion_date",
|
|
152
|
+
"value_per_conversion",
|
|
153
|
+
"value_per_conversions_by_conversion_date",
|
|
154
|
+
"value_per_current_model_attributed_conversion",
|
|
155
|
+
"video_quartile_p100_rate",
|
|
156
|
+
"video_quartile_p25_rate",
|
|
157
|
+
"video_quartile_p50_rate",
|
|
158
|
+
"video_quartile_p75_rate",
|
|
159
|
+
"video_view_rate",
|
|
160
|
+
"video_views",
|
|
161
|
+
"view_through_conversions",
|
|
162
|
+
];
|
|
163
|
+
|
|
164
|
+
const resourceOption = {
|
|
165
|
+
label: "Ad Group",
|
|
166
|
+
value: "ad_group",
|
|
167
|
+
};
|
|
168
|
+
|
|
169
|
+
export const adGroup = {
|
|
170
|
+
fields,
|
|
171
|
+
segments,
|
|
172
|
+
metrics,
|
|
173
|
+
resourceOption,
|
|
174
|
+
};
|