facebookbusiness 0.8.0.3 → 0.8.0.4
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.
- checksums.yaml +4 -4
- data/lib/facebook_ads/ad_objects/ad_account.rb +5 -3
- data/lib/facebook_ads/ad_objects/ad_account_ad_volume.rb +1 -0
- data/lib/facebook_ads/ad_objects/ad_account_targeting_unified.rb +21 -5
- data/lib/facebook_ads/ad_objects/ad_activity.rb +0 -1
- data/lib/facebook_ads/ad_objects/ad_asset_feed_spec.rb +3 -0
- data/lib/facebook_ads/ad_objects/ad_async_request.rb +2 -0
- data/lib/facebook_ads/ad_objects/ad_campaign_activity.rb +2 -0
- data/lib/facebook_ads/ad_objects/ad_creative.rb +3 -0
- data/lib/facebook_ads/ad_objects/ad_creative_link_data_call_to_action.rb +3 -0
- data/lib/facebook_ads/ad_objects/ad_preview.rb +1 -0
- data/lib/facebook_ads/ad_objects/ad_rule_execution_spec.rb +4 -0
- data/lib/facebook_ads/ad_objects/ad_study.rb +0 -1
- data/lib/facebook_ads/ad_objects/ad_study_objective.rb +0 -4
- data/lib/facebook_ads/ad_objects/ad_video.rb +3 -0
- data/lib/facebook_ads/ad_objects/adoptable_pet.rb +7 -0
- data/lib/facebook_ads/ad_objects/ads_insights.rb +1 -0
- data/lib/facebook_ads/ad_objects/ads_pixel.rb +1 -0
- data/lib/facebook_ads/ad_objects/application.rb +1 -0
- data/lib/facebook_ads/ad_objects/business.rb +10 -3
- data/lib/facebook_ads/ad_objects/business_asset_group.rb +0 -1
- data/lib/facebook_ads/ad_objects/business_role_request.rb +4 -4
- data/lib/facebook_ads/ad_objects/business_user.rb +4 -4
- data/lib/facebook_ads/ad_objects/campaign.rb +1 -0
- data/lib/facebook_ads/ad_objects/commerce_merchant_settings.rb +2 -24
- data/lib/facebook_ads/ad_objects/commerce_merchant_settings_setup_status.rb +1 -0
- data/lib/facebook_ads/ad_objects/group.rb +2 -0
- data/lib/facebook_ads/ad_objects/hotel_room.rb +1 -0
- data/lib/facebook_ads/ad_objects/link.rb +6 -0
- data/lib/facebook_ads/ad_objects/page.rb +20 -9
- data/lib/facebook_ads/ad_objects/playable_content.rb +1 -0
- data/lib/facebook_ads/ad_objects/post.rb +46 -1
- data/lib/facebook_ads/ad_objects/product_catalog.rb +2 -7
- data/lib/facebook_ads/ad_objects/product_feed.rb +1 -0
- data/lib/facebook_ads/ad_objects/product_item.rb +1 -0
- data/lib/facebook_ads/ad_objects/referral.rb +2 -0
- data/lib/facebook_ads/ad_objects/server_side/event_request.rb +1 -1
- data/lib/facebook_ads/ad_objects/system_user.rb +4 -4
- data/lib/facebook_ads/ad_objects/third_party_measurement_report_dataset.rb +0 -1
- data/lib/facebook_ads/ad_objects/user.rb +21 -9
- data/lib/facebook_ads/ad_objects/vehicle.rb +1 -0
- data/lib/facebook_ads/ad_objects/whats_app_business_account.rb +3 -0
- data/lib/facebook_ads/session.rb +1 -1
- data/lib/facebook_ads/version.rb +1 -1
- metadata +2 -3
- data/lib/facebook_ads/ad_objects/ad_creative_instagram_branded_content.rb +0 -36
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e1674e6e9412d64f6d58b724ffc9adf172546057319a46dfa3cd6b59d71b6865
|
4
|
+
data.tar.gz: f3b5b11f1e80f56776a6e2291eb50a42f898409c4e42988a64617ff0fba5126b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 653c4daee5caf9791723d2c883dfea0d9c998e1f2c8dbba9f6e31258e8040f641fb552a2aa07f66ee8fec58631f8b8acec47ed0ebd8a59411fb0342619c80e15
|
7
|
+
data.tar.gz: 17dd305b338f2e55fabee89e2973e248d1511394ad2ae09b3c5b5f86865e7cef1bd0995b06447eb72959d2f6d09faf7d4e469612b4ed1bddd1fa45577cecd54e
|
@@ -332,6 +332,7 @@ module FacebookAds
|
|
332
332
|
edge.post 'PlayableContent' do |api|
|
333
333
|
api.has_param :app_id, 'string'
|
334
334
|
api.has_param :name, 'string'
|
335
|
+
api.has_param :session_id, 'string'
|
335
336
|
api.has_param :source, 'file'
|
336
337
|
api.has_param :source_url, 'string'
|
337
338
|
api.has_param :source_zip, 'file'
|
@@ -1056,9 +1057,12 @@ module FacebookAds
|
|
1056
1057
|
has_edge :targetingsearch do |edge|
|
1057
1058
|
edge.get 'AdAccountTargetingUnified' do |api|
|
1058
1059
|
api.has_param :allow_only_fat_head_interests, 'bool'
|
1060
|
+
api.has_param :app_store, { enum: -> { AdAccountTargetingUnified::APP_STORE }}
|
1059
1061
|
api.has_param :countries, { list: 'string' }
|
1060
1062
|
api.has_param :is_exclusion, 'bool'
|
1061
1063
|
api.has_param :limit_type, { enum: -> { AdAccountTargetingUnified::LIMIT_TYPE }}
|
1064
|
+
api.has_param :objective, { enum: -> { AdAccountTargetingUnified::OBJECTIVE }}
|
1065
|
+
api.has_param :promoted_object, 'object'
|
1062
1066
|
api.has_param :q, 'string'
|
1063
1067
|
api.has_param :regulated_categories, { list: { enum: -> { AdAccountTargetingUnified::REGULATED_CATEGORIES }} }
|
1064
1068
|
api.has_param :session_id, 'int'
|
@@ -1078,6 +1082,7 @@ module FacebookAds
|
|
1078
1082
|
|
1079
1083
|
has_edge :targetingsuggestions do |edge|
|
1080
1084
|
edge.get 'AdAccountTargetingUnified' do |api|
|
1085
|
+
api.has_param :app_store, { enum: -> { AdAccountTargetingUnified::APP_STORE }}
|
1081
1086
|
api.has_param :countries, { list: 'string' }
|
1082
1087
|
api.has_param :limit_type, { enum: -> { AdAccountTargetingUnified::LIMIT_TYPE }}
|
1083
1088
|
api.has_param :mode, { enum: -> { AdAccountTargetingUnified::MODE }}
|
@@ -1100,9 +1105,6 @@ module FacebookAds
|
|
1100
1105
|
end
|
1101
1106
|
|
1102
1107
|
has_edge :tracking do |edge|
|
1103
|
-
edge.delete do |api|
|
1104
|
-
api.has_param :tracking_specs, 'object'
|
1105
|
-
end
|
1106
1108
|
edge.get 'AdAccountTrackingData'
|
1107
1109
|
edge.post 'AdAccount' do |api|
|
1108
1110
|
api.has_param :tracking_specs, 'object'
|
@@ -185,11 +185,20 @@ module FacebookAds
|
|
185
185
|
"zips",
|
186
186
|
]
|
187
187
|
|
188
|
-
|
189
|
-
"
|
190
|
-
"
|
191
|
-
"
|
192
|
-
"
|
188
|
+
APP_STORE = [
|
189
|
+
"amazon_app_store",
|
190
|
+
"does_not_exist",
|
191
|
+
"fb_android_store",
|
192
|
+
"fb_canvas",
|
193
|
+
"fb_gameroom",
|
194
|
+
"google_play",
|
195
|
+
"instant_game",
|
196
|
+
"itunes",
|
197
|
+
"itunes_ipad",
|
198
|
+
"oculus_app_store",
|
199
|
+
"roku_channel_store",
|
200
|
+
"windows_10_store",
|
201
|
+
"windows_store",
|
193
202
|
]
|
194
203
|
|
195
204
|
OBJECTIVE = [
|
@@ -210,6 +219,13 @@ module FacebookAds
|
|
210
219
|
"VIDEO_VIEWS",
|
211
220
|
]
|
212
221
|
|
222
|
+
MODE = [
|
223
|
+
"best_performing",
|
224
|
+
"recently_used",
|
225
|
+
"related",
|
226
|
+
"suggestions",
|
227
|
+
]
|
228
|
+
|
213
229
|
|
214
230
|
field :audience_size, 'int'
|
215
231
|
field :conversion_lift, 'double'
|
@@ -96,7 +96,6 @@ module FacebookAds
|
|
96
96
|
"update_campaign_budget",
|
97
97
|
"update_campaign_budget_optimization_toggling_status",
|
98
98
|
"update_campaign_delivery_type",
|
99
|
-
"update_campaign_duration",
|
100
99
|
"update_campaign_group_ad_scheduling",
|
101
100
|
"update_campaign_group_delivery_type",
|
102
101
|
"update_campaign_group_spend_cap",
|
@@ -67,6 +67,7 @@ module FacebookAds
|
|
67
67
|
"PLAY_GAME",
|
68
68
|
"PURCHASE_GIFT_CARDS",
|
69
69
|
"RECORD_NOW",
|
70
|
+
"REFER_FRIENDS",
|
70
71
|
"REQUEST_TIME",
|
71
72
|
"SAY_THANKS",
|
72
73
|
"SEE_MORE",
|
@@ -77,6 +78,8 @@ module FacebookAds
|
|
77
78
|
"SIGN_UP",
|
78
79
|
"SOTTO_SUBSCRIBE",
|
79
80
|
"SUBSCRIBE",
|
81
|
+
"SWIPE_UP_PRODUCT",
|
82
|
+
"SWIPE_UP_SHOP",
|
80
83
|
"UPDATE_APP",
|
81
84
|
"USE_APP",
|
82
85
|
"USE_MOBILE_APP",
|
@@ -163,6 +163,8 @@ module FacebookAds
|
|
163
163
|
field :optimization_goal_old, { enum: -> { OPTIMIZATION_GOAL_OLD }}
|
164
164
|
field :pacing_type_new, 'int'
|
165
165
|
field :pacing_type_old, 'int'
|
166
|
+
field :promoted_object_id_new, 'string'
|
167
|
+
field :promoted_object_id_old, 'string'
|
166
168
|
field :run_status_new, 'string'
|
167
169
|
field :run_status_old, 'string'
|
168
170
|
field :schedule_new, { list: 'object' }
|
@@ -73,6 +73,7 @@ module FacebookAds
|
|
73
73
|
"PLAY_GAME",
|
74
74
|
"PURCHASE_GIFT_CARDS",
|
75
75
|
"RECORD_NOW",
|
76
|
+
"REFER_FRIENDS",
|
76
77
|
"REQUEST_TIME",
|
77
78
|
"SAY_THANKS",
|
78
79
|
"SEE_MORE",
|
@@ -83,6 +84,8 @@ module FacebookAds
|
|
83
84
|
"SIGN_UP",
|
84
85
|
"SOTTO_SUBSCRIBE",
|
85
86
|
"SUBSCRIBE",
|
87
|
+
"SWIPE_UP_PRODUCT",
|
88
|
+
"SWIPE_UP_SHOP",
|
86
89
|
"UPDATE_APP",
|
87
90
|
"USE_APP",
|
88
91
|
"USE_MOBILE_APP",
|
@@ -67,6 +67,7 @@ module FacebookAds
|
|
67
67
|
"PLAY_GAME",
|
68
68
|
"PURCHASE_GIFT_CARDS",
|
69
69
|
"RECORD_NOW",
|
70
|
+
"REFER_FRIENDS",
|
70
71
|
"REQUEST_TIME",
|
71
72
|
"SAY_THANKS",
|
72
73
|
"SEE_MORE",
|
@@ -77,6 +78,8 @@ module FacebookAds
|
|
77
78
|
"SIGN_UP",
|
78
79
|
"SOTTO_SUBSCRIBE",
|
79
80
|
"SUBSCRIBE",
|
81
|
+
"SWIPE_UP_PRODUCT",
|
82
|
+
"SWIPE_UP_SHOP",
|
80
83
|
"UPDATE_APP",
|
81
84
|
"USE_APP",
|
82
85
|
"USE_MOBILE_APP",
|
@@ -27,15 +27,19 @@ module FacebookAds
|
|
27
27
|
|
28
28
|
class AdRuleExecutionSpec < AdObject
|
29
29
|
EXECUTION_TYPE = [
|
30
|
+
"ADD_INTEREST_RELAXATION",
|
31
|
+
"ADD_QUESTIONNAIRE_INTERESTS",
|
30
32
|
"CHANGE_BID",
|
31
33
|
"CHANGE_BUDGET",
|
32
34
|
"CHANGE_CAMPAIGN_BUDGET",
|
35
|
+
"INCREASE_RADIUS",
|
33
36
|
"NOTIFICATION",
|
34
37
|
"PAUSE",
|
35
38
|
"PING_ENDPOINT",
|
36
39
|
"REBALANCE_BUDGET",
|
37
40
|
"ROTATE",
|
38
41
|
"UNPAUSE",
|
42
|
+
"UPDATE_CREATIVE",
|
39
43
|
]
|
40
44
|
|
41
45
|
|
@@ -69,7 +69,6 @@ module FacebookAds
|
|
69
69
|
api.has_param :is_primary, 'bool'
|
70
70
|
api.has_param :name, 'string'
|
71
71
|
api.has_param :offline_conversion_data_sets, { list: 'object' }
|
72
|
-
api.has_param :offsitepixels, { list: 'object' }
|
73
72
|
api.has_param :product_catalogs, { list: 'object' }
|
74
73
|
api.has_param :product_sets, { list: 'object' }
|
75
74
|
api.has_param :type, { enum: -> { AdStudyObjective::TYPE }}
|
@@ -43,6 +43,7 @@ module FacebookAds
|
|
43
43
|
"CANDIDATE_VIDEOS",
|
44
44
|
"CANVAS",
|
45
45
|
"CFC_VIDEO",
|
46
|
+
"CMS_MEDIA_MANAGER",
|
46
47
|
"CONTAINED_POST_ATTACHMENT",
|
47
48
|
"CONTAINED_POST_AUDIO_BROADCAST",
|
48
49
|
"CONTAINED_POST_BROADCAST",
|
@@ -77,6 +78,7 @@ module FacebookAds
|
|
77
78
|
"HEURISTIC_CLUSTER_VIDEO",
|
78
79
|
"HEURISTIC_PREVIEW",
|
79
80
|
"HIGHLIGHT_CLIP_VIDEO",
|
81
|
+
"IG_REELS_XPV",
|
80
82
|
"IG_STORIES_READER",
|
81
83
|
"INSPIRATION_VIDEO",
|
82
84
|
"INSTAGRAM_VIDEO_COPY",
|
@@ -129,6 +131,7 @@ module FacebookAds
|
|
129
131
|
"STORYLINE_WITH_EXTERNAL_MUSIC",
|
130
132
|
"STORY_ARCHIVE_VIDEO",
|
131
133
|
"STORY_CARD_TEMPLATE",
|
134
|
+
"STREAM_HIGHLIGHTS_VIDEO",
|
132
135
|
"TAROT_DIGEST",
|
133
136
|
"TEMP_MULTIMEDIA_POST",
|
134
137
|
"UNLISTED",
|
@@ -36,17 +36,24 @@ module FacebookAds
|
|
36
36
|
field :availability, 'string'
|
37
37
|
field :breed, 'string'
|
38
38
|
field :category_specific_fields, 'CatalogSubVerticalList'
|
39
|
+
field :coat_length, 'string'
|
40
|
+
field :color, 'string'
|
39
41
|
field :currency, 'string'
|
40
42
|
field :description, 'string'
|
43
|
+
field :features, { list: 'string' }
|
41
44
|
field :gender, 'string'
|
42
45
|
field :id, 'string'
|
43
46
|
field :images, { list: 'string' }
|
44
47
|
field :name, 'string'
|
45
48
|
field :price, 'string'
|
46
49
|
field :sanitized_images, { list: 'string' }
|
50
|
+
field :secondary_color, 'string'
|
51
|
+
field :shelter_email, 'string'
|
47
52
|
field :shelter_name, 'string'
|
48
53
|
field :shelter_page_id, 'Page'
|
54
|
+
field :shelter_phone, 'string'
|
49
55
|
field :size, 'string'
|
56
|
+
field :tertiary_color, 'string'
|
50
57
|
field :url, 'string'
|
51
58
|
has_no_post
|
52
59
|
has_no_delete
|
@@ -100,6 +100,7 @@ module FacebookAds
|
|
100
100
|
field :android_key_hash, { list: 'string' }
|
101
101
|
field :android_sdk_error_categories, { list: 'object' }
|
102
102
|
field :app_domains, { list: 'string' }
|
103
|
+
field :app_events_config, 'object'
|
103
104
|
field :app_events_feature_bitmask, 'int'
|
104
105
|
field :app_events_session_timeout, 'int'
|
105
106
|
field :app_install_tracked, 'bool'
|
@@ -86,7 +86,6 @@ module FacebookAds
|
|
86
86
|
"PROFILE_PLUS_ADVERTISE",
|
87
87
|
"PROFILE_PLUS_ANALYZE",
|
88
88
|
"PROFILE_PLUS_CREATE_CONTENT",
|
89
|
-
"PROFILE_PLUS_LIVE_STREAM_MODERATION",
|
90
89
|
"PROFILE_PLUS_MANAGE",
|
91
90
|
"PROFILE_PLUS_MESSAGING",
|
92
91
|
"PROFILE_PLUS_MODERATE",
|
@@ -125,6 +124,12 @@ module FacebookAds
|
|
125
124
|
end
|
126
125
|
end
|
127
126
|
|
127
|
+
has_edge :ad_accounts do |edge|
|
128
|
+
edge.delete do |api|
|
129
|
+
api.has_param :adaccount_id, 'string'
|
130
|
+
end
|
131
|
+
end
|
132
|
+
|
128
133
|
has_edge :ad_studies do |edge|
|
129
134
|
edge.get 'AdStudy'
|
130
135
|
edge.post 'AdStudy' do |api|
|
@@ -489,18 +494,20 @@ module FacebookAds
|
|
489
494
|
edge.post 'ProductCatalog' do |api|
|
490
495
|
api.has_param :catalog_segment_filter, 'object'
|
491
496
|
api.has_param :catalog_segment_product_set_id, 'string'
|
492
|
-
api.has_param :commerce_merchant_settings, 'object'
|
493
497
|
api.has_param :da_display_settings, 'object'
|
494
498
|
api.has_param :destination_catalog_settings, 'hash'
|
495
499
|
api.has_param :flight_catalog_settings, 'hash'
|
496
500
|
api.has_param :name, 'string'
|
497
|
-
api.has_param :onsite_commerce_merchant, 'object'
|
498
501
|
api.has_param :parent_catalog_id, 'string'
|
499
502
|
api.has_param :store_catalog_settings, 'hash'
|
500
503
|
api.has_param :vertical, { enum: -> { ProductCatalog::VERTICAL }}
|
501
504
|
end
|
502
505
|
end
|
503
506
|
|
507
|
+
has_edge :owned_whatsapp_business_accounts do |edge|
|
508
|
+
edge.get 'WhatsAppBusinessAccount'
|
509
|
+
end
|
510
|
+
|
504
511
|
has_edge :pages do |edge|
|
505
512
|
edge.delete do |api|
|
506
513
|
api.has_param :page_id, 'int'
|
@@ -29,14 +29,14 @@ module FacebookAds
|
|
29
29
|
ROLE = [
|
30
30
|
"ADMIN",
|
31
31
|
"ADS_RIGHTS_REVIEWER",
|
32
|
+
"DEFAULT",
|
32
33
|
"DEVELOPER",
|
33
34
|
"EMPLOYEE",
|
34
35
|
"FINANCE_ANALYST",
|
36
|
+
"FINANCE_EDIT",
|
35
37
|
"FINANCE_EDITOR",
|
36
|
-
"
|
37
|
-
"
|
38
|
-
"MODERATE_TASK",
|
39
|
-
"OPERATE_TASK",
|
38
|
+
"FINANCE_VIEW",
|
39
|
+
"MANAGE",
|
40
40
|
"PARTNER_CENTER_ADMIN",
|
41
41
|
"PARTNER_CENTER_ANALYST",
|
42
42
|
"PARTNER_CENTER_EDUCATION",
|
@@ -29,14 +29,14 @@ module FacebookAds
|
|
29
29
|
ROLE = [
|
30
30
|
"ADMIN",
|
31
31
|
"ADS_RIGHTS_REVIEWER",
|
32
|
+
"DEFAULT",
|
32
33
|
"DEVELOPER",
|
33
34
|
"EMPLOYEE",
|
34
35
|
"FINANCE_ANALYST",
|
36
|
+
"FINANCE_EDIT",
|
35
37
|
"FINANCE_EDITOR",
|
36
|
-
"
|
37
|
-
"
|
38
|
-
"MODERATE_TASK",
|
39
|
-
"OPERATE_TASK",
|
38
|
+
"FINANCE_VIEW",
|
39
|
+
"MANAGE",
|
40
40
|
"PARTNER_CENTER_ADMIN",
|
41
41
|
"PARTNER_CENTER_ANALYST",
|
42
42
|
"PARTNER_CENTER_EDUCATION",
|
@@ -26,16 +26,6 @@ module FacebookAds
|
|
26
26
|
# pull request for this class.
|
27
27
|
|
28
28
|
class CommerceMerchantSettings < AdObject
|
29
|
-
CTA = [
|
30
|
-
"CONTACT_MERCHANT",
|
31
|
-
"OFFSITE_LINK",
|
32
|
-
]
|
33
|
-
|
34
|
-
MERCHANT_STATUS = [
|
35
|
-
"ENABLED",
|
36
|
-
"EXTERNALLY_DISABLED",
|
37
|
-
]
|
38
|
-
|
39
29
|
|
40
30
|
field :braintree_merchant_id, 'string'
|
41
31
|
field :checkout_message, 'string'
|
@@ -43,6 +33,7 @@ module FacebookAds
|
|
43
33
|
field :cta, 'string'
|
44
34
|
field :disable_checkout_urls, 'bool'
|
45
35
|
field :display_name, 'string'
|
36
|
+
field :external_merchant_id, 'string'
|
46
37
|
field :facebook_channel, 'object'
|
47
38
|
field :has_discount_code, 'bool'
|
48
39
|
field :id, 'string'
|
@@ -60,22 +51,9 @@ module FacebookAds
|
|
60
51
|
field :terms, 'string'
|
61
52
|
field :terms_url_by_locale, 'hash'
|
62
53
|
field :whatsapp_channel, 'object'
|
54
|
+
has_no_post
|
63
55
|
has_no_delete
|
64
56
|
|
65
|
-
has_edge :facebook_channel do |edge|
|
66
|
-
edge.post 'CommerceMerchantSettings' do |api|
|
67
|
-
api.has_param :pages, { list: 'string' }
|
68
|
-
end
|
69
|
-
end
|
70
|
-
|
71
|
-
has_edge :instagram_channel do |edge|
|
72
|
-
edge.delete
|
73
|
-
edge.post 'CommerceMerchantSettings' do |api|
|
74
|
-
api.has_param :instagram_business_accounts, { list: 'string' }
|
75
|
-
api.has_param :instagram_users, { list: 'string' }
|
76
|
-
end
|
77
|
-
end
|
78
|
-
|
79
57
|
has_edge :order_management_apps do |edge|
|
80
58
|
edge.get 'Application'
|
81
59
|
edge.post 'CommerceMerchantSettings'
|
@@ -70,6 +70,7 @@ module FacebookAds
|
|
70
70
|
"SCHOOL_CLASS",
|
71
71
|
"SORORITY",
|
72
72
|
"SPORTS",
|
73
|
+
"STREAMER",
|
73
74
|
"STUDY_GROUP",
|
74
75
|
"SUPPORT",
|
75
76
|
"TEAMMATES",
|
@@ -125,6 +126,7 @@ module FacebookAds
|
|
125
126
|
"SCHOOL_CLASS",
|
126
127
|
"SORORITY",
|
127
128
|
"SPORTS",
|
129
|
+
"STREAMER",
|
128
130
|
"STUDY_GROUP",
|
129
131
|
"SUPPORT",
|
130
132
|
"TEAMMATES",
|
@@ -43,6 +43,12 @@ module FacebookAds
|
|
43
43
|
has_no_delete
|
44
44
|
|
45
45
|
has_edge :comments do |edge|
|
46
|
+
edge.get 'Comment' do |api|
|
47
|
+
api.has_param :filter, { enum: -> { Comment::FILTER }}
|
48
|
+
api.has_param :live_filter, { enum: -> { Comment::LIVE_FILTER }}
|
49
|
+
api.has_param :order, { enum: -> { Comment::ORDER }}
|
50
|
+
api.has_param :since, 'datetime'
|
51
|
+
end
|
46
52
|
edge.post 'Comment' do |api|
|
47
53
|
api.has_param :attachment_id, 'string'
|
48
54
|
api.has_param :attachment_share_url, 'string'
|
@@ -121,7 +121,6 @@ module FacebookAds
|
|
121
121
|
"PROFILE_PLUS_ADVERTISE",
|
122
122
|
"PROFILE_PLUS_ANALYZE",
|
123
123
|
"PROFILE_PLUS_CREATE_CONTENT",
|
124
|
-
"PROFILE_PLUS_LIVE_STREAM_MODERATION",
|
125
124
|
"PROFILE_PLUS_MANAGE",
|
126
125
|
"PROFILE_PLUS_MESSAGING",
|
127
126
|
"PROFILE_PLUS_MODERATE",
|
@@ -145,7 +144,6 @@ module FacebookAds
|
|
145
144
|
"PROFILE_PLUS_ADVERTISE",
|
146
145
|
"PROFILE_PLUS_ANALYZE",
|
147
146
|
"PROFILE_PLUS_CREATE_CONTENT",
|
148
|
-
"PROFILE_PLUS_LIVE_STREAM_MODERATION",
|
149
147
|
"PROFILE_PLUS_MANAGE",
|
150
148
|
"PROFILE_PLUS_MESSAGING",
|
151
149
|
"PROFILE_PLUS_MODERATE",
|
@@ -286,6 +284,7 @@ module FacebookAds
|
|
286
284
|
"leadgen",
|
287
285
|
"leadgen_fat",
|
288
286
|
"live_videos",
|
287
|
+
"local_delivery",
|
289
288
|
"location",
|
290
289
|
"mcom_invoice_change",
|
291
290
|
"members",
|
@@ -362,6 +361,7 @@ module FacebookAds
|
|
362
361
|
field :checkins, 'int'
|
363
362
|
field :company_overview, 'string'
|
364
363
|
field :connected_instagram_account, 'IgUser'
|
364
|
+
field :connected_page_backed_instagram_account, 'IgUser'
|
365
365
|
field :contact_address, 'MailingAddress'
|
366
366
|
field :copyright_whitelisted_ig_partners, { list: 'string' }
|
367
367
|
field :country_page_likes, 'int'
|
@@ -593,9 +593,6 @@ module FacebookAds
|
|
593
593
|
api.has_param :url, 'string'
|
594
594
|
end
|
595
595
|
edge.get 'Url'
|
596
|
-
edge.post 'Page' do |api|
|
597
|
-
api.has_param :url, 'string'
|
598
|
-
end
|
599
596
|
end
|
600
597
|
|
601
598
|
has_edge :commerce_merchant_settings do |edge|
|
@@ -1003,10 +1000,6 @@ module FacebookAds
|
|
1003
1000
|
edge.get 'MessagingFeatureReview'
|
1004
1001
|
end
|
1005
1002
|
|
1006
|
-
has_edge :messenger_ads_page_welcome_messages do |edge|
|
1007
|
-
edge.get 'MessengerDestinationPageWelcomeMessage'
|
1008
|
-
end
|
1009
|
-
|
1010
1003
|
has_edge :messenger_profile do |edge|
|
1011
1004
|
edge.delete do |api|
|
1012
1005
|
api.has_param :fields, { list: { enum: %w{ACCOUNT_LINKING_URL GET_STARTED GREETING HOME_URL ICE_BREAKERS PAYMENT_SETTINGS PERSISTENT_MENU PLATFORM TARGET_AUDIENCE WHITELISTED_DOMAINS }} }
|
@@ -1083,6 +1076,14 @@ module FacebookAds
|
|
1083
1076
|
end
|
1084
1077
|
end
|
1085
1078
|
|
1079
|
+
has_edge :pass_thread_metadata do |edge|
|
1080
|
+
edge.post 'Page' do |api|
|
1081
|
+
api.has_param :metadata, 'string'
|
1082
|
+
api.has_param :recipient, 'object'
|
1083
|
+
api.has_param :target_app_id, 'int'
|
1084
|
+
end
|
1085
|
+
end
|
1086
|
+
|
1086
1087
|
has_edge :personas do |edge|
|
1087
1088
|
edge.get 'Persona'
|
1088
1089
|
edge.post 'Persona' do |api|
|
@@ -1219,6 +1220,12 @@ module FacebookAds
|
|
1219
1220
|
edge.get 'Recommendation'
|
1220
1221
|
end
|
1221
1222
|
|
1223
|
+
has_edge :release_thread_control do |edge|
|
1224
|
+
edge.post 'Page' do |api|
|
1225
|
+
api.has_param :recipient, 'object'
|
1226
|
+
end
|
1227
|
+
end
|
1228
|
+
|
1222
1229
|
has_edge :request_thread_control do |edge|
|
1223
1230
|
edge.post 'Page' do |api|
|
1224
1231
|
api.has_param :metadata, 'string'
|
@@ -1318,6 +1325,10 @@ module FacebookAds
|
|
1318
1325
|
api.has_param :selected_rule_id, 'string'
|
1319
1326
|
api.has_param :source, { enum: -> { VideoCopyrightRule::SOURCE }}
|
1320
1327
|
end
|
1328
|
+
edge.post 'VideoCopyrightRule' do |api|
|
1329
|
+
api.has_param :condition_groups, { list: 'object' }
|
1330
|
+
api.has_param :name, 'string'
|
1331
|
+
end
|
1321
1332
|
end
|
1322
1333
|
|
1323
1334
|
has_edge :video_copyrights do |edge|
|
@@ -46,6 +46,51 @@ module FacebookAds
|
|
46
46
|
"normal",
|
47
47
|
]
|
48
48
|
|
49
|
+
CHECKIN_ENTRY_POINT = [
|
50
|
+
"BRANDING_CHECKIN",
|
51
|
+
"BRANDING_OTHER",
|
52
|
+
"BRANDING_PHOTO",
|
53
|
+
"BRANDING_STATUS",
|
54
|
+
]
|
55
|
+
|
56
|
+
FORMATTING = [
|
57
|
+
"MARKDOWN",
|
58
|
+
"PLAINTEXT",
|
59
|
+
]
|
60
|
+
|
61
|
+
PLACE_ATTACHMENT_SETTING = [
|
62
|
+
"1",
|
63
|
+
"2",
|
64
|
+
]
|
65
|
+
|
66
|
+
POST_SURFACES_BLACKLIST = [
|
67
|
+
"1",
|
68
|
+
"2",
|
69
|
+
"3",
|
70
|
+
"4",
|
71
|
+
"5",
|
72
|
+
]
|
73
|
+
|
74
|
+
POSTING_TO_REDSPACE = [
|
75
|
+
"disabled",
|
76
|
+
"enabled",
|
77
|
+
]
|
78
|
+
|
79
|
+
TARGET_SURFACE = [
|
80
|
+
"STORY",
|
81
|
+
"TIMELINE",
|
82
|
+
]
|
83
|
+
|
84
|
+
UNPUBLISHED_CONTENT_TYPE = [
|
85
|
+
"ADS_POST",
|
86
|
+
"DRAFT",
|
87
|
+
"INLINE_CREATED",
|
88
|
+
"PUBLISHED",
|
89
|
+
"REVIEWABLE_BRANDED_CONTENT",
|
90
|
+
"SCHEDULED",
|
91
|
+
"SCHEDULED_RECURRING",
|
92
|
+
]
|
93
|
+
|
49
94
|
|
50
95
|
field :actions, { list: 'string' }
|
51
96
|
field :admin_creator, 'object'
|
@@ -180,7 +225,7 @@ module FacebookAds
|
|
180
225
|
api.has_param :audience_id, 'string'
|
181
226
|
api.has_param :bid_amount, 'int'
|
182
227
|
api.has_param :budget, 'int'
|
183
|
-
api.has_param :cta_type, { enum: %w{ADD_TO_CART APPLY_NOW BOOK_TRAVEL BUY BUY_NOW BUY_TICKETS CALL CALL_ME CONTACT CONTACT_US DONATE DONATE_NOW DOWNLOAD EVENT_RSVP FIND_A_GROUP FIND_YOUR_GROUPS FOLLOW_NEWS_STORYLINE FOLLOW_PAGE FOLLOW_USER GET_DIRECTIONS GET_OFFER GET_OFFER_VIEW GET_QUOTE GET_SHOWTIMES INSTALL_APP INSTALL_MOBILE_APP LEARN_MORE LIKE_PAGE LISTEN_MUSIC LISTEN_NOW MESSAGE_PAGE MOBILE_DOWNLOAD MOMENTS NO_BUTTON OPEN_LINK ORDER_NOW PAY_TO_ACCESS PLAY_GAME PURCHASE_GIFT_CARDS RECORD_NOW REQUEST_TIME SAY_THANKS SEE_MORE SELL_NOW SEND_A_GIFT SHARE SHOP_NOW SIGN_UP SOTTO_SUBSCRIBE SUBSCRIBE UPDATE_APP USE_APP USE_MOBILE_APP VIDEO_ANNOTATION VISIT_PAGES_FEED WATCH_MORE WATCH_VIDEO WHATSAPP_MESSAGE WOODHENGE_SUPPORT }}
|
228
|
+
api.has_param :cta_type, { enum: %w{ADD_TO_CART APPLY_NOW BOOK_TRAVEL BUY BUY_NOW BUY_TICKETS CALL CALL_ME CONTACT CONTACT_US DONATE DONATE_NOW DOWNLOAD EVENT_RSVP FIND_A_GROUP FIND_YOUR_GROUPS FOLLOW_NEWS_STORYLINE FOLLOW_PAGE FOLLOW_USER GET_DIRECTIONS GET_OFFER GET_OFFER_VIEW GET_QUOTE GET_SHOWTIMES INSTALL_APP INSTALL_MOBILE_APP LEARN_MORE LIKE_PAGE LISTEN_MUSIC LISTEN_NOW MESSAGE_PAGE MOBILE_DOWNLOAD MOMENTS NO_BUTTON OPEN_LINK ORDER_NOW PAY_TO_ACCESS PLAY_GAME PURCHASE_GIFT_CARDS RECORD_NOW REFER_FRIENDS REQUEST_TIME SAY_THANKS SEE_MORE SELL_NOW SEND_A_GIFT SHARE SHOP_NOW SIGN_UP SOTTO_SUBSCRIBE SUBSCRIBE SWIPE_UP_PRODUCT SWIPE_UP_SHOP UPDATE_APP USE_APP USE_MOBILE_APP VIDEO_ANNOTATION VISIT_PAGES_FEED WATCH_MORE WATCH_VIDEO WHATSAPP_MESSAGE WOODHENGE_SUPPORT }}
|
184
229
|
api.has_param :currency, 'string'
|
185
230
|
api.has_param :flow_id, 'string'
|
186
231
|
api.has_param :placement, 'string'
|
@@ -35,6 +35,7 @@ module FacebookAds
|
|
35
35
|
"home_listings",
|
36
36
|
"hotels",
|
37
37
|
"jobs",
|
38
|
+
"local_delivery_shipping_profiles",
|
38
39
|
"local_service_businesses",
|
39
40
|
"offer_items",
|
40
41
|
"offline_commerce",
|
@@ -110,7 +111,6 @@ module FacebookAds
|
|
110
111
|
field :catalog_segment_product_set_id, 'string'
|
111
112
|
field :destination_catalog_settings, 'hash'
|
112
113
|
field :flight_catalog_settings, 'hash'
|
113
|
-
field :onsite_commerce_merchant, 'object'
|
114
114
|
field :parent_catalog_id, 'string'
|
115
115
|
|
116
116
|
has_edge :agencies do |edge|
|
@@ -274,12 +274,6 @@ module FacebookAds
|
|
274
274
|
end
|
275
275
|
end
|
276
276
|
|
277
|
-
has_edge :onsite_commerce_merchant do |edge|
|
278
|
-
edge.post 'ProductCatalog' do |api|
|
279
|
-
api.has_param :onsite_commerce_merchant, 'object'
|
280
|
-
end
|
281
|
-
end
|
282
|
-
|
283
277
|
has_edge :pricing_variables_batch do |edge|
|
284
278
|
edge.get 'ProductCatalogPricingVariablesBatch' do |api|
|
285
279
|
api.has_param :handle, 'string'
|
@@ -305,6 +299,7 @@ module FacebookAds
|
|
305
299
|
api.has_param :feed_type, { enum: -> { ProductFeed::FEED_TYPE }}
|
306
300
|
api.has_param :file_name, 'string'
|
307
301
|
api.has_param :item_sub_type, { enum: -> { ProductFeed::ITEM_SUB_TYPE }}
|
302
|
+
api.has_param :migrated_from_feed_id, 'string'
|
308
303
|
api.has_param :name, 'string'
|
309
304
|
api.has_param :override_type, { enum: -> { ProductFeed::OVERRIDE_TYPE }}
|
310
305
|
api.has_param :override_value, 'string'
|
@@ -116,6 +116,7 @@ module FacebookAds
|
|
116
116
|
field :id, 'string'
|
117
117
|
field :item_sub_type, 'string'
|
118
118
|
field :latest_upload, 'ProductFeedUpload'
|
119
|
+
field :migrated_from_feed_id, 'string'
|
119
120
|
field :name, 'string'
|
120
121
|
field :override_type, 'string'
|
121
122
|
field :product_count, 'int'
|
@@ -34,10 +34,12 @@ module FacebookAds
|
|
34
34
|
field :namespace, 'string'
|
35
35
|
field :need_promo_code, 'bool'
|
36
36
|
field :offer_origin, 'string'
|
37
|
+
field :privacy_policy_link, 'string'
|
37
38
|
field :promotion_text, 'string'
|
38
39
|
field :receiver_benefits_text, 'string'
|
39
40
|
field :referral_link_uri, 'string'
|
40
41
|
field :sender_benefits_text, 'string'
|
42
|
+
field :terms_and_condition_link, 'string'
|
41
43
|
|
42
44
|
end
|
43
45
|
end
|
@@ -190,7 +190,7 @@ module FacebookAds
|
|
190
190
|
'events',
|
191
191
|
].join('/')
|
192
192
|
headers = {
|
193
|
-
'User-Agent' => "fbbizsdk-ruby-v#{FacebookAds::
|
193
|
+
'User-Agent' => "fbbizsdk-ruby-v#{FacebookAds::VERSION}"
|
194
194
|
}
|
195
195
|
params = get_params
|
196
196
|
params[:data] = events.map(&:normalize)
|
@@ -29,14 +29,14 @@ module FacebookAds
|
|
29
29
|
ROLE = [
|
30
30
|
"ADMIN",
|
31
31
|
"ADS_RIGHTS_REVIEWER",
|
32
|
+
"DEFAULT",
|
32
33
|
"DEVELOPER",
|
33
34
|
"EMPLOYEE",
|
34
35
|
"FINANCE_ANALYST",
|
36
|
+
"FINANCE_EDIT",
|
35
37
|
"FINANCE_EDITOR",
|
36
|
-
"
|
37
|
-
"
|
38
|
-
"MODERATE_TASK",
|
39
|
-
"OPERATE_TASK",
|
38
|
+
"FINANCE_VIEW",
|
39
|
+
"MANAGE",
|
40
40
|
"PARTNER_CENTER_ADMIN",
|
41
41
|
"PARTNER_CENTER_ANALYST",
|
42
42
|
"PARTNER_CENTER_EDUCATION",
|
@@ -79,6 +79,7 @@ module FacebookAds
|
|
79
79
|
field :locale, 'string'
|
80
80
|
field :location, 'Page'
|
81
81
|
field :meeting_for, { list: 'string' }
|
82
|
+
field :messenger_join_notifications_enabled, 'bool'
|
82
83
|
field :middle_name, 'string'
|
83
84
|
field :name, 'string'
|
84
85
|
field :name_format, 'string'
|
@@ -86,6 +87,7 @@ module FacebookAds
|
|
86
87
|
field :political, 'string'
|
87
88
|
field :profile_pic, 'string'
|
88
89
|
field :public_key, 'string'
|
90
|
+
field :published_timeline, 'bool'
|
89
91
|
field :quotes, 'string'
|
90
92
|
field :relationship_status, 'string'
|
91
93
|
field :religion, 'string'
|
@@ -98,6 +100,8 @@ module FacebookAds
|
|
98
100
|
field :timezone, 'double'
|
99
101
|
field :token_for_business, 'string'
|
100
102
|
field :updated_time, 'datetime'
|
103
|
+
field :user_storage_key, 'string'
|
104
|
+
field :username, 'string'
|
101
105
|
field :verified, 'bool'
|
102
106
|
field :video_upload_limits, 'VideoUploadLimits'
|
103
107
|
field :website, 'string'
|
@@ -238,7 +242,15 @@ module FacebookAds
|
|
238
242
|
end
|
239
243
|
|
240
244
|
has_edge :feed do |edge|
|
241
|
-
edge.
|
245
|
+
edge.get 'Post' do |api|
|
246
|
+
api.has_param :include_hidden, 'bool'
|
247
|
+
api.has_param :q, 'string'
|
248
|
+
api.has_param :show_expired, 'bool'
|
249
|
+
api.has_param :since, 'datetime'
|
250
|
+
api.has_param :until, 'datetime'
|
251
|
+
api.has_param :with, 'string'
|
252
|
+
end
|
253
|
+
edge.post 'Post' do |api|
|
242
254
|
api.has_param :actions, 'object'
|
243
255
|
api.has_param :adaptive_type, 'string'
|
244
256
|
api.has_param :album_id, 'string'
|
@@ -252,10 +264,10 @@ module FacebookAds
|
|
252
264
|
api.has_param :attached_media, { list: 'object' }
|
253
265
|
api.has_param :audience_exp, 'bool'
|
254
266
|
api.has_param :backdated_time, 'datetime'
|
255
|
-
api.has_param :backdated_time_granularity, { enum:
|
267
|
+
api.has_param :backdated_time_granularity, { enum: -> { Post::BACKDATED_TIME_GRANULARITY }}
|
256
268
|
api.has_param :call_to_action, 'object'
|
257
269
|
api.has_param :caption, 'string'
|
258
|
-
api.has_param :checkin_entry_point, { enum:
|
270
|
+
api.has_param :checkin_entry_point, { enum: -> { Post::CHECKIN_ENTRY_POINT }}
|
259
271
|
api.has_param :child_attachments, { list: 'object' }
|
260
272
|
api.has_param :client_mutation_id, 'string'
|
261
273
|
api.has_param :composer_entry_picker, 'string'
|
@@ -275,7 +287,7 @@ module FacebookAds
|
|
275
287
|
api.has_param :expanded_height, 'int'
|
276
288
|
api.has_param :expanded_width, 'int'
|
277
289
|
api.has_param :feed_targeting, 'object'
|
278
|
-
api.has_param :formatting, { enum:
|
290
|
+
api.has_param :formatting, { enum: -> { Post::FORMATTING }}
|
279
291
|
api.has_param :fun_fact_prompt_id, 'int'
|
280
292
|
api.has_param :fun_fact_toastee_id, 'int'
|
281
293
|
api.has_param :has_nickname, 'bool'
|
@@ -312,11 +324,11 @@ module FacebookAds
|
|
312
324
|
api.has_param :page_recommendation, 'string'
|
313
325
|
api.has_param :picture, 'string'
|
314
326
|
api.has_param :place, 'object'
|
315
|
-
api.has_param :place_attachment_setting, { enum:
|
327
|
+
api.has_param :place_attachment_setting, { enum: -> { Post::PLACE_ATTACHMENT_SETTING }}
|
316
328
|
api.has_param :place_list, 'string'
|
317
329
|
api.has_param :place_list_data, { list: 'string' }
|
318
|
-
api.has_param :post_surfaces_blacklist, { list: { enum:
|
319
|
-
api.has_param :posting_to_redspace, { enum:
|
330
|
+
api.has_param :post_surfaces_blacklist, { list: { enum: -> { Post::POST_SURFACES_BLACKLIST }} }
|
331
|
+
api.has_param :posting_to_redspace, { enum: -> { Post::POSTING_TO_REDSPACE }}
|
320
332
|
api.has_param :privacy, 'string'
|
321
333
|
api.has_param :prompt_id, 'string'
|
322
334
|
api.has_param :prompt_tracking_string, 'string'
|
@@ -336,7 +348,7 @@ module FacebookAds
|
|
336
348
|
api.has_param :sponsor_relationship, 'int'
|
337
349
|
api.has_param :suggested_place_id, 'object'
|
338
350
|
api.has_param :tags, { list: 'int' }
|
339
|
-
api.has_param :target_surface, { enum:
|
351
|
+
api.has_param :target_surface, { enum: -> { Post::TARGET_SURFACE }}
|
340
352
|
api.has_param :targeting, 'object'
|
341
353
|
api.has_param :text_format_metadata, 'string'
|
342
354
|
api.has_param :text_format_preset_id, 'string'
|
@@ -346,7 +358,7 @@ module FacebookAds
|
|
346
358
|
api.has_param :time_since_original_post, 'int'
|
347
359
|
api.has_param :title, 'string'
|
348
360
|
api.has_param :tracking_info, 'string'
|
349
|
-
api.has_param :unpublished_content_type, { enum:
|
361
|
+
api.has_param :unpublished_content_type, { enum: -> { Post::UNPUBLISHED_CONTENT_TYPE }}
|
350
362
|
api.has_param :user_selected_tags, 'bool'
|
351
363
|
api.has_param :video_start_time_ms, 'int'
|
352
364
|
api.has_param :viewer_coordinates, 'object'
|
@@ -55,6 +55,7 @@ module FacebookAds
|
|
55
55
|
field :message_template_namespace, 'string'
|
56
56
|
field :name, 'string'
|
57
57
|
field :on_behalf_of_business_info, 'object'
|
58
|
+
field :owner_business_info, 'object'
|
58
59
|
field :primary_funding_id, 'string'
|
59
60
|
field :purchase_order_number, 'string'
|
60
61
|
field :status, 'string'
|
@@ -100,6 +101,8 @@ module FacebookAds
|
|
100
101
|
end
|
101
102
|
|
102
103
|
has_edge :subscribed_apps do |edge|
|
104
|
+
edge.delete
|
105
|
+
edge.get
|
103
106
|
edge.post 'WhatsAppBusinessAccount'
|
104
107
|
end
|
105
108
|
|
data/lib/facebook_ads/session.rb
CHANGED
@@ -39,7 +39,7 @@ module FacebookAds
|
|
39
39
|
case method
|
40
40
|
when :get, :post, :delete
|
41
41
|
api_conn.send(method, path.gsub(/^\//,''), params) do |req|
|
42
|
-
req.headers[:user_agent] = "fbbizsdk-ruby-v#{
|
42
|
+
req.headers[:user_agent] = "fbbizsdk-ruby-v#{VERSION}".freeze
|
43
43
|
req.params[:access_token] = access_token if access_token
|
44
44
|
req.params[:appsecret_proof] = appsecret_proof if app_secret
|
45
45
|
end
|
data/lib/facebook_ads/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: facebookbusiness
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.8.0.
|
4
|
+
version: 0.8.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Facebook
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-10
|
11
|
+
date: 2020-11-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: concurrent-ruby
|
@@ -309,7 +309,6 @@ files:
|
|
309
309
|
- lib/facebook_ads/ad_objects/ad_creative_ad_disclaimer.rb
|
310
310
|
- lib/facebook_ads/ad_objects/ad_creative_collection_thumbnail_info.rb
|
311
311
|
- lib/facebook_ads/ad_objects/ad_creative_insights.rb
|
312
|
-
- lib/facebook_ads/ad_objects/ad_creative_instagram_branded_content.rb
|
313
312
|
- lib/facebook_ads/ad_objects/ad_creative_interactive_components_spec.rb
|
314
313
|
- lib/facebook_ads/ad_objects/ad_creative_link_data.rb
|
315
314
|
- lib/facebook_ads/ad_objects/ad_creative_link_data_app_link_spec.rb
|
@@ -1,36 +0,0 @@
|
|
1
|
-
# Copyright (c) 2017-present, Facebook, Inc. All rights reserved.
|
2
|
-
#
|
3
|
-
# You are hereby granted a non-exclusive, worldwide, royalty-free license to use,
|
4
|
-
# copy, modify, and distribute this software in source code or binary form for use
|
5
|
-
# in connection with the web services and APIs provided by Facebook.
|
6
|
-
#
|
7
|
-
# As with any software that integrates with the Facebook platform, your use of
|
8
|
-
# this software is subject to the Facebook Platform Policy
|
9
|
-
# [http://developers.facebook.com/policy/]. This copyright notice shall be
|
10
|
-
# included in all copies or substantial portions of the software.
|
11
|
-
#
|
12
|
-
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
13
|
-
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
14
|
-
# FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
15
|
-
# COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
16
|
-
# IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
17
|
-
# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
18
|
-
|
19
|
-
# FB:AUTOGEN
|
20
|
-
|
21
|
-
module FacebookAds
|
22
|
-
# This class is auto-generated.
|
23
|
-
|
24
|
-
# For any issues or feature requests related to this class, please let us know
|
25
|
-
# on github and we'll fix in our codegen framework. We'll not be able to accept
|
26
|
-
# pull request for this class.
|
27
|
-
|
28
|
-
class AdCreativeInstagramBrandedContent < AdObject
|
29
|
-
|
30
|
-
has_no_id
|
31
|
-
has_no_get
|
32
|
-
has_no_post
|
33
|
-
has_no_delete
|
34
|
-
|
35
|
-
end
|
36
|
-
end
|