adparlor-facebook 0.6.6 → 0.7.4

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: c5029749caa37e4a656ab91e752cefe067f8e8df
4
- data.tar.gz: d655c4094bfb60cdeca5f5e8e77001b27653cd88
3
+ metadata.gz: d26bc9b1bd8581314633405bc672734f54a0c0e9
4
+ data.tar.gz: 8f61d0d398efa265e8a6f8e278f7fccb288bbee6
5
5
  SHA512:
6
- metadata.gz: d8bab5f9485bd8cd745f6fd498a9552a8a6bc537a3f66d3e4b9c5eb99e25231a5e17d2f84c65bf1a5402cb064cbbd2da17bf9aac6c352a77c31fdca3a8af7055
7
- data.tar.gz: cace4a0624ebf41e90c30a351011f5fda8c83f9b310d85fcbc4259ccd12d6148d85ac33bc58f5f960396b2e9030a1daab9d7579cc48d219aa7e8c7eb4d9ba778
6
+ metadata.gz: 9b247d1692550e45c1fb5232be26b24e2a374d731184aa2a5041d65a705dc9c0cc5768a738e561b2020f017cc9ea3f8858c37323e8a3be013e6840613ae8666e
7
+ data.tar.gz: 601503ba313e9f11b00d0ab87a3b69e6851cd68b6e1d1a1277044710c7250eb931524687e8ac6e49e510962f217997806f3c498e10daf60878f3fdc3c4e0d2cb
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- adparlor-facebook (0.6.6)
4
+ adparlor-facebook (0.7.4)
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 = 'v3.3'
7
+ config.api_version = 'v9.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 = 'v9.0'
19
19
  @base_uri = 'https://graph.facebook.com'
20
20
  @proxy_api_key = nil
21
21
  end
@@ -20,7 +20,10 @@ module Adparlor
20
20
  :spend_cap,
21
21
  :budget_rebalance_flag,
22
22
  :pacing_type,
23
- :bid_strategy
23
+ :bid_strategy,
24
+ :special_ad_categories,
25
+ :daily_budget,
26
+ :lifetime_budget
24
27
  ]
25
28
  CREATE_FIELDS = [
26
29
  :name,
@@ -31,7 +34,9 @@ module Adparlor
31
34
  :spend_cap,
32
35
  :execution_options,
33
36
  :adlabels,
34
- :budget_rebalance_flag
37
+ :special_ad_categories,
38
+ :daily_budget,
39
+ :lifetime_budget
35
40
  ]
36
41
  UPDATE_FIELDS = [
37
42
  :name,
@@ -40,7 +45,9 @@ module Adparlor
40
45
  :spend_cap,
41
46
  :execution_options,
42
47
  :adlabels,
43
- :budget_rebalance_flag
48
+ :special_ad_categories,
49
+ :daily_budget,
50
+ :lifetime_budget
44
51
  ]
45
52
  end
46
53
  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.6'
3
+ VERSION = '0.7.4'
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.6
4
+ version: 0.7.4
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-21 00:00:00.000000000 Z
12
+ date: 2021-02-18 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: []