adparlor-facebook 0.7.7 → 0.7.9

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: e0f81aadb68bd203b56e77fa281661966483ee11
4
- data.tar.gz: 7dc5ce968e88c5168ee2c64035f11ee9246c30b3
3
+ metadata.gz: 10c0274d1f60991b65b922b3f6a0143778584179
4
+ data.tar.gz: dc838d8d8c61c7285ba11499e96bfc493484ea94
5
5
  SHA512:
6
- metadata.gz: d60b32731d8023d052e930f94e6db5b48175607c8612d1be440c1c16ad86feb14e38782f0fbb300f79e5edf7e2c6f5cf5043d2a7dcff3a43e92863d457ad8bd8
7
- data.tar.gz: dc956cb35b0118ca2311fd2200404cacc6f8d361194b66e069618636822a2b2f4f054feaaf076ea6263cf9c08a6ad5d2fd37098f69d67fe9b5110f0ecf587127
6
+ metadata.gz: 2dd2596d33fad66042172b1bba6f057da80b31328b89a313575d599aea1c5fb1a4cd913c9592c5b368a4f081ec8173541244da35e5525cf34c42787b63ae4368
7
+ data.tar.gz: fa82d8e6f401ef27c44c0f93a02863638c248a1d9c49eedb344047857653dfa3f30dc2a9b3dc2b8295a7d84bc6c98610b40ad851a4c7bbdf7a12f39f88c8ebbc
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- adparlor-facebook (0.7.7)
4
+ adparlor-facebook (0.7.9)
5
5
  faraday
6
6
  faraday_middleware
7
7
  httpclient
data/bin/console CHANGED
@@ -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 = 'v14.0'
7
+ config.api_version = 'v16.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 = 'v14.0'
18
+ @api_version = 'v16.0'
19
19
  @base_uri = 'https://graph.facebook.com'
20
20
  @proxy_api_key = nil
21
21
  end
@@ -4,7 +4,7 @@ module Adparlor
4
4
  module AdTargetingTypes
5
5
  class AdTargetingCategory
6
6
  attr_accessor :id, :audience_size, :country, :country_access, :description, :name,
7
- :real_time_cluster, :partner, :path, :source, :type
7
+ :real_time_cluster, :partner, :path, :source, :type, :audience_size_lower_bound, :audience_size_upper_bound
8
8
 
9
9
  class << self
10
10
  def type_param
@@ -5,7 +5,7 @@ module Adparlor
5
5
  module AdImage
6
6
  FIELDS = [:id, :account_id, :hash, :url, :creatives, :filename, :width, :height,
7
7
  :original_width, :original_height, :name, :status,
8
- :created_time, :updated_time, :permalink_url, :url_128]
8
+ :created_time, :updated_time, :permalink_url, :url_128, :url_256, :url_256_height, :url_256_width]
9
9
  CREATE_FIELDS = [:account_id, :copy_from, :source]
10
10
  end
11
11
  end
@@ -3,7 +3,7 @@ module Adparlor
3
3
  module GraphApi
4
4
  module Fields
5
5
  module DeliveryEstimate
6
- FIELDS = [:bid_estimate, :daily_outcomes_curve, :estimate_dau, :estimate_mau, :estimate_ready]
6
+ FIELDS = [:daily_outcomes_curve, :estimate_dau, :estimate_ready]
7
7
  end
8
8
  end
9
9
  end
@@ -9,7 +9,6 @@ module Adparlor
9
9
  :follow_up_action_url,
10
10
  :form_url,
11
11
  :is_tcpa_compliant,
12
- :leadgen_export_csv_url,
13
12
  :locale,
14
13
  :name,
15
14
  :page_id,
@@ -3,7 +3,7 @@ module Adparlor
3
3
  module GraphApi
4
4
  module Fields
5
5
  module ReachEstimate
6
- FIELDS = [:users, :bid_estimations, :estimate_ready]
6
+ FIELDS = [:bid_estimations, :estimate_ready]
7
7
  end
8
8
  end
9
9
  end
@@ -4,14 +4,14 @@ module Adparlor
4
4
  module Fields
5
5
  module ReachFrequencyPrediction
6
6
  FIELDS = [:id, :account_id, :activity_status, :buying_type, :campaign_group_id, :campaign_id, :campaign_time_start,
7
- :campaign_time_stop, :currency, :daily_impression_curve, :demo_breakdown, :destination_id,
7
+ :campaign_time_stop, :currency, :daily_impression_curve, :destination_id,
8
8
  :expiration_time, :external_budget, :external_impression, :external_maximum_budget, :external_maximum_impression,
9
9
  :external_maximum_reach, :external_minimum_budget, :external_minimum_impression, :external_minimum_reach, :external_reach,
10
- :frequency_cap, :frequency_distribution, :grp_audience_size, :grp_country_audience_size, :grp_dmas_audience_size,
10
+ :frequency_cap, :grp_audience_size, :grp_country_audience_size, :grp_dmas_audience_size,
11
11
  :grp_points, :grp_ratio, :grp_reach_ratio, :grp_status, :holdout_percentage, :impression_curve, :instagram_destination_id,
12
12
  :interval_frequency_cap, :interval_frequency_cap_reset_period, :is_bonus_media, :is_conversion_goal, :name, :objective_name,
13
13
  :pause_periods, :placement_breakdown, :prediction_mode, :prediction_progress, :reference_id, :reservation_status, :status,
14
- :story_event_type, :target_audience_size, :target_cpm, :target_spec, :time_created, :time_updated, :timezone_id,
14
+ :story_event_type, :target_cpm, :target_spec, :time_created, :time_updated, :timezone_id,
15
15
  :timezone_name, :topline_id, :curve_budget_reach]
16
16
  CREATE_FIELDS = [:action, :budget, :campaign_group_id, :day_parting_schedule, :destination_id, :destination_ids, :end_time,
17
17
  :frequency_cap, :impression, :interval_frequency_cap_reset_period, :num_curve_points, :objective, :prediction_mode,
@@ -3,7 +3,7 @@ module Adparlor
3
3
  module GraphApi
4
4
  module Fields
5
5
  module TargetingSuggestion
6
- FIELDS = [:id, :audience_size, :description, :name, :path, :type]
6
+ FIELDS = [:id, :description, :name, :path, :type, :audience_size_lower_bound, :audience_size_upper_bound]
7
7
  end
8
8
  end
9
9
  end
@@ -1,5 +1,5 @@
1
1
  module Adparlor
2
2
  module Facebook
3
- VERSION = '0.7.7'
3
+ VERSION = '0.7.9'
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.7.7
4
+ version: 0.7.9
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: 2022-08-05 00:00:00.000000000 Z
12
+ date: 2023-04-17 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler