facebookbusiness 0.6.0.4 → 0.7.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (30) hide show
  1. checksums.yaml +4 -4
  2. data/lib/facebook_ads/ad_objects/ad_account.rb +1 -2
  3. data/lib/facebook_ads/ad_objects/ad_account_activity.rb +3 -5
  4. data/lib/facebook_ads/ad_objects/ad_asset_feed_spec.rb +1 -0
  5. data/lib/facebook_ads/ad_objects/ad_creative.rb +1 -0
  6. data/lib/facebook_ads/ad_objects/ad_creative_ad_disclaimer.rb +39 -0
  7. data/lib/facebook_ads/ad_objects/ad_creative_link_data_call_to_action.rb +1 -0
  8. data/lib/facebook_ads/ad_objects/adgroup_placement_specific_review_feedback.rb +1 -0
  9. data/lib/facebook_ads/ad_objects/ads_insights.rb +1 -0
  10. data/lib/facebook_ads/ad_objects/automotive_model.rb +1 -0
  11. data/lib/facebook_ads/ad_objects/campaign.rb +9 -1
  12. data/lib/facebook_ads/ad_objects/catalog_item_app_links.rb +44 -0
  13. data/lib/facebook_ads/ad_objects/destination.rb +1 -0
  14. data/lib/facebook_ads/ad_objects/flight.rb +1 -0
  15. data/lib/facebook_ads/ad_objects/home_listing.rb +1 -0
  16. data/lib/facebook_ads/ad_objects/hotel.rb +1 -1
  17. data/lib/facebook_ads/ad_objects/hotel_room.rb +1 -0
  18. data/lib/facebook_ads/ad_objects/messenger_profile.rb +0 -1
  19. data/lib/facebook_ads/ad_objects/open_graph_context.rb +0 -12
  20. data/lib/facebook_ads/ad_objects/page.rb +1 -24
  21. data/lib/facebook_ads/ad_objects/post.rb +1 -1
  22. data/lib/facebook_ads/ad_objects/product_catalog.rb +1 -1
  23. data/lib/facebook_ads/ad_objects/product_item.rb +1 -0
  24. data/lib/facebook_ads/ad_objects/publisher_block_list.rb +0 -6
  25. data/lib/facebook_ads/ad_objects/store_catalog_settings.rb +0 -1
  26. data/lib/facebook_ads/ad_objects/user.rb +0 -24
  27. data/lib/facebook_ads/ad_objects/vehicle.rb +1 -1
  28. data/lib/facebook_ads/ad_objects/vehicle_offer.rb +1 -0
  29. data/lib/facebook_ads/version.rb +2 -2
  30. metadata +4 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0da520aa1a3da3efaf4d5e5420492737cdf60a00c4e6abdf53d1a3e4166f9658
4
- data.tar.gz: 969d82a78a124bc10a84c6778a98a3db3ca060c4ab55e83da68689e8f258a2db
3
+ metadata.gz: b8755dfc5017c9c8f8927b15ecaa86745fe13c0655ea8cbf25c406b07de558be
4
+ data.tar.gz: 8342e06de9d90d9225a725501312ed98332d3aa9ae1f0805508c72fb586a9fb9
5
5
  SHA512:
6
- metadata.gz: 99ddf7c4bb8628634b3048970266e59af2bc9e5ab82ed0c32f269ac76cb233b75976e92a6352c81f7502385da4343dda15d285f37e90c00faac0dead5d4a9cd9
7
- data.tar.gz: 8be67d5e177b630f0e5a7aae99e51e24fa07b07a45f73cb4cbb3de59b949eaab4dce87a665deba1d6486c1b141d949c2f441f6bb9ce6379b606263c884611a87
6
+ metadata.gz: 473dd442cfe8a10935c731bd54b086d17786c7f91047b93d2270840a36c5c75ba102a7073316e49d3d189feb98bb97e58a1525eb684d1bdebdd5d5f69c8f66c7
7
+ data.tar.gz: 7e8a6cf4b89d4c5840f8e43f3b0ca35560a027dcd9fc58dc9c9b6a76650f1d2e8c48038f82d5c648ac01d26c799884fe59edf34b5a2905b439fbf0b32963e425
@@ -680,7 +680,6 @@ module FacebookAds
680
680
  edge.post 'Campaign' do |api|
681
681
  api.has_param :adlabels, { list: 'object' }
682
682
  api.has_param :bid_strategy, { enum: -> { Campaign::BID_STRATEGY }}
683
- api.has_param :budget_rebalance_flag, 'bool'
684
683
  api.has_param :buying_type, 'string'
685
684
  api.has_param :daily_budget, 'int'
686
685
  api.has_param :execution_options, { list: { enum: -> { Campaign::EXECUTION_OPTIONS }} }
@@ -691,7 +690,7 @@ module FacebookAds
691
690
  api.has_param :pacing_type, { list: 'string' }
692
691
  api.has_param :promoted_object, 'object'
693
692
  api.has_param :source_campaign_id, 'string'
694
- api.has_param :special_ad_category, { enum: -> { Campaign::SPECIAL_AD_CATEGORY }}
693
+ api.has_param :special_ad_categories, { list: { enum: -> { Campaign::SPECIAL_AD_CATEGORIES }} }
695
694
  api.has_param :spend_cap, 'int'
696
695
  api.has_param :status, { enum: -> { Campaign::STATUS }}
697
696
  api.has_param :topline_id, 'string'
@@ -27,9 +27,7 @@ module FacebookAds
27
27
 
28
28
  class AdAccountActivity < AdObject
29
29
 
30
- field :billing_address_new, 'string'
31
- field :billing_address_old, 'string'
32
- field :created_by, 'string'
30
+ field :created_by, 'Profile'
33
31
  field :created_time, 'datetime'
34
32
  field :credit_new, 'object'
35
33
  field :credit_old, 'object'
@@ -44,8 +42,8 @@ module FacebookAds
44
42
  field :grace_period_time_new, 'int'
45
43
  field :grace_period_time_old, 'int'
46
44
  field :id, 'string'
47
- field :manager_id_new, 'string'
48
- field :manager_id_old, 'string'
45
+ field :manager_id_new, 'Profile'
46
+ field :manager_id_old, 'Profile'
49
47
  field :name_new, 'string'
50
48
  field :name_old, 'string'
51
49
  field :spend_cap_new, 'object'
@@ -64,6 +64,7 @@ module FacebookAds
64
64
  "ORDER_NOW",
65
65
  "PAY_TO_ACCESS",
66
66
  "PLAY_GAME",
67
+ "PURCHASE_GIFT_CARDS",
67
68
  "RECORD_NOW",
68
69
  "REQUEST_TIME",
69
70
  "SAY_THANKS",
@@ -70,6 +70,7 @@ module FacebookAds
70
70
  "ORDER_NOW",
71
71
  "PAY_TO_ACCESS",
72
72
  "PLAY_GAME",
73
+ "PURCHASE_GIFT_CARDS",
73
74
  "RECORD_NOW",
74
75
  "REQUEST_TIME",
75
76
  "SAY_THANKS",
@@ -0,0 +1,39 @@
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 AdCreativeAdDisclaimer < AdObject
29
+
30
+ field :text, 'string'
31
+ field :title, 'string'
32
+ field :url, 'string'
33
+ has_no_id
34
+ has_no_get
35
+ has_no_post
36
+ has_no_delete
37
+
38
+ end
39
+ end
@@ -64,6 +64,7 @@ module FacebookAds
64
64
  "ORDER_NOW",
65
65
  "PAY_TO_ACCESS",
66
66
  "PLAY_GAME",
67
+ "PURCHASE_GIFT_CARDS",
67
68
  "RECORD_NOW",
68
69
  "REQUEST_TIME",
69
70
  "SAY_THANKS",
@@ -35,6 +35,7 @@ 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'
39
40
  field :facebook_pages_live_shopping, 'hash'
40
41
  field :instagram, 'hash'
@@ -208,6 +208,7 @@ module FacebookAds
208
208
  field :outbound_clicks_ctr, { list: 'AdsActionStats' }
209
209
  field :place_page_name, 'string'
210
210
  field :purchase_roas, { list: 'AdsActionStats' }
211
+ field :qualifying_question_qualify_answer_rate, 'string'
211
212
  field :quality_ranking, 'string'
212
213
  field :quality_score_ectr, 'string'
213
214
  field :quality_score_ecvr, 'string'
@@ -27,6 +27,7 @@ module FacebookAds
27
27
 
28
28
  class AutomotiveModel < AdObject
29
29
 
30
+ field :applinks, 'CatalogItemAppLinks'
30
31
  field :automotive_model_id, 'string'
31
32
  field :availability, 'string'
32
33
  field :body_style, 'string'
@@ -100,7 +100,7 @@ module FacebookAds
100
100
  "VIDEO_VIEWS",
101
101
  ]
102
102
 
103
- SPECIAL_AD_CATEGORY = [
103
+ SPECIAL_AD_CATEGORIES = [
104
104
  "CREDIT",
105
105
  "EMPLOYMENT",
106
106
  "HOUSING",
@@ -112,6 +112,13 @@ module FacebookAds
112
112
  "ANY",
113
113
  ]
114
114
 
115
+ SPECIAL_AD_CATEGORY = [
116
+ "CREDIT",
117
+ "EMPLOYMENT",
118
+ "HOUSING",
119
+ "NONE",
120
+ ]
121
+
115
122
  STATUS_OPTION = [
116
123
  "ACTIVE",
117
124
  "INHERITED_FROM_SOURCE",
@@ -144,6 +151,7 @@ module FacebookAds
144
151
  field :recommendations, { list: 'AdRecommendation' }
145
152
  field :source_campaign, 'Campaign'
146
153
  field :source_campaign_id, 'string'
154
+ field :special_ad_categories, { list: 'string' }
147
155
  field :special_ad_category, 'string'
148
156
  field :spend_cap, 'string'
149
157
  field :start_time, 'datetime'
@@ -0,0 +1,44 @@
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 CatalogItemAppLinks < AdObject
29
+
30
+ field :android, { list: 'AndroidAppLink' }
31
+ field :ios, { list: 'IosAppLink' }
32
+ field :ipad, { list: 'IosAppLink' }
33
+ field :iphone, { list: 'IosAppLink' }
34
+ field :web, 'WebAppLink'
35
+ field :windows, { list: 'WindowsAppLink' }
36
+ field :windows_phone, { list: 'WindowsPhoneAppLink' }
37
+ field :windows_universal, { list: 'WindowsAppLink' }
38
+ has_no_id
39
+ has_no_get
40
+ has_no_post
41
+ has_no_delete
42
+
43
+ end
44
+ end
@@ -28,6 +28,7 @@ module FacebookAds
28
28
  class Destination < AdObject
29
29
 
30
30
  field :address, 'string'
31
+ field :applinks, 'CatalogItemAppLinks'
31
32
  field :currency, 'string'
32
33
  field :description, 'string'
33
34
  field :destination_id, 'string'
@@ -27,6 +27,7 @@ module FacebookAds
27
27
 
28
28
  class Flight < AdObject
29
29
 
30
+ field :applinks, 'CatalogItemAppLinks'
30
31
  field :currency, 'string'
31
32
  field :description, 'string'
32
33
  field :destination_airport, 'string'
@@ -35,6 +35,7 @@ module FacebookAds
35
35
  field :agent_fb_page_id, 'Page'
36
36
  field :agent_name, 'string'
37
37
  field :agent_phone, 'string'
38
+ field :applinks, 'CatalogItemAppLinks'
38
39
  field :area_size, 'int'
39
40
  field :area_unit, 'string'
40
41
  field :availability, 'string'
@@ -28,6 +28,7 @@ module FacebookAds
28
28
  class Hotel < AdObject
29
29
 
30
30
  field :address, 'string'
31
+ field :applinks, 'CatalogItemAppLinks'
31
32
  field :brand, 'string'
32
33
  field :category, 'string'
33
34
  field :currency, 'string'
@@ -45,7 +46,6 @@ module FacebookAds
45
46
  field :sanitized_images, { list: 'string' }
46
47
  field :star_rating, 'double'
47
48
  field :url, 'string'
48
- field :applinks, 'object'
49
49
  field :base_price, 'int'
50
50
 
51
51
  has_edge :hotel_rooms do |edge|
@@ -27,6 +27,7 @@ module FacebookAds
27
27
 
28
28
  class HotelRoom < AdObject
29
29
 
30
+ field :applinks, 'CatalogItemAppLinks'
30
31
  field :base_price, 'string'
31
32
  field :currency, 'string'
32
33
  field :description, 'string'
@@ -30,7 +30,6 @@ module FacebookAds
30
30
  field :account_linking_url, 'string'
31
31
  field :get_started, 'object'
32
32
  field :greeting, { list: 'object' }
33
- field :home_url, 'object'
34
33
  field :ice_breakers, { list: 'object' }
35
34
  field :payment_settings, 'object'
36
35
  field :persistent_menu, { list: 'object' }
@@ -31,17 +31,5 @@ module FacebookAds
31
31
  has_no_post
32
32
  has_no_delete
33
33
 
34
- has_edge :friends_tagged_at do |edge|
35
- edge.get 'User'
36
- end
37
-
38
- has_edge :music_listen_friends do |edge|
39
- edge.get 'User'
40
- end
41
-
42
- has_edge :video_watch_friends do |edge|
43
- edge.get 'User'
44
- end
45
-
46
34
  end
47
35
  end
@@ -271,6 +271,7 @@ module FacebookAds
271
271
  "general_manager",
272
272
  "hometown",
273
273
  "hours",
274
+ "inbox_labels",
274
275
  "invoice_access_invoice_change",
275
276
  "invoice_access_onboarding_status_active",
276
277
  "leadgen",
@@ -515,19 +516,6 @@ module FacebookAds
515
516
 
516
517
  has_edge :albums do |edge|
517
518
  edge.get 'Album'
518
- edge.post 'Album' do |api|
519
- api.has_param :contributors, { list: 'int' }
520
- api.has_param :description, 'string'
521
- api.has_param :is_default, 'bool'
522
- api.has_param :location, 'string'
523
- api.has_param :make_shared_album, 'bool'
524
- api.has_param :message, 'string'
525
- api.has_param :name, 'string'
526
- api.has_param :place, 'object'
527
- api.has_param :privacy, 'string'
528
- api.has_param :tags, { list: 'int' }
529
- api.has_param :visible, 'string'
530
- end
531
519
  end
532
520
 
533
521
  has_edge :assigned_users do |edge|
@@ -665,10 +653,6 @@ module FacebookAds
665
653
  end
666
654
  end
667
655
 
668
- has_edge :featured_videos_collection do |edge|
669
- edge.get 'AdVideo'
670
- end
671
-
672
656
  has_edge :feed do |edge|
673
657
  edge.get 'PagePost' do |api|
674
658
  api.has_param :include_hidden, 'bool'
@@ -993,7 +977,6 @@ module FacebookAds
993
977
  api.has_param :account_linking_url, 'string'
994
978
  api.has_param :get_started, 'object'
995
979
  api.has_param :greeting, { list: 'object' }
996
- api.has_param :home_url, 'object'
997
980
  api.has_param :ice_breakers, { list: 'hash' }
998
981
  api.has_param :payment_settings, 'object'
999
982
  api.has_param :persistent_menu, { list: 'object' }
@@ -1334,12 +1317,6 @@ module FacebookAds
1334
1317
  end
1335
1318
  end
1336
1319
 
1337
- has_edge :upcoming_changes do |edge|
1338
- edge.get 'PageUpcomingChange' do |api|
1339
- api.has_param :include_inactive, 'bool'
1340
- end
1341
- end
1342
-
1343
1320
  has_edge :video_copyright_rules do |edge|
1344
1321
  edge.get 'VideoCopyrightRule' do |api|
1345
1322
  api.has_param :selected_rule_id, 'string'
@@ -170,7 +170,7 @@ module FacebookAds
170
170
  api.has_param :audience_id, 'string'
171
171
  api.has_param :bid_amount, 'int'
172
172
  api.has_param :budget, 'int'
173
- 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_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 RECORD_NOW REQUEST_TIME SAY_THANKS SEE_MORE SELL_NOW 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 }}
173
+ 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_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 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 }}
174
174
  api.has_param :currency, 'string'
175
175
  api.has_param :flow_id, 'string'
176
176
  api.has_param :placement, 'string'
@@ -34,6 +34,7 @@ module FacebookAds
34
34
  "home_listings",
35
35
  "hotels",
36
36
  "jobs",
37
+ "local_service_businesses",
37
38
  "offer_items",
38
39
  "offline_commerce",
39
40
  "ticketed_experiences",
@@ -62,7 +63,6 @@ module FacebookAds
62
63
 
63
64
 
64
65
  field :business, 'Business'
65
- field :cpas_parent_catalog_settings, 'CpasParentCatalogSettings'
66
66
  field :da_display_settings, 'ProductCatalogImageSettings'
67
67
  field :default_image_url, 'string'
68
68
  field :fallback_image_url, { list: 'string' }
@@ -292,6 +292,7 @@ module FacebookAds
292
292
  field :additional_image_urls, { list: 'string' }
293
293
  field :additional_variant_attributes, 'hash'
294
294
  field :age_group, { enum: -> { AGE_GROUP }}
295
+ field :applinks, 'CatalogItemAppLinks'
295
296
  field :availability, { enum: -> { AVAILABILITY }}
296
297
  field :brand, 'string'
297
298
  field :capability_to_review_status, 'hash'
@@ -38,12 +38,6 @@ module FacebookAds
38
38
  field :owner_ad_account_id, 'string'
39
39
  field :web_publishers, { list: 'object' }
40
40
 
41
- has_edge :paged_app_publishers do |edge|
42
- edge.get do |api|
43
- api.has_param :draft_id, 'string'
44
- end
45
- end
46
-
47
41
  has_edge :paged_web_publishers do |edge|
48
42
  edge.get do |api|
49
43
  api.has_param :draft_id, 'string'
@@ -29,7 +29,6 @@ module FacebookAds
29
29
 
30
30
  field :id, 'string'
31
31
  field :page, 'Page'
32
- has_no_delete
33
32
 
34
33
  end
35
34
  end
@@ -201,12 +201,6 @@ module FacebookAds
201
201
  edge.get 'ProductCatalog'
202
202
  end
203
203
 
204
- has_edge :books do |edge|
205
- edge.get 'Page' do |api|
206
- api.has_param :target_id, 'string'
207
- end
208
- end
209
-
210
204
  has_edge :business_users do |edge|
211
205
  edge.get 'BusinessUser'
212
206
  end
@@ -392,12 +386,6 @@ module FacebookAds
392
386
  end
393
387
  end
394
388
 
395
- has_edge :games do |edge|
396
- edge.get 'Page' do |api|
397
- api.has_param :target_id, 'string'
398
- end
399
- end
400
-
401
389
  has_edge :games_plays do |edge|
402
390
  edge.post do |api|
403
391
  api.has_param :added, 'string'
@@ -514,12 +502,6 @@ module FacebookAds
514
502
  end
515
503
  end
516
504
 
517
- has_edge :movies do |edge|
518
- edge.get 'Page' do |api|
519
- api.has_param :target_id, 'string'
520
- end
521
- end
522
-
523
505
  has_edge :music do |edge|
524
506
  edge.get 'Page' do |api|
525
507
  api.has_param :target_id, 'string'
@@ -642,12 +624,6 @@ module FacebookAds
642
624
  edge.get 'UserTaggableFriend'
643
625
  end
644
626
 
645
- has_edge :television do |edge|
646
- edge.get 'Page' do |api|
647
- api.has_param :target_id, 'string'
648
- end
649
- end
650
-
651
627
  has_edge :videos do |edge|
652
628
  edge.get 'AdVideo' do |api|
653
629
  api.has_param :type, { enum: -> { AdVideo::TYPE }}
@@ -105,6 +105,7 @@ module FacebookAds
105
105
 
106
106
 
107
107
  field :address, 'object'
108
+ field :applinks, 'CatalogItemAppLinks'
108
109
  field :availability, 'string'
109
110
  field :body_style, 'string'
110
111
  field :condition, 'string'
@@ -147,7 +148,6 @@ module FacebookAds
147
148
  field :vehicle_type, 'string'
148
149
  field :vin, 'string'
149
150
  field :year, 'int'
150
- field :applinks, 'object'
151
151
  has_no_delete
152
152
 
153
153
  end
@@ -31,6 +31,7 @@ module FacebookAds
31
31
  field :amount_percentage, 'double'
32
32
  field :amount_price, 'string'
33
33
  field :amount_qualifier, 'string'
34
+ field :applinks, 'CatalogItemAppLinks'
34
35
  field :body_style, 'string'
35
36
  field :cashback_currency, 'string'
36
37
  field :cashback_price, 'string'
@@ -19,6 +19,6 @@
19
19
  # FB:AUTOGEN
20
20
 
21
21
  module FacebookAds
22
- VERSION = '0.6.0.4'
23
- API_VERSION = '6.0'
22
+ VERSION = '0.7.0.0'
23
+ API_VERSION = '7.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.4
4
+ version: 0.7.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Facebook
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-04-28 00:00:00.000000000 Z
11
+ date: 2020-05-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -264,6 +264,7 @@ files:
264
264
  - lib/facebook_ads/ad_objects/ad_campaign_optimization_event.rb
265
265
  - lib/facebook_ads/ad_objects/ad_campaign_paced_bid_info.rb
266
266
  - lib/facebook_ads/ad_objects/ad_creative.rb
267
+ - lib/facebook_ads/ad_objects/ad_creative_ad_disclaimer.rb
267
268
  - lib/facebook_ads/ad_objects/ad_creative_collection_thumbnail_info.rb
268
269
  - lib/facebook_ads/ad_objects/ad_creative_insights.rb
269
270
  - lib/facebook_ads/ad_objects/ad_creative_interactive_components_spec.rb
@@ -379,6 +380,7 @@ files:
379
380
  - lib/facebook_ads/ad_objects/canvas_body_element.rb
380
381
  - lib/facebook_ads/ad_objects/canvas_collection_thumbnail.rb
381
382
  - lib/facebook_ads/ad_objects/catalog_based_targeting.rb
383
+ - lib/facebook_ads/ad_objects/catalog_item_app_links.rb
382
384
  - lib/facebook_ads/ad_objects/catalog_item_appeal_status.rb
383
385
  - lib/facebook_ads/ad_objects/check_batch_request_status.rb
384
386
  - lib/facebook_ads/ad_objects/child_event.rb