adparlor-facebook 0.6.5 → 0.7.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/bin/console +1 -1
- data/lib/adparlor/facebook/config.rb +1 -1
- data/lib/adparlor/facebook/graph_api/fields/ad_set.rb +2 -19
- data/lib/adparlor/facebook/graph_api/fields/campaign.rb +46 -7
- data/lib/adparlor/facebook/graph_api/fields/post.rb +2 -1
- data/lib/adparlor/facebook/version.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7cfd8c359dfe9d9cb59ca12fa84a17da188c6c0c
|
4
|
+
data.tar.gz: 6ecf3f296dc9ed25b08635687998cb8fe6baeeaa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 48a396ac7018c3410e77a2d44c5d21472b6c651b440e78c2c5544bb3b5e242d5d44a7bdf6995608068e1d8f148ba0c6edd7e84db8187c339d08dfa3453ba0c3a
|
7
|
+
data.tar.gz: a9722efc1f5957d35721417b9ef67effbfc4c1b232674285b8f0159b77860d7f7159a0f2034d80258c4b0b1018d7699be18b7798b2fb653b27b892370daac2b8
|
data/Gemfile.lock
CHANGED
data/bin/console
CHANGED
@@ -78,16 +78,7 @@ module Adparlor
|
|
78
78
|
:rf_prediction_id,
|
79
79
|
:start_time,
|
80
80
|
:targeting,
|
81
|
-
:bid_strategy
|
82
|
-
:daily_min_spend_target,
|
83
|
-
:daily_spend_cap,
|
84
|
-
:destination_type,
|
85
|
-
:is_dynamic_creative,
|
86
|
-
:lifetime_min_spend_target,
|
87
|
-
:lifetime_spend_cap,
|
88
|
-
:optimization_sub_event,
|
89
|
-
:source_adset,
|
90
|
-
:time_based_ad_rotation_id_blocks
|
81
|
+
:bid_strategy
|
91
82
|
]
|
92
83
|
|
93
84
|
UPDATE_FIELDS = [
|
@@ -115,15 +106,7 @@ module Adparlor
|
|
115
106
|
:redownload,
|
116
107
|
:rf_prediction_id,
|
117
108
|
:start_time,
|
118
|
-
:targeting
|
119
|
-
:bid_strategy,
|
120
|
-
:daily_min_spend_target,
|
121
|
-
:daily_spend_cap,
|
122
|
-
:destination_type,
|
123
|
-
:lifetime_min_spend_target,
|
124
|
-
:lifetime_spend_cap,
|
125
|
-
:optimization_sub_event,
|
126
|
-
:time_based_ad_rotation_id_blocks
|
109
|
+
:targeting
|
127
110
|
]
|
128
111
|
end
|
129
112
|
end
|
@@ -3,13 +3,52 @@ module Adparlor
|
|
3
3
|
module GraphApi
|
4
4
|
module Fields
|
5
5
|
module Campaign
|
6
|
-
FIELDS = [
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
6
|
+
FIELDS = [
|
7
|
+
:id,
|
8
|
+
:adlabels,
|
9
|
+
:account_id,
|
10
|
+
:buying_type,
|
11
|
+
:can_use_spend_cap,
|
12
|
+
:configured_status,
|
13
|
+
:created_time,
|
14
|
+
:effective_status,
|
15
|
+
:name,
|
16
|
+
:objective,
|
17
|
+
:start_time,
|
18
|
+
:stop_time,
|
19
|
+
:updated_time,
|
20
|
+
:spend_cap,
|
21
|
+
:budget_rebalance_flag,
|
22
|
+
:pacing_type,
|
23
|
+
:bid_strategy,
|
24
|
+
:special_ad_categories,
|
25
|
+
:daily_budget,
|
26
|
+
:lifetime_budget
|
27
|
+
]
|
28
|
+
CREATE_FIELDS = [
|
29
|
+
:name,
|
30
|
+
:objective,
|
31
|
+
:status,
|
32
|
+
:buying_type,
|
33
|
+
:promoted_object,
|
34
|
+
:spend_cap,
|
35
|
+
:execution_options,
|
36
|
+
:adlabels,
|
37
|
+
:special_ad_categories,
|
38
|
+
:daily_budget,
|
39
|
+
:lifetime_budget
|
40
|
+
]
|
41
|
+
UPDATE_FIELDS = [
|
42
|
+
:name,
|
43
|
+
:objective,
|
44
|
+
:status,
|
45
|
+
:spend_cap,
|
46
|
+
:execution_options,
|
47
|
+
:adlabels,
|
48
|
+
:special_ad_categories,
|
49
|
+
:daily_budget,
|
50
|
+
:lifetime_budget
|
51
|
+
]
|
13
52
|
end
|
14
53
|
end
|
15
54
|
end
|
@@ -6,7 +6,8 @@ module Adparlor
|
|
6
6
|
FIELDS = [:id, :admin_creator, :application, :child_attachments, :call_to_action, :created_time,
|
7
7
|
:feed_targeting, :from, :icon, :is_instagram_eligible, :is_hidden, :is_published, :message, :message_tags,
|
8
8
|
:picture, :place, :privacy, :properties, :shares, :status_type, :story, :story_tags,
|
9
|
-
:targeting, :to, :updated_time, :
|
9
|
+
:targeting, :to, :updated_time, :full_picture, :actions, :likes, :attachments,
|
10
|
+
:scheduled_publish_time, :promotable_id, :allowed_advertising_objectives, :is_eligible_for_promotion, :is_expired, :promotion_status
|
10
11
|
]
|
11
12
|
|
12
13
|
CREATE_FIELDS = FIELDS + [:scheduled_published_time]
|
metadata
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: adparlor-facebook
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.7.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kel Stopper
|
8
8
|
- Lukas Beaton
|
9
|
-
autorequire:
|
9
|
+
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2020-09-26 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|
@@ -370,7 +370,7 @@ homepage: http://adparlor.com
|
|
370
370
|
licenses:
|
371
371
|
- MIT
|
372
372
|
metadata: {}
|
373
|
-
post_install_message:
|
373
|
+
post_install_message:
|
374
374
|
rdoc_options: []
|
375
375
|
require_paths:
|
376
376
|
- lib
|
@@ -385,9 +385,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
385
385
|
- !ruby/object:Gem::Version
|
386
386
|
version: '0'
|
387
387
|
requirements: []
|
388
|
-
rubyforge_project:
|
388
|
+
rubyforge_project:
|
389
389
|
rubygems_version: 2.5.2
|
390
|
-
signing_key:
|
390
|
+
signing_key:
|
391
391
|
specification_version: 4
|
392
392
|
summary: A ruby implementation of the facebook sdk
|
393
393
|
test_files: []
|