facebookbusiness 0.4.0.2 → 0.4.0.3
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_set.rb +1 -0
- data/lib/facebook_ads/ad_objects/application.rb +25 -0
- data/lib/facebook_ads/ad_objects/business.rb +0 -3
- data/lib/facebook_ads/ad_objects/business_image.rb +3 -1
- data/lib/facebook_ads/ad_objects/instagram_comment.rb +8 -0
- data/lib/facebook_ads/ad_objects/url.rb +5 -0
- 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: a5748cc422d52836c83041d83a4a7228523102b11a8ecf3e137e0834885e75d1
|
4
|
+
data.tar.gz: 74117a3c77ef1eacc01588c82510322496ea76c84bf8933faf04024cfb442e30
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2bf265f416c40cf9e1e97c53474c751fe149e2020aec1f2058306ae82f8769e00c72384abbef4d1a3ee90f4fca060d98cfdee4d3570a047ccf839c4c123c2605
|
7
|
+
data.tar.gz: fb5bf35775044bf7829e1c8f13a0e3ccc079621ff0b5ebff4281f793a53793abc4d98955205db7186708a8f61883d034ac77ddbceb734ae4ecfc5953bfb0815e
|
@@ -350,6 +350,9 @@ module FacebookAds
|
|
350
350
|
end
|
351
351
|
|
352
352
|
has_edge :banned do |edge|
|
353
|
+
edge.delete do |api|
|
354
|
+
api.has_param :uids, { list: 'int' }
|
355
|
+
end
|
353
356
|
edge.get 'User' do |api|
|
354
357
|
api.has_param :uid, 'int'
|
355
358
|
end
|
@@ -417,6 +420,28 @@ module FacebookAds
|
|
417
420
|
end
|
418
421
|
end
|
419
422
|
|
423
|
+
has_edge :insights_push_schedule do |edge|
|
424
|
+
edge.post do |api|
|
425
|
+
api.has_param :ad_account_ids, { list: 'string' }
|
426
|
+
api.has_param :breakdowns, { list: 'string' }
|
427
|
+
api.has_param :date_preset, 'string'
|
428
|
+
api.has_param :level, { enum: %w{ACCOUNT AD ADSET CAMPAIGN }}
|
429
|
+
api.has_param :metrics, { list: 'string' }
|
430
|
+
api.has_param :object_id, 'string'
|
431
|
+
api.has_param :owner_id, 'object'
|
432
|
+
api.has_param :schedule, { enum: %w{DAILY FINE_15_MIN FINE_5_MIN MONTHLY WEEKLY }}
|
433
|
+
api.has_param :status, { enum: %w{ACTIVE DISABLED ERROR }}
|
434
|
+
api.has_param :time_created, 'datetime'
|
435
|
+
api.has_param :time_increment, 'int'
|
436
|
+
api.has_param :time_last_fail, 'datetime'
|
437
|
+
api.has_param :time_last_run, 'datetime'
|
438
|
+
api.has_param :time_last_success, 'datetime'
|
439
|
+
api.has_param :time_start, 'datetime'
|
440
|
+
api.has_param :time_stop, 'datetime'
|
441
|
+
api.has_param :time_updated, 'datetime'
|
442
|
+
end
|
443
|
+
end
|
444
|
+
|
420
445
|
has_edge :ios_dialog_configs do |edge|
|
421
446
|
edge.get
|
422
447
|
end
|
@@ -144,7 +144,6 @@ module FacebookAds
|
|
144
144
|
|
145
145
|
has_edge :adaccount do |edge|
|
146
146
|
edge.post 'AdAccount' do |api|
|
147
|
-
api.has_param :billing_address_id, 'string'
|
148
147
|
api.has_param :currency, 'string'
|
149
148
|
api.has_param :end_advertiser, 'object'
|
150
149
|
api.has_param :funding_id, 'string'
|
@@ -152,12 +151,10 @@ module FacebookAds
|
|
152
151
|
api.has_param :invoice_group_id, 'string'
|
153
152
|
api.has_param :invoicing_emails, { list: 'string' }
|
154
153
|
api.has_param :io, 'bool'
|
155
|
-
api.has_param :liable_address_id, 'string'
|
156
154
|
api.has_param :media_agency, 'string'
|
157
155
|
api.has_param :name, 'string'
|
158
156
|
api.has_param :partner, 'string'
|
159
157
|
api.has_param :po_number, 'string'
|
160
|
-
api.has_param :sold_to_address_id, 'string'
|
161
158
|
api.has_param :timezone_id, 'int'
|
162
159
|
end
|
163
160
|
end
|
@@ -35,5 +35,13 @@ module FacebookAds
|
|
35
35
|
field :mentioned_instagram_users, { list: 'InstagramUser' }
|
36
36
|
field :message, 'string'
|
37
37
|
|
38
|
+
has_edge :replies do |edge|
|
39
|
+
edge.get 'InstagramComment'
|
40
|
+
edge.post 'InstagramComment' do |api|
|
41
|
+
api.has_param :ad_id, 'object'
|
42
|
+
api.has_param :message, 'string'
|
43
|
+
end
|
44
|
+
end
|
45
|
+
|
38
46
|
end
|
39
47
|
end
|
@@ -26,6 +26,10 @@ module FacebookAds
|
|
26
26
|
# pull request for this class.
|
27
27
|
|
28
28
|
class Url < AdObject
|
29
|
+
SCOPES = [
|
30
|
+
"NEWS_TAB",
|
31
|
+
]
|
32
|
+
|
29
33
|
|
30
34
|
field :app_links, 'AppLinks'
|
31
35
|
field :development_instant_article, 'InstantArticle'
|
@@ -34,6 +38,7 @@ module FacebookAds
|
|
34
38
|
field :instant_article, 'InstantArticle'
|
35
39
|
field :og_object, 'object'
|
36
40
|
field :ownership_permissions, 'object'
|
41
|
+
field :scopes, 'object'
|
37
42
|
has_no_delete
|
38
43
|
|
39
44
|
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.4.0.
|
4
|
+
version: 0.4.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: 2019-08-
|
11
|
+
date: 2019-08-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|