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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8fa85911783474efc71cfebd1b6875984c0e0b9a
4
- data.tar.gz: 35fe9ef453931e7f3c4feb38c75ba63f8c7bf614
3
+ metadata.gz: 7cfd8c359dfe9d9cb59ca12fa84a17da188c6c0c
4
+ data.tar.gz: 6ecf3f296dc9ed25b08635687998cb8fe6baeeaa
5
5
  SHA512:
6
- metadata.gz: 6bbcdaa8ac37a23e0d7f2e8730d4fe36d06d0b24a033b23fd320731c818027c08db2582343f3f7d99830ae1ff997994be523b9a8c2d56f86a98eaa41dafa7bbd
7
- data.tar.gz: d7a98051328369425165ac690f6a85e726d28d925fe0cc3d98e39c7b4c5d63339215e175547c63822520908809935fd47e558945d2030a5d7db16820c2421500
6
+ metadata.gz: 48a396ac7018c3410e77a2d44c5d21472b6c651b440e78c2c5544bb3b5e242d5d44a7bdf6995608068e1d8f148ba0c6edd7e84db8187c339d08dfa3453ba0c3a
7
+ data.tar.gz: a9722efc1f5957d35721417b9ef67effbfc4c1b232674285b8f0159b77860d7f7159a0f2034d80258c4b0b1018d7699be18b7798b2fb653b27b892370daac2b8
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- adparlor-facebook (0.6.5)
4
+ adparlor-facebook (0.7.3)
5
5
  faraday
6
6
  faraday_middleware
7
7
  httpclient
@@ -4,7 +4,7 @@ require 'bundler/setup'
4
4
  require 'adparlor/facebook'
5
5
 
6
6
  Adparlor::Facebook.configure do |config|
7
- config.api_version = 'v3.3'
7
+ config.api_version = 'v7.0'
8
8
  end
9
9
 
10
10
  # You can add fixtures and/or initialization code here to make experimenting
@@ -15,7 +15,7 @@ module Adparlor
15
15
  attr_accessor :proxy_api_key
16
16
 
17
17
  def initialize
18
- @api_version = 'v3.3'
18
+ @api_version = 'v7.0'
19
19
  @base_uri = 'https://graph.facebook.com'
20
20
  @proxy_api_key = nil
21
21
  end
@@ -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 = [:id, :adlabels, :account_id, :buying_type, :can_use_spend_cap,
7
- :configured_status, :created_time, :effective_status, :name,
8
- :objective, :start_time, :stop_time, :updated_time, :spend_cap, :budget_rebalance_flag, :pacing_type, :bid_strategy]
9
- CREATE_FIELDS = [:name, :objective, :status, :buying_type, :promoted_object,
10
- :spend_cap, :execution_options, :adlabels, :budget_rebalance_flag, :pacing_type, :bid_strategy]
11
- UPDATE_FIELDS = [:name, :objective, :status, :spend_cap, :execution_options,
12
- :adlabels, :budget_rebalance_flag, :bid_strategy]
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, :with_tags, :full_picture, :actions, :likes, :attachments
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]
@@ -1,5 +1,5 @@
1
1
  module Adparlor
2
2
  module Facebook
3
- VERSION = '0.6.5'
3
+ VERSION = '0.7.3'
4
4
  end
5
5
  end
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.6.5
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: 2019-11-19 00:00:00.000000000 Z
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: []