facebookbusiness 0.6.0.1 → 0.7.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/facebook_ads/ad_objects/ad.rb +0 -1
- data/lib/facebook_ads/ad_objects/ad_account.rb +7 -52
- data/lib/facebook_ads/ad_objects/ad_account_activity.rb +3 -5
- data/lib/facebook_ads/ad_objects/ad_account_creation_request.rb +0 -1
- data/lib/facebook_ads/ad_objects/ad_account_delivery_estimate.rb +1 -0
- data/lib/facebook_ads/ad_objects/ad_account_targeting_unified.rb +4 -0
- data/lib/facebook_ads/ad_objects/ad_activity.rb +3 -0
- data/lib/facebook_ads/ad_objects/ad_asset_feed_spec.rb +6 -0
- data/lib/facebook_ads/ad_objects/ad_campaign_activity.rb +6 -2
- data/lib/facebook_ads/ad_objects/ad_campaign_delivery_estimate.rb +1 -0
- data/lib/facebook_ads/ad_objects/ad_creative.rb +11 -3
- data/lib/facebook_ads/ad_objects/{custom_audience_prefill_state.rb → ad_creative_ad_disclaimer.rb} +4 -4
- data/lib/facebook_ads/ad_objects/ad_creative_link_data_call_to_action.rb +5 -0
- data/lib/facebook_ads/ad_objects/{request_history.rb → ad_creative_photo_data_media_elements.rb} +5 -14
- data/lib/facebook_ads/ad_objects/ad_creative_video_data.rb +1 -0
- data/lib/facebook_ads/ad_objects/ad_customization_rule_spec.rb +2 -0
- data/lib/facebook_ads/ad_objects/ad_network_analytics_sync_query_result.rb +3 -0
- data/lib/facebook_ads/ad_objects/ad_place_page_set.rb +1 -0
- data/lib/facebook_ads/ad_objects/ad_preview.rb +2 -0
- data/lib/facebook_ads/ad_objects/ad_report_run.rb +2 -0
- data/lib/facebook_ads/ad_objects/ad_set.rb +10 -2
- data/lib/facebook_ads/ad_objects/ad_video.rb +3 -11
- data/lib/facebook_ads/ad_objects/adgroup_activity.rb +4 -4
- data/lib/facebook_ads/ad_objects/adgroup_placement_specific_review_feedback.rb +2 -0
- data/lib/facebook_ads/ad_objects/ads_insights.rb +4 -105
- data/lib/facebook_ads/ad_objects/{dynamic_item_display_bundle.rb → ads_interest.rb} +7 -9
- data/lib/facebook_ads/ad_objects/ads_pixel.rb +0 -3
- data/lib/facebook_ads/ad_objects/album.rb +7 -0
- data/lib/facebook_ads/ad_objects/app_request.rb +2 -2
- data/lib/facebook_ads/ad_objects/application.rb +2 -22
- data/lib/facebook_ads/ad_objects/automotive_model.rb +1 -0
- data/lib/facebook_ads/ad_objects/business.rb +37 -7
- data/lib/facebook_ads/ad_objects/business_agreement.rb +43 -0
- data/lib/facebook_ads/ad_objects/business_asset_group.rb +1 -3
- data/lib/facebook_ads/ad_objects/business_creative_folder.rb +1 -3
- data/lib/facebook_ads/ad_objects/business_creative_folder_sharing_agreement.rb +46 -0
- data/lib/facebook_ads/ad_objects/business_image.rb +16 -0
- data/lib/facebook_ads/ad_objects/business_owned_object_on_behalf_of_request.rb +1 -0
- data/lib/facebook_ads/ad_objects/business_role_request.rb +1 -0
- data/lib/facebook_ads/ad_objects/business_user.rb +1 -0
- data/lib/facebook_ads/ad_objects/campaign.rb +12 -5
- data/lib/facebook_ads/ad_objects/catalog_item_app_links.rb +44 -0
- data/lib/facebook_ads/ad_objects/catalog_item_appeal_status.rb +40 -0
- data/lib/facebook_ads/ad_objects/comment.rb +1 -0
- data/lib/facebook_ads/ad_objects/commerce_merchant_settings.rb +99 -0
- data/lib/facebook_ads/ad_objects/commerce_merchant_settings_setup_status.rb +41 -0
- data/lib/facebook_ads/ad_objects/commerce_order.rb +147 -0
- data/lib/facebook_ads/ad_objects/{video_game_show.rb → commerce_order_transaction_detail.rb} +13 -17
- data/lib/facebook_ads/ad_objects/commerce_payout.rb +41 -0
- data/lib/facebook_ads/ad_objects/content_delivery_report.rb +3 -0
- data/lib/facebook_ads/ad_objects/copyright_reference_container.rb +0 -1
- data/lib/facebook_ads/ad_objects/cpas_parent_catalog_settings.rb +1 -0
- data/lib/facebook_ads/ad_objects/{business_pixel_tos.rb → creative_asset_tag.rb} +4 -3
- data/lib/facebook_ads/ad_objects/custom_audience.rb +2 -4
- data/lib/facebook_ads/ad_objects/custom_conversion.rb +1 -0
- data/lib/facebook_ads/ad_objects/destination.rb +1 -0
- data/lib/facebook_ads/ad_objects/event.rb +1 -0
- data/lib/facebook_ads/ad_objects/flight.rb +1 -0
- data/lib/facebook_ads/ad_objects/group.rb +2 -40
- data/lib/facebook_ads/ad_objects/home_listing.rb +1 -0
- data/lib/facebook_ads/ad_objects/hotel.rb +1 -1
- data/lib/facebook_ads/ad_objects/hotel_room.rb +1 -0
- data/lib/facebook_ads/ad_objects/ig_user.rb +2 -0
- data/lib/facebook_ads/ad_objects/life_event.rb +0 -4
- data/lib/facebook_ads/ad_objects/media_fingerprint.rb +0 -6
- data/lib/facebook_ads/ad_objects/messenger_profile.rb +0 -1
- data/lib/facebook_ads/ad_objects/offline_conversion_data_set.rb +0 -6
- data/lib/facebook_ads/ad_objects/open_graph_context.rb +0 -12
- data/lib/facebook_ads/ad_objects/page.rb +123 -53
- data/lib/facebook_ads/ad_objects/page_call_to_action.rb +13 -0
- data/lib/facebook_ads/ad_objects/page_post.rb +13 -49
- data/lib/facebook_ads/ad_objects/partner_study.rb +0 -4
- data/lib/facebook_ads/ad_objects/post.rb +11 -2
- data/lib/facebook_ads/ad_objects/product_catalog.rb +11 -33
- data/lib/facebook_ads/ad_objects/product_feed.rb +1 -0
- data/lib/facebook_ads/ad_objects/product_feed_upload.rb +1 -0
- data/lib/facebook_ads/ad_objects/product_feed_upload_diagnostics_report.rb +38 -0
- data/lib/facebook_ads/ad_objects/product_item.rb +1 -0
- data/lib/facebook_ads/ad_objects/profile.rb +1 -0
- data/lib/facebook_ads/ad_objects/publisher_block_list.rb +0 -6
- data/lib/facebook_ads/ad_objects/reach_frequency_prediction.rb +0 -1
- data/lib/facebook_ads/ad_objects/rtb_dynamic_post.rb +0 -4
- data/lib/facebook_ads/ad_objects/server_side/user_data.rb +6 -0
- data/lib/facebook_ads/ad_objects/store_catalog_settings.rb +0 -1
- data/lib/facebook_ads/ad_objects/streaming_reaction.rb +1 -0
- data/lib/facebook_ads/ad_objects/system_user.rb +1 -0
- data/lib/facebook_ads/ad_objects/user.rb +0 -72
- data/lib/facebook_ads/ad_objects/vehicle.rb +1 -1
- data/lib/facebook_ads/ad_objects/vehicle_offer.rb +1 -0
- data/lib/facebook_ads/ad_objects/video_copyright.rb +0 -1
- data/lib/facebook_ads/ad_objects/whats_app_business_account.rb +4 -0
- data/lib/facebook_ads/version.rb +2 -2
- metadata +18 -14
- data/bin/facebookbusiness +0 -14
- data/lib/facebook_ads/ad_objects/dynamic_item_display_bundle_folder.rb +0 -47
- data/lib/facebook_ads/ad_objects/instagram_comment.rb +0 -47
- data/lib/facebook_ads/ad_objects/open_graph_object.rb +0 -70
@@ -30,11 +30,13 @@ module FacebookAds
|
|
30
30
|
field :caption, 'string'
|
31
31
|
field :customization_spec, 'object'
|
32
32
|
field :description, 'string'
|
33
|
+
field :image_hash, 'string'
|
33
34
|
field :link, 'string'
|
34
35
|
field :message, 'string'
|
35
36
|
field :name, 'string'
|
36
37
|
field :priority, 'int'
|
37
38
|
field :template_url_spec, 'AdCreativeTemplateUrlSpec'
|
39
|
+
field :video_id, 'int'
|
38
40
|
has_no_id
|
39
41
|
has_no_get
|
40
42
|
has_no_post
|
@@ -32,6 +32,7 @@ module FacebookAds
|
|
32
32
|
]
|
33
33
|
|
34
34
|
BREAKDOWNS = [
|
35
|
+
"AD_SERVER_CAMPAIGN_ID",
|
35
36
|
"AD_SPACE",
|
36
37
|
"AGE",
|
37
38
|
"APP",
|
@@ -44,6 +45,8 @@ module FacebookAds
|
|
44
45
|
"DISPLAY_FORMAT",
|
45
46
|
"FAIL_REASON",
|
46
47
|
"GENDER",
|
48
|
+
"INSTANT_ARTICLE_ID",
|
49
|
+
"INSTANT_ARTICLE_PAGE_ID",
|
47
50
|
"PLACEMENT",
|
48
51
|
"PLACEMENT_NAME",
|
49
52
|
"PLATFORM",
|
@@ -40,6 +40,7 @@ module FacebookAds
|
|
40
40
|
"INSTANT_ARTICLE_RECIRCULATION_AD",
|
41
41
|
"INSTANT_ARTICLE_STANDARD",
|
42
42
|
"INSTREAM_VIDEO_DESKTOP",
|
43
|
+
"INSTREAM_VIDEO_IMAGE",
|
43
44
|
"INSTREAM_VIDEO_MOBILE",
|
44
45
|
"JOB_BROWSER_DESKTOP",
|
45
46
|
"JOB_BROWSER_MOBILE",
|
@@ -56,6 +57,7 @@ module FacebookAds
|
|
56
57
|
"RIGHT_COLUMN_STANDARD",
|
57
58
|
"SUGGESTED_VIDEO_DESKTOP",
|
58
59
|
"SUGGESTED_VIDEO_MOBILE",
|
60
|
+
"WATCH_FEED_HOME",
|
59
61
|
"WATCH_FEED_MOBILE",
|
60
62
|
]
|
61
63
|
|
@@ -27,6 +27,7 @@ module FacebookAds
|
|
27
27
|
|
28
28
|
class AdSet < AdObject
|
29
29
|
BID_STRATEGY = [
|
30
|
+
"COST_CAP",
|
30
31
|
"LOWEST_COST_WITHOUT_CAP",
|
31
32
|
"LOWEST_COST_WITH_BID_CAP",
|
32
33
|
"TARGET_COST",
|
@@ -86,6 +87,7 @@ module FacebookAds
|
|
86
87
|
"THRUPLAY",
|
87
88
|
"TWO_SECOND_CONTINUOUS_VIDEO_VIEWS",
|
88
89
|
"VALUE",
|
90
|
+
"VISIT_INSTAGRAM_PROFILE",
|
89
91
|
]
|
90
92
|
|
91
93
|
STATUS = [
|
@@ -137,6 +139,13 @@ module FacebookAds
|
|
137
139
|
"NONE_EXPLORATION",
|
138
140
|
]
|
139
141
|
|
142
|
+
MULTI_OPTIMIZATION_GOAL_WEIGHT = [
|
143
|
+
"BALANCED",
|
144
|
+
"PREFER_EVENT",
|
145
|
+
"PREFER_INSTALL",
|
146
|
+
"UNDEFINED",
|
147
|
+
]
|
148
|
+
|
140
149
|
OPTIMIZATION_SUB_EVENT = [
|
141
150
|
"NONE",
|
142
151
|
"TRAVEL_INTENT",
|
@@ -203,6 +212,7 @@ module FacebookAds
|
|
203
212
|
field :lifetime_imps, 'int'
|
204
213
|
field :lifetime_min_spend_target, 'string'
|
205
214
|
field :lifetime_spend_cap, 'string'
|
215
|
+
field :multi_optimization_goal_weight, 'string'
|
206
216
|
field :name, 'string'
|
207
217
|
field :optimization_goal, { enum: -> { OPTIMIZATION_GOAL }}
|
208
218
|
field :optimization_sub_event, 'string'
|
@@ -272,10 +282,8 @@ module FacebookAds
|
|
272
282
|
|
273
283
|
has_edge :ads do |edge|
|
274
284
|
edge.get 'Ad' do |api|
|
275
|
-
api.has_param :ad_draft_id, 'string'
|
276
285
|
api.has_param :date_preset, { enum: -> { Ad::DATE_PRESET }}
|
277
286
|
api.has_param :effective_status, { list: 'string' }
|
278
|
-
api.has_param :include_drafts, 'bool'
|
279
287
|
api.has_param :time_range, 'object'
|
280
288
|
api.has_param :updated_since, 'int'
|
281
289
|
end
|
@@ -93,6 +93,7 @@ module FacebookAds
|
|
93
93
|
"LIVE_PHOTO",
|
94
94
|
"LOOK_NOW_DEPRECATED",
|
95
95
|
"MARKETPLACE_LISTING_VIDEO",
|
96
|
+
"MARKETPLACE_PRE_RECORDED_VIDEO",
|
96
97
|
"MOMENTS_VIDEO",
|
97
98
|
"NEO_ASYNC_GAME_VIDEO",
|
98
99
|
"NO_STORY",
|
@@ -120,6 +121,7 @@ module FacebookAds
|
|
120
121
|
"SLIDESHOW_SHAKR",
|
121
122
|
"SLIDESHOW_VARIATION_VIDEO",
|
122
123
|
"SOTTO_CONTENT",
|
124
|
+
"SOUND_PLATFORM_STREAM",
|
123
125
|
"STORIES_VIDEO",
|
124
126
|
"STORYLINE",
|
125
127
|
"STORYLINE_WITH_EXTERNAL_MUSIC",
|
@@ -199,6 +201,7 @@ module FacebookAds
|
|
199
201
|
"INSTAGRAM_STORY",
|
200
202
|
"INSTANT_ARTICLE_STANDARD",
|
201
203
|
"INSTREAM_VIDEO_DESKTOP",
|
204
|
+
"INSTREAM_VIDEO_IMAGE",
|
202
205
|
"INSTREAM_VIDEO_MOBILE",
|
203
206
|
"MESSENGER_MOBILE_INBOX_MEDIA",
|
204
207
|
"MESSENGER_MOBILE_STORY_MEDIA",
|
@@ -225,13 +228,6 @@ module FacebookAds
|
|
225
228
|
"year",
|
226
229
|
]
|
227
230
|
|
228
|
-
VIDEO_POLL_WWW_PLACEMENT = [
|
229
|
-
"BOTTOM_LEFT",
|
230
|
-
"BOTTOM_RIGHT",
|
231
|
-
"TOP_LEFT",
|
232
|
-
"TOP_RIGHT",
|
233
|
-
]
|
234
|
-
|
235
231
|
|
236
232
|
field :ad_breaks, { list: 'int' }
|
237
233
|
field :backdated_time, 'datetime'
|
@@ -391,10 +387,6 @@ module FacebookAds
|
|
391
387
|
|
392
388
|
has_edge :poll_settings do |edge|
|
393
389
|
edge.get
|
394
|
-
edge.post 'AdVideo' do |api|
|
395
|
-
api.has_param :enable_was_live_voting, 'bool'
|
396
|
-
api.has_param :video_poll_www_placement, { enum: -> { AdVideo::VIDEO_POLL_WWW_PLACEMENT }}
|
397
|
-
end
|
398
390
|
end
|
399
391
|
|
400
392
|
has_edge :polls do |edge|
|
@@ -69,8 +69,8 @@ module FacebookAds
|
|
69
69
|
]
|
70
70
|
|
71
71
|
|
72
|
-
field :ad_creative_id_new, '
|
73
|
-
field :ad_creative_id_old, '
|
72
|
+
field :ad_creative_id_new, 'AdCreative'
|
73
|
+
field :ad_creative_id_old, 'AdCreative'
|
74
74
|
field :asset_feed_id_new, 'string'
|
75
75
|
field :asset_feed_id_old, 'string'
|
76
76
|
field :bid_amount_new, 'int'
|
@@ -105,8 +105,8 @@ module FacebookAds
|
|
105
105
|
field :reason_old, 'string'
|
106
106
|
field :run_status_new, 'string'
|
107
107
|
field :run_status_old, 'string'
|
108
|
-
field :source_adgroup_id_new, '
|
109
|
-
field :source_adgroup_id_old, '
|
108
|
+
field :source_adgroup_id_new, 'Ad'
|
109
|
+
field :source_adgroup_id_old, 'Ad'
|
110
110
|
field :start_time_new, 'datetime'
|
111
111
|
field :start_time_old, 'datetime'
|
112
112
|
field :stop_time_new, 'datetime'
|
@@ -35,7 +35,9 @@ module FacebookAds
|
|
35
35
|
field :daily_deals, 'hash'
|
36
36
|
field :daily_deals_legacy, 'hash'
|
37
37
|
field :dpa, 'hash'
|
38
|
+
field :dri_counterfeit, 'hash'
|
38
39
|
field :facebook, 'hash'
|
40
|
+
field :facebook_pages_live_shopping, 'hash'
|
39
41
|
field :instagram, 'hash'
|
40
42
|
field :instagram_shop, 'hash'
|
41
43
|
field :lead_gen_honeypot, 'hash'
|
@@ -33,6 +33,7 @@ module FacebookAds
|
|
33
33
|
"28d_view",
|
34
34
|
"7d_click",
|
35
35
|
"7d_view",
|
36
|
+
"dda",
|
36
37
|
"default",
|
37
38
|
]
|
38
39
|
|
@@ -127,14 +128,10 @@ module FacebookAds
|
|
127
128
|
field :account_name, 'string'
|
128
129
|
field :action_values, { list: 'AdsActionStats' }
|
129
130
|
field :actions, { list: 'AdsActionStats' }
|
130
|
-
field :actions_per_impression, 'string'
|
131
|
-
field :actions_results, 'AdsActionStats'
|
132
|
-
field :activity_recency, 'string'
|
133
131
|
field :ad_bid_type, 'string'
|
134
132
|
field :ad_bid_value, 'string'
|
135
133
|
field :ad_click_actions, { list: 'AdsActionStats' }
|
136
134
|
field :ad_delivery, 'string'
|
137
|
-
field :ad_format_asset, 'string'
|
138
135
|
field :ad_id, 'string'
|
139
136
|
field :ad_impression_actions, { list: 'AdsActionStats' }
|
140
137
|
field :ad_name, 'string'
|
@@ -147,103 +144,49 @@ module FacebookAds
|
|
147
144
|
field :adset_id, 'string'
|
148
145
|
field :adset_name, 'string'
|
149
146
|
field :adset_start, 'string'
|
150
|
-
field :age, 'string'
|
151
147
|
field :age_targeting, 'string'
|
152
|
-
field :amount_in_catalog_currency, { list: 'AdsActionStats' }
|
153
|
-
field :app_store_clicks, 'string'
|
154
|
-
field :attention_events_per_impression, 'string'
|
155
|
-
field :attention_events_unq_per_reach, 'string'
|
156
148
|
field :auction_bid, 'string'
|
157
149
|
field :auction_competitiveness, 'string'
|
158
150
|
field :auction_max_competitor_bid, 'string'
|
159
|
-
field :body_asset, 'object'
|
160
151
|
field :buying_type, 'string'
|
161
|
-
field :call_to_action_asset, 'object'
|
162
|
-
field :call_to_action_clicks, 'string'
|
163
|
-
field :campaign_delivery, 'string'
|
164
|
-
field :campaign_end, 'string'
|
165
152
|
field :campaign_id, 'string'
|
166
153
|
field :campaign_name, 'string'
|
167
|
-
field :campaign_start, 'string'
|
168
|
-
field :cancel_subscription_actions, { list: 'AdsActionStats' }
|
169
154
|
field :canvas_avg_view_percent, 'string'
|
170
155
|
field :canvas_avg_view_time, 'string'
|
171
|
-
field :
|
172
|
-
field :catalog_segment_actions, { list: 'AdsActionStats' }
|
173
|
-
field :catalog_segment_value_in_catalog_currency, { list: 'AdsActionStats' }
|
156
|
+
field :catalog_segment_value, { list: 'AdsActionStats' }
|
174
157
|
field :catalog_segment_value_mobile_purchase_roas, { list: 'AdsActionStats' }
|
158
|
+
field :catalog_segment_value_omni_purchase_roas, { list: 'AdsActionStats' }
|
175
159
|
field :catalog_segment_value_website_purchase_roas, { list: 'AdsActionStats' }
|
176
160
|
field :clicks, 'string'
|
177
|
-
field :conditional_time_spent_ms_over_10s_actions, { list: 'AdsActionStats' }
|
178
|
-
field :conditional_time_spent_ms_over_15s_actions, { list: 'AdsActionStats' }
|
179
|
-
field :conditional_time_spent_ms_over_2s_actions, { list: 'AdsActionStats' }
|
180
|
-
field :conditional_time_spent_ms_over_3s_actions, { list: 'AdsActionStats' }
|
181
|
-
field :conditional_time_spent_ms_over_6s_actions, { list: 'AdsActionStats' }
|
182
|
-
field :contact_actions, { list: 'AdsActionStats' }
|
183
|
-
field :contact_value, { list: 'AdsActionStats' }
|
184
161
|
field :conversion_rate_ranking, 'string'
|
185
162
|
field :conversion_values, { list: 'AdsActionStats' }
|
186
163
|
field :conversions, { list: 'AdsActionStats' }
|
187
164
|
field :cost_per_15_sec_video_view, { list: 'AdsActionStats' }
|
188
165
|
field :cost_per_2_sec_continuous_video_view, { list: 'AdsActionStats' }
|
189
|
-
field :cost_per_action_result, 'AdsActionStats'
|
190
166
|
field :cost_per_action_type, { list: 'AdsActionStats' }
|
191
167
|
field :cost_per_ad_click, { list: 'AdsActionStats' }
|
192
|
-
field :cost_per_completed_video_view, { list: 'AdsActionStats' }
|
193
|
-
field :cost_per_contact, { list: 'AdsActionStats' }
|
194
168
|
field :cost_per_conversion, { list: 'AdsActionStats' }
|
195
|
-
field :cost_per_customize_product, { list: 'AdsActionStats' }
|
196
169
|
field :cost_per_dda_countby_convs, 'string'
|
197
|
-
field :cost_per_donate, { list: 'AdsActionStats' }
|
198
|
-
field :cost_per_dwell, 'string'
|
199
|
-
field :cost_per_dwell_3_sec, 'string'
|
200
|
-
field :cost_per_dwell_5_sec, 'string'
|
201
|
-
field :cost_per_dwell_7_sec, 'string'
|
202
170
|
field :cost_per_estimated_ad_recallers, 'string'
|
203
|
-
field :cost_per_find_location, { list: 'AdsActionStats' }
|
204
171
|
field :cost_per_inline_link_click, 'string'
|
205
172
|
field :cost_per_inline_post_engagement, 'string'
|
206
173
|
field :cost_per_one_thousand_ad_impression, { list: 'AdsActionStats' }
|
207
174
|
field :cost_per_outbound_click, { list: 'AdsActionStats' }
|
208
|
-
field :cost_per_schedule, { list: 'AdsActionStats' }
|
209
|
-
field :cost_per_start_trial, { list: 'AdsActionStats' }
|
210
175
|
field :cost_per_store_visit_action, { list: 'AdsActionStats' }
|
211
|
-
field :cost_per_submit_application, { list: 'AdsActionStats' }
|
212
|
-
field :cost_per_subscribe, { list: 'AdsActionStats' }
|
213
176
|
field :cost_per_thruplay, { list: 'AdsActionStats' }
|
214
|
-
field :cost_per_total_action, 'string'
|
215
177
|
field :cost_per_unique_action_type, { list: 'AdsActionStats' }
|
216
178
|
field :cost_per_unique_click, 'string'
|
217
179
|
field :cost_per_unique_conversion, { list: 'AdsActionStats' }
|
218
180
|
field :cost_per_unique_inline_link_click, 'string'
|
219
181
|
field :cost_per_unique_outbound_click, { list: 'AdsActionStats' }
|
220
|
-
field :country, 'string'
|
221
182
|
field :cpc, 'string'
|
222
183
|
field :cpm, 'string'
|
223
184
|
field :cpp, 'string'
|
224
185
|
field :created_time, 'string'
|
225
|
-
field :creative_fingerprint, 'string'
|
226
186
|
field :ctr, 'string'
|
227
|
-
field :customize_product_actions, { list: 'AdsActionStats' }
|
228
|
-
field :customize_product_value, { list: 'AdsActionStats' }
|
229
187
|
field :date_start, 'string'
|
230
188
|
field :date_stop, 'string'
|
231
189
|
field :dda_countby_convs, 'string'
|
232
|
-
field :deduping_1st_source_ratio, 'string'
|
233
|
-
field :deduping_2nd_source_ratio, 'string'
|
234
|
-
field :deduping_3rd_source_ratio, 'string'
|
235
|
-
field :deduping_ratio, 'string'
|
236
|
-
field :deeplink_clicks, 'string'
|
237
|
-
field :description_asset, 'object'
|
238
|
-
field :device_platform, 'string'
|
239
|
-
field :dma, 'string'
|
240
|
-
field :donate_actions, { list: 'AdsActionStats' }
|
241
|
-
field :donate_value, { list: 'AdsActionStats' }
|
242
|
-
field :dwell_3_sec, 'string'
|
243
|
-
field :dwell_5_sec, 'string'
|
244
|
-
field :dwell_7_sec, 'string'
|
245
|
-
field :dwell_rate, 'string'
|
246
|
-
field :earned_impression, 'string'
|
247
190
|
field :engagement_rate_ranking, 'string'
|
248
191
|
field :estimated_ad_recall_rate, 'string'
|
249
192
|
field :estimated_ad_recall_rate_lower_bound, 'string'
|
@@ -251,78 +194,38 @@ module FacebookAds
|
|
251
194
|
field :estimated_ad_recallers, 'string'
|
252
195
|
field :estimated_ad_recallers_lower_bound, 'string'
|
253
196
|
field :estimated_ad_recallers_upper_bound, 'string'
|
254
|
-
field :find_location_actions, { list: 'AdsActionStats' }
|
255
|
-
field :find_location_value, { list: 'AdsActionStats' }
|
256
197
|
field :frequency, 'string'
|
257
|
-
field :frequency_value, 'string'
|
258
198
|
field :full_view_impressions, 'string'
|
259
199
|
field :full_view_reach, 'string'
|
260
|
-
field :gender, 'string'
|
261
200
|
field :gender_targeting, 'string'
|
262
|
-
field :hourly_stats_aggregated_by_advertiser_time_zone, 'string'
|
263
|
-
field :hourly_stats_aggregated_by_audience_time_zone, 'string'
|
264
|
-
field :image_asset, 'object'
|
265
|
-
field :impression_device, 'string'
|
266
201
|
field :impressions, 'string'
|
267
|
-
field :impressions_auto_refresh, 'string'
|
268
|
-
field :impressions_gross, 'string'
|
269
202
|
field :inline_link_click_ctr, 'string'
|
270
203
|
field :inline_link_clicks, 'string'
|
271
204
|
field :inline_post_engagement, 'string'
|
272
205
|
field :instant_experience_clicks_to_open, 'string'
|
273
206
|
field :instant_experience_clicks_to_start, 'string'
|
274
207
|
field :instant_experience_outbound_clicks, 'string'
|
275
|
-
field :interactive_component_tap, { list: 'AdsActionStats' }
|
276
208
|
field :labels, 'string'
|
277
|
-
field :link_url_asset, 'object'
|
278
209
|
field :location, 'string'
|
279
|
-
field :media_asset, 'object'
|
280
210
|
field :mobile_app_purchase_roas, { list: 'AdsActionStats' }
|
281
|
-
field :newsfeed_avg_position, 'string'
|
282
|
-
field :newsfeed_clicks, 'string'
|
283
|
-
field :newsfeed_impressions, 'string'
|
284
211
|
field :objective, 'string'
|
285
|
-
field :optimization_goal, 'string'
|
286
212
|
field :outbound_clicks, { list: 'AdsActionStats' }
|
287
213
|
field :outbound_clicks_ctr, { list: 'AdsActionStats' }
|
288
|
-
field :performance_indicator, 'string'
|
289
|
-
field :place_page_id, 'string'
|
290
214
|
field :place_page_name, 'string'
|
291
|
-
field :placement, 'string'
|
292
|
-
field :platform_position, 'string'
|
293
|
-
field :product_id, 'string'
|
294
|
-
field :publisher_platform, 'string'
|
295
215
|
field :purchase_roas, { list: 'AdsActionStats' }
|
216
|
+
field :qualifying_question_qualify_answer_rate, 'string'
|
296
217
|
field :quality_ranking, 'string'
|
297
218
|
field :quality_score_ectr, 'string'
|
298
219
|
field :quality_score_ecvr, 'string'
|
299
220
|
field :quality_score_organic, 'string'
|
300
221
|
field :reach, 'string'
|
301
|
-
field :recurring_subscription_payment_actions, { list: 'AdsActionStats' }
|
302
|
-
field :region, 'string'
|
303
|
-
field :rule_asset, 'object'
|
304
|
-
field :schedule_actions, { list: 'AdsActionStats' }
|
305
|
-
field :schedule_value, { list: 'AdsActionStats' }
|
306
222
|
field :social_spend, 'string'
|
307
223
|
field :spend, 'string'
|
308
|
-
field :start_trial_actions, { list: 'AdsActionStats' }
|
309
|
-
field :start_trial_value, { list: 'AdsActionStats' }
|
310
224
|
field :store_visit_actions, { list: 'AdsActionStats' }
|
311
|
-
field :submit_application_actions, { list: 'AdsActionStats' }
|
312
|
-
field :submit_application_value, { list: 'AdsActionStats' }
|
313
|
-
field :subscribe_actions, { list: 'AdsActionStats' }
|
314
|
-
field :subscribe_value, { list: 'AdsActionStats' }
|
315
|
-
field :thumb_stops, 'string'
|
316
|
-
field :title_asset, 'object'
|
317
|
-
field :today_spend, 'string'
|
318
|
-
field :total_action_value, 'string'
|
319
|
-
field :total_actions, 'string'
|
320
|
-
field :total_unique_actions, 'string'
|
321
225
|
field :unique_actions, { list: 'AdsActionStats' }
|
322
226
|
field :unique_clicks, 'string'
|
323
227
|
field :unique_conversions, { list: 'AdsActionStats' }
|
324
228
|
field :unique_ctr, 'string'
|
325
|
-
field :unique_impressions, 'string'
|
326
229
|
field :unique_inline_link_click_ctr, 'string'
|
327
230
|
field :unique_inline_link_clicks, 'string'
|
328
231
|
field :unique_link_clicks_ctr, 'string'
|
@@ -333,10 +236,7 @@ module FacebookAds
|
|
333
236
|
field :updated_time, 'string'
|
334
237
|
field :video_15_sec_watched_actions, { list: 'AdsActionStats' }
|
335
238
|
field :video_30_sec_watched_actions, { list: 'AdsActionStats' }
|
336
|
-
field :video_asset, 'object'
|
337
239
|
field :video_avg_time_watched_actions, { list: 'AdsActionStats' }
|
338
|
-
field :video_complete_watched_actions, { list: 'AdsActionStats' }
|
339
|
-
field :video_completed_view_or_15s_passed_actions, { list: 'AdsActionStats' }
|
340
240
|
field :video_continuous_2_sec_watched_actions, { list: 'AdsActionStats' }
|
341
241
|
field :video_p100_watched_actions, { list: 'AdsActionStats' }
|
342
242
|
field :video_p25_watched_actions, { list: 'AdsActionStats' }
|
@@ -350,7 +250,6 @@ module FacebookAds
|
|
350
250
|
field :video_play_retention_graph_actions, { list: 'object' }
|
351
251
|
field :video_thruplay_watched_actions, { list: 'AdsActionStats' }
|
352
252
|
field :video_time_watched_actions, { list: 'AdsActionStats' }
|
353
|
-
field :website_clicks, 'string'
|
354
253
|
field :website_ctr, { list: 'AdsActionStats' }
|
355
254
|
field :website_purchase_roas, { list: 'AdsActionStats' }
|
356
255
|
field :wish_bid, 'string'
|
@@ -25,19 +25,17 @@ module FacebookAds
|
|
25
25
|
# on github and we'll fix in our codegen framework. We'll not be able to accept
|
26
26
|
# pull request for this class.
|
27
27
|
|
28
|
-
class
|
28
|
+
class AdsInterest < AdObject
|
29
29
|
|
30
|
-
field :
|
30
|
+
field :audience_size, 'int'
|
31
31
|
field :description, 'string'
|
32
|
+
field :disambiguation_category, 'string'
|
32
33
|
field :id, 'string'
|
33
34
|
field :name, 'string'
|
34
|
-
field :
|
35
|
-
field :
|
36
|
-
|
37
|
-
|
38
|
-
has_edge :bundle_folders do |edge|
|
39
|
-
edge.get 'DynamicItemDisplayBundleFolder'
|
40
|
-
end
|
35
|
+
field :path, { list: 'string' }
|
36
|
+
field :topic, 'string'
|
37
|
+
has_no_post
|
38
|
+
has_no_delete
|
41
39
|
|
42
40
|
end
|
43
41
|
end
|