adparlor-facebook 0.7.6 → 0.7.8

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: 96e2fd16d2fbc16d40c14e6003c35795e4f9fb2e
4
- data.tar.gz: 7a4edd3284a8a0f36074e2920f595b86498e6bd0
3
+ metadata.gz: b637fbf334dc10d79fd2531642f6ce17bbce13a0
4
+ data.tar.gz: 917269d840c8cc43b79ff01df87cc262e6e845bd
5
5
  SHA512:
6
- metadata.gz: 7f27d39e710fff1e503b9842a5a281432b20163e08f593ed04a5accae4bdd2f6f03336e86abfb92c5ac57f2fc0f3abded76f32e98ac9f8e9adf032fd7bb5bc90
7
- data.tar.gz: a9bc4a37679d10710bfe04d9c87859d4f78b30640445dfc2a3af050fc2b2251337b385b9d18e6d4ee1fcbba1d28595dff4046d2980f4a322caa4e3912d77ebdd
6
+ metadata.gz: 70b32c660eb04a1cb06b6729ab9ea5b0f10d28e5b217e452327dff1c00db9b5a1a151dc253108c48c217e47dac83d55bd7c54c170ba80d7372d8224d026b9223
7
+ data.tar.gz: bb42613f36f29a4b073c4899d93e7e5bbb2e5e941609f23c9c3398bc26ec1633fcd0ee84050ba8411ca7cbac0503309a1efd5bf2c5792f9282e26b9e147fa922
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- adparlor-facebook (0.7.6)
4
+ adparlor-facebook (0.7.8)
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 = 'v12.0'
7
+ config.api_version = 'v14.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 = 'v12.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.6'
3
+ VERSION = '0.7.8'
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.6
4
+ version: 0.7.8
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-02-08 00:00:00.000000000 Z
12
+ date: 2023-04-15 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler