adparlor-facebook 0.6.4 → 0.6.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: dd2cd88a1f2a4d284244a95209ce871b6370fe3d
4
- data.tar.gz: f0d3ef30cf3be3f40327f24efd3115d41b98bc14
3
+ metadata.gz: 8fa85911783474efc71cfebd1b6875984c0e0b9a
4
+ data.tar.gz: 35fe9ef453931e7f3c4feb38c75ba63f8c7bf614
5
5
  SHA512:
6
- metadata.gz: ea7c0d7e6946272baa9a6b95fbd69c32a5270d82aec575d2fcb82134eeb4bbf0f34ee909ae0137c075da0980a5084016ce22ff88f778a28e8a9047c4c0ec085c
7
- data.tar.gz: 9fcf9b8e8c0ac061bd8dad3bdba5b4c8e63b38c386e2982c3c7e98615508bca6a9f7a3e21a6187ef6589426cc96dc0a93eda1a34b6291c340815c201ef3c1fed
6
+ metadata.gz: 6bbcdaa8ac37a23e0d7f2e8730d4fe36d06d0b24a033b23fd320731c818027c08db2582343f3f7d99830ae1ff997994be523b9a8c2d56f86a98eaa41dafa7bbd
7
+ data.tar.gz: d7a98051328369425165ac690f6a85e726d28d925fe0cc3d98e39c7b4c5d63339215e175547c63822520908809935fd47e558945d2030a5d7db16820c2421500
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- adparlor-facebook (0.6.4)
4
+ adparlor-facebook (0.6.5)
5
5
  faraday
6
6
  faraday_middleware
7
7
  httpclient
@@ -4,7 +4,7 @@ module Adparlor
4
4
  class Campaign < GraphObject
5
5
  include Fields::Campaign
6
6
  include Traits::Methods
7
-
7
+
8
8
  field_attrs FIELDS
9
9
  allow_method :create
10
10
  allow_local_method :create, :destroy, :update
@@ -33,7 +33,23 @@ module Adparlor
33
33
  :budget_remaining,
34
34
  :daily_budget,
35
35
  :lifetime_budget,
36
- :bid_strategy
36
+ :bid_strategy,
37
+ :asset_feed_id,
38
+ :bid_constraints,
39
+ :daily_min_spend_target,
40
+ :daily_spend_cap,
41
+ :destination_type,
42
+ :is_dynamic_creative,
43
+ :issues_info,
44
+ :lifetime_min_spend_target,
45
+ :lifetime_spend_cap,
46
+ :optimization_sub_event,
47
+ :recommendations,
48
+ :recurring_budget_semantics,
49
+ :review_feedback,
50
+ :source_adset,
51
+ :status,
52
+ :time_based_ad_rotation_id_blocks
37
53
  ]
38
54
 
39
55
  CREATE_FIELDS = [
@@ -62,7 +78,16 @@ module Adparlor
62
78
  :rf_prediction_id,
63
79
  :start_time,
64
80
  :targeting,
65
- :bid_strategy
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
66
91
  ]
67
92
 
68
93
  UPDATE_FIELDS = [
@@ -91,7 +116,14 @@ module Adparlor
91
116
  :rf_prediction_id,
92
117
  :start_time,
93
118
  :targeting,
94
- :bid_strategy
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
95
127
  ]
96
128
  end
97
129
  end
@@ -5,11 +5,11 @@ module Adparlor
5
5
  module Campaign
6
6
  FIELDS = [:id, :adlabels, :account_id, :buying_type, :can_use_spend_cap,
7
7
  :configured_status, :created_time, :effective_status, :name,
8
- :objective, :start_time, :stop_time, :updated_time, :spend_cap]
8
+ :objective, :start_time, :stop_time, :updated_time, :spend_cap, :budget_rebalance_flag, :pacing_type, :bid_strategy]
9
9
  CREATE_FIELDS = [:name, :objective, :status, :buying_type, :promoted_object,
10
- :spend_cap, :execution_options, :adlabels, :budget_rebalance_flag]
10
+ :spend_cap, :execution_options, :adlabels, :budget_rebalance_flag, :pacing_type, :bid_strategy]
11
11
  UPDATE_FIELDS = [:name, :objective, :status, :spend_cap, :execution_options,
12
- :adlabels, :budget_rebalance_flag]
12
+ :adlabels, :budget_rebalance_flag, :bid_strategy]
13
13
  end
14
14
  end
15
15
  end
@@ -3,7 +3,7 @@ module Adparlor
3
3
  module GraphApi
4
4
  module Fields
5
5
  module Page
6
- FIELDS = [:id, :access_token, :leadgen_tos_accepted, :name, :name_with_location_descriptor].freeze
6
+ FIELDS = [:id, :access_token, :leadgen_tos_accepted, :name, :name_with_location_descriptor, :new_like_count].freeze
7
7
  end
8
8
  end
9
9
  end
@@ -3,7 +3,7 @@ module Adparlor
3
3
  module GraphApi
4
4
  module Fields
5
5
  module PageAndPlace
6
- FIELDS = [:id, :access_token, :leadgen_tos_accepted, :name, :name_with_location_descriptor]
6
+ FIELDS = [:id, :access_token, :leadgen_tos_accepted, :name, :name_with_location_descriptor, :new_like_count]
7
7
  end
8
8
  end
9
9
  end
@@ -1,5 +1,5 @@
1
1
  module Adparlor
2
2
  module Facebook
3
- VERSION = '0.6.4'
3
+ VERSION = '0.6.5'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: adparlor-facebook
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.4
4
+ version: 0.6.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kel Stopper
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2019-11-08 00:00:00.000000000 Z
12
+ date: 2019-11-19 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler