facebookbusiness 0.5.0.1 → 0.5.0.2
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_account_targeting_unified.rb +0 -1
- data/lib/facebook_ads/ad_objects/ad_creative.rb +1 -0
- data/lib/facebook_ads/ad_objects/ad_set.rb +0 -1
- data/lib/facebook_ads/ad_objects/ad_video.rb +1 -0
- data/lib/facebook_ads/ad_objects/application.rb +1 -0
- data/lib/facebook_ads/ad_objects/business.rb +4 -0
- data/lib/facebook_ads/ad_objects/business_unit.rb +12 -0
- data/lib/facebook_ads/ad_objects/campaign.rb +0 -1
- data/lib/facebook_ads/ad_objects/page.rb +1 -1
- data/lib/facebook_ads/ad_objects/product_catalog.rb +0 -1
- data/lib/facebook_ads/ad_objects/product_feed.rb +0 -1
- data/lib/facebook_ads/ad_objects/targeting_geo_location.rb +0 -1
- data/lib/facebook_ads/ad_objects/whats_app_business_profile.rb +0 -1
- data/lib/facebook_ads/ad_objects/work_user_frontline.rb +1 -0
- data/lib/facebook_ads/config.rb +1 -2
- data/lib/facebook_ads/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 48b3249a1551789167ed5ec87d549d0b0f5c253430e29e5aa660648701e13e16
|
4
|
+
data.tar.gz: 37080075005d212b39fbf1a127bb6212d819a92d5aee717ae1a8a1b6750aceb5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6469aba6159a3dc6293533e0724c2feeccb43ee4019f1387f0fbc45f07d2314224ed1a1f93266a5926a69df4067cf2e05db60f76048cac403af9a62e7343b61c
|
7
|
+
data.tar.gz: 341ae793fed9a581766413b73db4b5449ade102220e4fa5278e0b1273989f9c36bad89b09ce4af71a15afe79159564f086e4fd2c735fb80efe82c9bba55dccd2
|
@@ -169,6 +169,7 @@ module FacebookAds
|
|
169
169
|
field :instagram_story_id, 'string'
|
170
170
|
field :interactive_components_spec, 'AdCreativeInteractiveComponentsSpec'
|
171
171
|
field :link_deep_link_url, 'string'
|
172
|
+
field :link_destination_display_url, 'string'
|
172
173
|
field :link_og_id, 'string'
|
173
174
|
field :link_url, 'string'
|
174
175
|
field :messenger_sponsored_message, 'string'
|
@@ -181,6 +181,7 @@ module FacebookAds
|
|
181
181
|
field :smart_login_menu_icon_url, 'string'
|
182
182
|
field :social_discovery, 'int'
|
183
183
|
field :subcategory, 'string'
|
184
|
+
field :suggested_events_setting, 'string'
|
184
185
|
field :supported_platforms, { list: { enum: -> { SUPPORTED_PLATFORMS }} }
|
185
186
|
field :supports_apprequests_fast_app_switch, 'object'
|
186
187
|
field :supports_attribution, 'bool'
|
@@ -71,6 +71,18 @@ module FacebookAds
|
|
71
71
|
end
|
72
72
|
end
|
73
73
|
|
74
|
+
has_edge :conversion_paths do |edge|
|
75
|
+
edge.get do |api|
|
76
|
+
api.has_param :click_lookback_window, 'int'
|
77
|
+
api.has_param :date_range, 'object'
|
78
|
+
api.has_param :fb_conversion_event_id, 'int'
|
79
|
+
api.has_param :limit, 'int'
|
80
|
+
api.has_param :metric_context, 'hash'
|
81
|
+
api.has_param :time_period, { enum: %w{all_available all_dates custom date_range fifteen_days last_fourteen_days last_hundred_fourty_four_hours last_month last_ninety_days last_quarter last_seven_days last_sixty_days last_thirty_days last_twenty_four_hours last_year month_to_date quarter_to_date seven_days thirty_days this_month_whole_days today week_to_date year_to_date yesterday }}
|
82
|
+
api.has_param :view_lookback_window, 'int'
|
83
|
+
end
|
84
|
+
end
|
85
|
+
|
74
86
|
has_edge :custom_breakdowns do |edge|
|
75
87
|
edge.get do |api|
|
76
88
|
api.has_param :filter_by, 'string'
|
@@ -205,11 +205,11 @@ module FacebookAds
|
|
205
205
|
"general_manager",
|
206
206
|
"hometown",
|
207
207
|
"hours",
|
208
|
+
"invoice_access_invoice_change",
|
208
209
|
"leadgen",
|
209
210
|
"leadgen_fat",
|
210
211
|
"live_videos",
|
211
212
|
"location",
|
212
|
-
"mcom_invoice_change",
|
213
213
|
"members",
|
214
214
|
"mention",
|
215
215
|
"merchant_review",
|
@@ -92,7 +92,6 @@ module FacebookAds
|
|
92
92
|
field :update_schedule, 'ProductFeedSchedule'
|
93
93
|
field :feed_type, { enum: -> { FEED_TYPE }}
|
94
94
|
field :rules, { list: 'string' }
|
95
|
-
field :upload_schedule, 'string'
|
96
95
|
|
97
96
|
has_edge :automotive_models do |edge|
|
98
97
|
edge.get 'AutomotiveModel' do |api|
|
@@ -36,7 +36,6 @@ module FacebookAds
|
|
36
36
|
field :large_geo_areas, { list: 'TargetingGeoLocationGeoEntities' }
|
37
37
|
field :location_cluster_ids, { list: 'TargetingGeoLocationLocationCluster' }
|
38
38
|
field :location_expansion, 'TargetingGeoLocationLocationExpansion'
|
39
|
-
field :location_set_ids, { list: 'string' }
|
40
39
|
field :location_types, { list: 'string' }
|
41
40
|
field :medium_geo_areas, { list: 'TargetingGeoLocationGeoEntities' }
|
42
41
|
field :metro_areas, { list: 'TargetingGeoLocationGeoEntities' }
|
data/lib/facebook_ads/config.rb
CHANGED
@@ -33,8 +33,7 @@ module FacebookAds
|
|
33
33
|
setting :api_version, FacebookAds::DEFAULT_API_VERSION
|
34
34
|
setting :access_token, ENV['FB_ACCESS_TOKEN']
|
35
35
|
setting :app_secret, ENV['FB_APP_SECRET']
|
36
|
-
setting :crash_logging_enabled,
|
37
|
-
|
36
|
+
setting :crash_logging_enabled, true
|
38
37
|
setting :log_api_bodies, false
|
39
38
|
|
40
39
|
def logger=(logger)
|
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.5.0.
|
4
|
+
version: 0.5.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Facebook
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-11-
|
11
|
+
date: 2019-11-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|