facebookbusiness 0.6.0.2 → 0.6.0.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f4beaad13451621b737cf2b5112bfe01857975932742d8d2e40a2e5d7ddfea18
4
- data.tar.gz: aa56af54eba0256adbf505e8dd076d512412e90be281332ebd1b11290422a19e
3
+ metadata.gz: d7fb7d7dbccdb18daafc424c36733226be8d18a78ff709bd8f67bd3a8807db26
4
+ data.tar.gz: e6fdea4939b54fd24ff95117931c3edf7558cea8b7190825e9b679aade98e63b
5
5
  SHA512:
6
- metadata.gz: d12ed6487d3d055da95e8801502d34b3f3d9886ba31d66cecd4e91817b3ec271aef6b51a140d40ce06e8b173e53e058e415f4021a471d3bd2e7e99af43511544
7
- data.tar.gz: 629e1bbbef3b338b5e84f8ca0a00b2d28a865b1556b220c4db1966c7464d0a511a46616b0d9a5fa8e791f60c102ba95d7cabb94dd86532e36040b171466c7e8d
6
+ metadata.gz: 6bf0295c2360d196c5db0fba571f24fbfdaf69fadbcd42da50ba46aa2fe9b08144cacbbce88e8949090600fba95ff6d4ac817f8a1d7c2e3c378036be374e8b09
7
+ data.tar.gz: 0514a10ddad749328d8b0387d9d12918b51dd0002792acd807ef172b86d2b966866b4c5372bffd5ce0ac9f32e5c562607312bf77bf09d91197ca086701aec86e
@@ -278,6 +278,7 @@ module FacebookAds
278
278
  api.has_param :image_url, 'string'
279
279
  api.has_param :instagram_actor_id, 'string'
280
280
  api.has_param :instagram_permalink_url, 'string'
281
+ api.has_param :instant_checkout_setting, { enum: -> { AdCreative::INSTANT_CHECKOUT_SETTING }}
281
282
  api.has_param :interactive_components_spec, 'hash'
282
283
  api.has_param :is_dco_internal, 'bool'
283
284
  api.has_param :link_og_id, 'string'
@@ -407,7 +408,7 @@ module FacebookAds
407
408
  has_edge :ads_volume do |edge|
408
409
  edge.get 'AdAccountAdVolume' do |api|
409
410
  api.has_param :page_id, 'int'
410
- api.has_param :show_ad_limit_by_actor, 'bool'
411
+ api.has_param :show_breakdown_by_actor, 'bool'
411
412
  end
412
413
  end
413
414
 
@@ -656,18 +657,6 @@ module FacebookAds
656
657
  end
657
658
  end
658
659
 
659
- has_edge :batchreplace do |edge|
660
- edge.post do |api|
661
- api.has_param :payload, { list: 'string' }
662
- end
663
- end
664
-
665
- has_edge :batchupload do |edge|
666
- edge.post do |api|
667
- api.has_param :payload, { list: 'string' }
668
- end
669
- end
670
-
671
660
  has_edge :block_list_drafts do |edge|
672
661
  edge.post 'AdAccount' do |api|
673
662
  api.has_param :publisher_urls_file, 'file'
@@ -27,12 +27,14 @@ module FacebookAds
27
27
 
28
28
  class AdCampaignActivity < AdObject
29
29
  BID_STRATEGY_NEW = [
30
+ "COST_CAP",
30
31
  "LOWEST_COST_WITHOUT_CAP",
31
32
  "LOWEST_COST_WITH_BID_CAP",
32
33
  "TARGET_COST",
33
34
  ]
34
35
 
35
36
  BID_STRATEGY_OLD = [
37
+ "COST_CAP",
36
38
  "LOWEST_COST_WITHOUT_CAP",
37
39
  "LOWEST_COST_WITH_BID_CAP",
38
40
  "TARGET_COST",
@@ -134,6 +134,11 @@ module FacebookAds
134
134
  "STORY_OWNER",
135
135
  ]
136
136
 
137
+ INSTANT_CHECKOUT_SETTING = [
138
+ "off",
139
+ "on",
140
+ ]
141
+
137
142
  OPERATOR = [
138
143
  "ALL",
139
144
  "ANY",
@@ -197,6 +202,7 @@ module FacebookAds
197
202
  field :video_id, 'string'
198
203
  field :call_to_action, 'object'
199
204
  field :image_file, 'string'
205
+ field :instant_checkout_setting, { enum: -> { INSTANT_CHECKOUT_SETTING }}
200
206
  field :is_dco_internal, 'bool'
201
207
 
202
208
  has_edge :adlabels do |edge|
@@ -44,6 +44,8 @@ module FacebookAds
44
44
  "DISPLAY_FORMAT",
45
45
  "FAIL_REASON",
46
46
  "GENDER",
47
+ "INSTANT_ARTICLE_ID",
48
+ "INSTANT_ARTICLE_PAGE_ID",
47
49
  "PLACEMENT",
48
50
  "PLACEMENT_NAME",
49
51
  "PLATFORM",
@@ -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",
@@ -36,6 +36,7 @@ module FacebookAds
36
36
  field :daily_deals_legacy, 'hash'
37
37
  field :dpa, 'hash'
38
38
  field :facebook, 'hash'
39
+ field :facebook_pages_live_shopping, 'hash'
39
40
  field :instagram, 'hash'
40
41
  field :instagram_shop, 'hash'
41
42
  field :lead_gen_honeypot, 'hash'
@@ -85,8 +85,9 @@ module FacebookAds
85
85
  "MODERATE_COMMUNITY",
86
86
  "PAGES_MESSAGING",
87
87
  "PAGES_MESSAGING_SUBSCRIPTIONS",
88
- "PLATFORM_MANAGE_PAGES",
89
88
  "PLATFORM_PAGES_MANAGE_INSTANT_ARTICLES",
89
+ "PLATFORM_PAGE_ADMINISTER",
90
+ "PLATFORM_PAGE_BASIC_ADMIN",
90
91
  "PLATFORM_READ_INSIGHTS",
91
92
  "PROFILE_PLUS_ADVERTISE",
92
93
  "PROFILE_PLUS_ANALYZE",
@@ -54,8 +54,9 @@ module FacebookAds
54
54
  "MODERATE_COMMUNITY",
55
55
  "PAGES_MESSAGING",
56
56
  "PAGES_MESSAGING_SUBSCRIPTIONS",
57
- "PLATFORM_MANAGE_PAGES",
58
57
  "PLATFORM_PAGES_MANAGE_INSTANT_ARTICLES",
58
+ "PLATFORM_PAGE_ADMINISTER",
59
+ "PLATFORM_PAGE_BASIC_ADMIN",
59
60
  "PLATFORM_READ_INSIGHTS",
60
61
  "PROFILE_PLUS_ADVERTISE",
61
62
  "PROFILE_PLUS_ANALYZE",
@@ -54,9 +54,6 @@ module FacebookAds
54
54
  field :parent_folder_id, 'string'
55
55
 
56
56
  has_edge :agencies do |edge|
57
- edge.delete do |api|
58
- api.has_param :business, 'string'
59
- end
60
57
  edge.get 'Business'
61
58
  edge.post 'BusinessCreativeFolder' do |api|
62
59
  api.has_param :business, 'string'
@@ -27,6 +27,7 @@ module FacebookAds
27
27
 
28
28
  class Campaign < 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",
@@ -29,6 +29,7 @@ module FacebookAds
29
29
  PLATFORM = [
30
30
  "AUDIENCE_NETWORK",
31
31
  "FACEBOOK",
32
+ "HIDDEN_AAA",
32
33
  "INSTAGRAM",
33
34
  "MESSENGER",
34
35
  "UNKNOWN",
@@ -42,11 +43,13 @@ module FacebookAds
42
43
  "FACEBOOK_STORIES",
43
44
  "FEED",
44
45
  "GROUPS",
46
+ "HIDDEN_AAA",
45
47
  "INSTAGRAM_EXPLORE",
46
48
  "INSTAGRAM_IGTV",
47
49
  "INSTAGRAM_STORIES",
48
50
  "INSTANT_ARTICLE",
49
51
  "INSTREAM_VIDEO",
52
+ "JOBS_BROWSER",
50
53
  "MARKETPLACE",
51
54
  "MESSENGER_INBOX",
52
55
  "MESSENGER_STORIES",
@@ -31,7 +31,6 @@ module FacebookAds
31
31
  field :copyright_creation_time, 'datetime'
32
32
  field :download_hd_url, 'string'
33
33
  field :duration_in_sec, 'double'
34
- field :fingerprint_validity, 'string'
35
34
  field :id, 'string'
36
35
  field :iswc, 'string'
37
36
  field :metadata, 'object'
@@ -88,6 +88,7 @@ module FacebookAds
88
88
  field :interested_count, 'int'
89
89
  field :is_canceled, 'bool'
90
90
  field :is_draft, 'bool'
91
+ field :is_online, 'bool'
91
92
  field :is_page_owned, 'bool'
92
93
  field :maybe_count, 'int'
93
94
  field :name, 'string'
@@ -34,12 +34,6 @@ module FacebookAds
34
34
  "SONGTRACK",
35
35
  ]
36
36
 
37
- FINGERPRINT_VALIDITY = [
38
- "EXPIRED",
39
- "EXPIRING",
40
- "VALID",
41
- ]
42
-
43
37
 
44
38
  field :duration_in_sec, 'double'
45
39
  field :fingerprint_content_type, 'string'
@@ -94,6 +94,7 @@ module FacebookAds
94
94
 
95
95
  TEMPORARY_STATUS = [
96
96
  "DIFFERENTLY_OPEN",
97
+ "NO_DATA",
97
98
  "OPERATING_AS_USUAL",
98
99
  "TEMPORARILY_CLOSED",
99
100
  ]
@@ -110,8 +111,9 @@ module FacebookAds
110
111
  "MODERATE_COMMUNITY",
111
112
  "PAGES_MESSAGING",
112
113
  "PAGES_MESSAGING_SUBSCRIPTIONS",
113
- "PLATFORM_MANAGE_PAGES",
114
114
  "PLATFORM_PAGES_MANAGE_INSTANT_ARTICLES",
115
+ "PLATFORM_PAGE_ADMINISTER",
116
+ "PLATFORM_PAGE_BASIC_ADMIN",
115
117
  "PLATFORM_READ_INSIGHTS",
116
118
  "PROFILE_PLUS_ADVERTISE",
117
119
  "PROFILE_PLUS_ANALYZE",
@@ -135,8 +137,9 @@ module FacebookAds
135
137
  "MODERATE_COMMUNITY",
136
138
  "PAGES_MESSAGING",
137
139
  "PAGES_MESSAGING_SUBSCRIPTIONS",
138
- "PLATFORM_MANAGE_PAGES",
139
140
  "PLATFORM_PAGES_MANAGE_INSTANT_ARTICLES",
141
+ "PLATFORM_PAGE_ADMINISTER",
142
+ "PLATFORM_PAGE_BASIC_ADMIN",
140
143
  "PLATFORM_READ_INSIGHTS",
141
144
  "PROFILE_PLUS_ADVERTISE",
142
145
  "PROFILE_PLUS_ANALYZE",
@@ -148,6 +151,60 @@ module FacebookAds
148
151
  "VIEW_MONETIZATION_INSIGHTS",
149
152
  ]
150
153
 
154
+ BACKDATED_TIME_GRANULARITY = [
155
+ "day",
156
+ "hour",
157
+ "min",
158
+ "month",
159
+ "none",
160
+ "year",
161
+ ]
162
+
163
+ CHECKIN_ENTRY_POINT = [
164
+ "BRANDING_CHECKIN",
165
+ "BRANDING_OTHER",
166
+ "BRANDING_PHOTO",
167
+ "BRANDING_STATUS",
168
+ ]
169
+
170
+ FORMATTING = [
171
+ "MARKDOWN",
172
+ "PLAINTEXT",
173
+ ]
174
+
175
+ PLACE_ATTACHMENT_SETTING = [
176
+ "1",
177
+ "2",
178
+ ]
179
+
180
+ POST_SURFACES_BLACKLIST = [
181
+ "1",
182
+ "2",
183
+ "3",
184
+ "4",
185
+ "5",
186
+ ]
187
+
188
+ POSTING_TO_REDSPACE = [
189
+ "disabled",
190
+ "enabled",
191
+ ]
192
+
193
+ TARGET_SURFACE = [
194
+ "STORY",
195
+ "TIMELINE",
196
+ ]
197
+
198
+ UNPUBLISHED_CONTENT_TYPE = [
199
+ "ADS_POST",
200
+ "DRAFT",
201
+ "INLINE_CREATED",
202
+ "PUBLISHED",
203
+ "REVIEWABLE_BRANDED_CONTENT",
204
+ "SCHEDULED",
205
+ "SCHEDULED_RECURRING",
206
+ ]
207
+
151
208
  PUBLISH_STATUS = [
152
209
  "DRAFT",
153
210
  "LIVE",
@@ -330,6 +387,7 @@ module FacebookAds
330
387
  field :current_location, 'string'
331
388
  field :description, 'string'
332
389
  field :description_html, 'string'
390
+ field :differently_open_offerings, 'hash'
333
391
  field :directed_by, 'string'
334
392
  field :display_subtext, 'string'
335
393
  field :displayed_message_response_time, 'string'
@@ -623,7 +681,7 @@ module FacebookAds
623
681
  api.has_param :show_expired, 'bool'
624
682
  api.has_param :with, { enum: -> { PagePost::WITH }}
625
683
  end
626
- edge.post 'PagePost' do |api|
684
+ edge.post 'Page' do |api|
627
685
  api.has_param :actions, 'object'
628
686
  api.has_param :adaptive_type, 'string'
629
687
  api.has_param :album_id, 'string'
@@ -637,10 +695,10 @@ module FacebookAds
637
695
  api.has_param :attached_media, { list: 'object' }
638
696
  api.has_param :audience_exp, 'bool'
639
697
  api.has_param :backdated_time, 'datetime'
640
- api.has_param :backdated_time_granularity, { enum: -> { PagePost::BACKDATED_TIME_GRANULARITY }}
698
+ api.has_param :backdated_time_granularity, { enum: -> { Page::BACKDATED_TIME_GRANULARITY }}
641
699
  api.has_param :call_to_action, 'object'
642
700
  api.has_param :caption, 'string'
643
- api.has_param :checkin_entry_point, { enum: -> { PagePost::CHECKIN_ENTRY_POINT }}
701
+ api.has_param :checkin_entry_point, { enum: -> { Page::CHECKIN_ENTRY_POINT }}
644
702
  api.has_param :child_attachments, { list: 'object' }
645
703
  api.has_param :client_mutation_id, 'string'
646
704
  api.has_param :composer_entry_picker, 'string'
@@ -661,7 +719,7 @@ module FacebookAds
661
719
  api.has_param :expanded_height, 'int'
662
720
  api.has_param :expanded_width, 'int'
663
721
  api.has_param :feed_targeting, 'object'
664
- api.has_param :formatting, { enum: -> { PagePost::FORMATTING }}
722
+ api.has_param :formatting, { enum: -> { Page::FORMATTING }}
665
723
  api.has_param :fun_fact_prompt_id, 'int'
666
724
  api.has_param :fun_fact_toastee_id, 'int'
667
725
  api.has_param :has_nickname, 'bool'
@@ -698,11 +756,11 @@ module FacebookAds
698
756
  api.has_param :page_recommendation, 'string'
699
757
  api.has_param :picture, 'string'
700
758
  api.has_param :place, 'object'
701
- api.has_param :place_attachment_setting, { enum: -> { PagePost::PLACE_ATTACHMENT_SETTING }}
759
+ api.has_param :place_attachment_setting, { enum: -> { Page::PLACE_ATTACHMENT_SETTING }}
702
760
  api.has_param :place_list, 'string'
703
761
  api.has_param :place_list_data, { list: 'string' }
704
- api.has_param :post_surfaces_blacklist, { list: { enum: -> { PagePost::POST_SURFACES_BLACKLIST }} }
705
- api.has_param :posting_to_redspace, { enum: -> { PagePost::POSTING_TO_REDSPACE }}
762
+ api.has_param :post_surfaces_blacklist, { list: { enum: -> { Page::POST_SURFACES_BLACKLIST }} }
763
+ api.has_param :posting_to_redspace, { enum: -> { Page::POSTING_TO_REDSPACE }}
706
764
  api.has_param :privacy, 'string'
707
765
  api.has_param :prompt_id, 'string'
708
766
  api.has_param :prompt_tracking_string, 'string'
@@ -722,7 +780,7 @@ module FacebookAds
722
780
  api.has_param :sponsor_relationship, 'int'
723
781
  api.has_param :suggested_place_id, 'object'
724
782
  api.has_param :tags, { list: 'int' }
725
- api.has_param :target_surface, { enum: -> { PagePost::TARGET_SURFACE }}
783
+ api.has_param :target_surface, { enum: -> { Page::TARGET_SURFACE }}
726
784
  api.has_param :targeting, 'object'
727
785
  api.has_param :text_format_metadata, 'string'
728
786
  api.has_param :text_format_preset_id, 'string'
@@ -732,7 +790,7 @@ module FacebookAds
732
790
  api.has_param :time_since_original_post, 'int'
733
791
  api.has_param :title, 'string'
734
792
  api.has_param :tracking_info, 'string'
735
- api.has_param :unpublished_content_type, { enum: -> { PagePost::UNPUBLISHED_CONTENT_TYPE }}
793
+ api.has_param :unpublished_content_type, { enum: -> { Page::UNPUBLISHED_CONTENT_TYPE }}
736
794
  api.has_param :user_selected_tags, 'bool'
737
795
  api.has_param :video_start_time_ms, 'int'
738
796
  api.has_param :viewer_coordinates, 'object'
@@ -872,6 +930,7 @@ module FacebookAds
872
930
  edge.get 'Page'
873
931
  edge.post 'Page' do |api|
874
932
  api.has_param :always_open, 'bool'
933
+ api.has_param :differently_open_offerings, 'hash'
875
934
  api.has_param :hours, 'hash'
876
935
  api.has_param :ignore_warnings, 'bool'
877
936
  api.has_param :location, 'object'
@@ -886,13 +945,13 @@ module FacebookAds
886
945
  api.has_param :store_location_descriptor, 'string'
887
946
  api.has_param :store_name, 'string'
888
947
  api.has_param :store_number, 'int'
948
+ api.has_param :temporary_status, { enum: -> { Page::TEMPORARY_STATUS }}
889
949
  api.has_param :website, 'string'
890
950
  end
891
951
  end
892
952
 
893
953
  has_edge :media_fingerprints do |edge|
894
954
  edge.get 'MediaFingerprint' do |api|
895
- api.has_param :fingerprint_validity, { enum: -> { MediaFingerprint::FINGERPRINT_VALIDITY }}
896
955
  api.has_param :universal_content_id, 'string'
897
956
  end
898
957
  edge.post 'MediaFingerprint' do |api|
@@ -1049,6 +1108,7 @@ module FacebookAds
1049
1108
  api.has_param :initial_view_heading_override_degrees, 'int'
1050
1109
  api.has_param :initial_view_pitch_override_degrees, 'int'
1051
1110
  api.has_param :initial_view_vertical_fov_override_degrees, 'int'
1111
+ api.has_param :instagram_product_tags, { list: 'hash' }
1052
1112
  api.has_param :ios_bundle_id, 'string'
1053
1113
  api.has_param :is_explicit_location, 'bool'
1054
1114
  api.has_param :is_explicit_place, 'bool'
@@ -1066,6 +1126,7 @@ module FacebookAds
1066
1126
  api.has_param :og_phrase, 'string'
1067
1127
  api.has_param :og_set_profile_badge, 'bool'
1068
1128
  api.has_param :og_suggestion_mechanism, 'string'
1129
+ api.has_param :parent_media_id, 'int'
1069
1130
  api.has_param :place, 'object'
1070
1131
  api.has_param :privacy, 'string'
1071
1132
  api.has_param :profile_id, 'int'
@@ -1289,6 +1350,10 @@ module FacebookAds
1289
1350
  api.has_param :selected_rule_id, 'string'
1290
1351
  api.has_param :source, { enum: -> { VideoCopyrightRule::SOURCE }}
1291
1352
  end
1353
+ edge.post 'VideoCopyrightRule' do |api|
1354
+ api.has_param :condition_groups, { list: 'object' }
1355
+ api.has_param :name, 'string'
1356
+ end
1292
1357
  end
1293
1358
 
1294
1359
  has_edge :video_copyrights do |edge|
@@ -1298,7 +1363,6 @@ module FacebookAds
1298
1363
  api.has_param :copyright_content_id, 'string'
1299
1364
  api.has_param :excluded_ownership_countries, { list: 'string' }
1300
1365
  api.has_param :excluded_ownership_segments, { list: 'object' }
1301
- api.has_param :fingerprint_id, 'string'
1302
1366
  api.has_param :is_reference_disabled, 'bool'
1303
1367
  api.has_param :is_reference_video, 'bool'
1304
1368
  api.has_param :monitoring_type, { enum: -> { VideoCopyright::MONITORING_TYPE }}
@@ -40,6 +40,7 @@ module FacebookAds
40
40
 
41
41
  IPHONE_DESTINATION_TYPE = [
42
42
  "APP_DEEPLINK",
43
+ "BECOME_A_VOLUNTEER",
43
44
  "EMAIL",
44
45
  "FACEBOOK_APP",
45
46
  "MESSENGER",
@@ -26,6 +26,10 @@ module FacebookAds
26
26
  # pull request for this class.
27
27
 
28
28
  class PagePost < AdObject
29
+ WITH = [
30
+ "LOCATION",
31
+ ]
32
+
29
33
  BACKDATED_TIME_GRANULARITY = [
30
34
  "day",
31
35
  "hour",
@@ -35,55 +39,6 @@ module FacebookAds
35
39
  "year",
36
40
  ]
37
41
 
38
- CHECKIN_ENTRY_POINT = [
39
- "BRANDING_CHECKIN",
40
- "BRANDING_OTHER",
41
- "BRANDING_PHOTO",
42
- "BRANDING_STATUS",
43
- ]
44
-
45
- FORMATTING = [
46
- "MARKDOWN",
47
- "PLAINTEXT",
48
- ]
49
-
50
- PLACE_ATTACHMENT_SETTING = [
51
- "1",
52
- "2",
53
- ]
54
-
55
- POST_SURFACES_BLACKLIST = [
56
- "1",
57
- "2",
58
- "3",
59
- "4",
60
- "5",
61
- ]
62
-
63
- POSTING_TO_REDSPACE = [
64
- "disabled",
65
- "enabled",
66
- ]
67
-
68
- TARGET_SURFACE = [
69
- "STORY",
70
- "TIMELINE",
71
- ]
72
-
73
- UNPUBLISHED_CONTENT_TYPE = [
74
- "ADS_POST",
75
- "DRAFT",
76
- "INLINE_CREATED",
77
- "PUBLISHED",
78
- "REVIEWABLE_BRANDED_CONTENT",
79
- "SCHEDULED",
80
- "SCHEDULED_RECURRING",
81
- ]
82
-
83
- WITH = [
84
- "LOCATION",
85
- ]
86
-
87
42
  FEED_STORY_VISIBILITY = [
88
43
  "hidden",
89
44
  "visible",
@@ -115,23 +115,6 @@ module FacebookAds
115
115
  end
116
116
  end
117
117
 
118
- has_edge :bundle_folders do |edge|
119
- edge.post 'DynamicItemDisplayBundleFolder' do |api|
120
- api.has_param :name, 'string'
121
- end
122
- end
123
-
124
- has_edge :bundles do |edge|
125
- edge.post 'DynamicItemDisplayBundle' do |api|
126
- api.has_param :additional_urls, 'hash'
127
- api.has_param :description, 'string'
128
- api.has_param :name, 'string'
129
- api.has_param :product_set, 'string'
130
- api.has_param :text_tokens, 'hash'
131
- api.has_param :url, 'string'
132
- end
133
- end
134
-
135
118
  has_edge :categories do |edge|
136
119
  edge.get 'ProductCatalogCategory' do |api|
137
120
  api.has_param :categorization_criteria, { enum: -> { ProductCatalogCategory::CATEGORIZATION_CRITERIA }}
@@ -139,7 +139,6 @@ module FacebookAds
139
139
  field :timezone_id, 'int'
140
140
  field :timezone_name, 'string'
141
141
  field :topline_id, 'int'
142
- field :tv_viewer_cluster_map, 'map<unsigned int, Object>'
143
142
  field :video_view_length_constraint, 'int'
144
143
  field :viewtag, 'string'
145
144
  field :action, { enum: -> { ACTION }}
@@ -51,7 +51,6 @@ module FacebookAds
51
51
  field :reference_file, 'CopyrightReferenceContainer'
52
52
  field :reference_file_disabled, 'bool'
53
53
  field :reference_file_disabled_by_ops, 'bool'
54
- field :reference_file_expired, 'bool'
55
54
  field :reference_owner_id, 'string'
56
55
  field :rule_ids, { list: 'VideoCopyrightRule' }
57
56
  field :tags, { list: 'string' }
@@ -19,6 +19,6 @@
19
19
  # FB:AUTOGEN
20
20
 
21
21
  module FacebookAds
22
- VERSION = '0.6.0.2'
22
+ VERSION = '0.6.0.3'
23
23
  API_VERSION = '6.0'
24
24
  end
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.6.0.2
4
+ version: 0.6.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Facebook
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-03-22 00:00:00.000000000 Z
11
+ date: 2020-04-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -418,8 +418,6 @@ files:
418
418
  - lib/facebook_ads/ad_objects/destination_catalog_settings.rb
419
419
  - lib/facebook_ads/ad_objects/domain.rb
420
420
  - lib/facebook_ads/ad_objects/dynamic_content_set.rb
421
- - lib/facebook_ads/ad_objects/dynamic_item_display_bundle.rb
422
- - lib/facebook_ads/ad_objects/dynamic_item_display_bundle_folder.rb
423
421
  - lib/facebook_ads/ad_objects/dynamic_post_child_attachment.rb
424
422
  - lib/facebook_ads/ad_objects/dynamic_price_config_by_date.rb
425
423
  - lib/facebook_ads/ad_objects/engagement.rb
@@ -1,43 +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 DynamicItemDisplayBundle < AdObject
29
-
30
- field :additional_urls, 'hash'
31
- field :description, 'string'
32
- field :id, 'string'
33
- field :name, 'string'
34
- field :product_set, 'ProductSet'
35
- field :text_tokens, 'hash'
36
- field :url, 'string'
37
-
38
- has_edge :bundle_folders do |edge|
39
- edge.get 'DynamicItemDisplayBundleFolder'
40
- end
41
-
42
- end
43
- end
@@ -1,47 +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 DynamicItemDisplayBundleFolder < AdObject
29
-
30
- field :categorization_criteria, 'string'
31
- field :id, 'string'
32
- field :name, 'string'
33
- field :product_catalog, 'ProductCatalog'
34
- field :product_set, 'ProductSet'
35
- field :valid_labels, 'map<string, list<string>>'
36
-
37
- has_edge :bundles do |edge|
38
- edge.delete do |api|
39
- api.has_param :bundle, 'string'
40
- end
41
- edge.post 'DynamicItemDisplayBundleFolder' do |api|
42
- api.has_param :bundle, 'string'
43
- end
44
- end
45
-
46
- end
47
- end