facebook_ads 0.6.9 → 0.6.10

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
  SHA256:
3
- metadata.gz: 1d0b36d8b0557f1eebaa63855518906b14cc3cf8681b421d6da307c2d89d9773
4
- data.tar.gz: 0e52b329591a1d04a0eb8d4e3774a170ff059fad4b7d68ecdbc83585c658bc5f
3
+ metadata.gz: a03d4f3a27e9334ed927e33d087b9910c3049f853585da3558e75143bae67a14
4
+ data.tar.gz: c32267e2463e1012393aebfb85a748205f8b80fc57e19853fe2b68494194841a
5
5
  SHA512:
6
- metadata.gz: a76b400649c0e4052388062cc04496d3bc72b2306d1da3cf5c9e71ac48478cc283e16d9c693e48ed269e6edeab00ba234c864bc294838c8cec87eeee238804dc
7
- data.tar.gz: 472ae23c8a6a57490200fc02b4a8e93fa166ca7e7a64a175a851c23bc0daa6ec9aec6050e6ffe0d85544222601ab048d3192f2e461be3261d028ea7b3ed41b91
6
+ metadata.gz: cd7cfa247de9b6c9ad7adfb08a3323f3470b76da4fa7c56a8bc6fe7d2a0b93aa3287c258b635876f054f6350645cad16e3d6e420299789eee6c77f59b7007bdb
7
+ data.tar.gz: 5ffac4d2772bbcc3cc723025bbb6f49c451f9d44db2aed6a886fb06a35bd73357c510fc36e0335bfd422a7c8c28efd94e2dcb7394f42c8a4d034e5ca1188eb54
@@ -1,3 +1,7 @@
1
+ ## 0.6.10 (2019-05-06)
2
+ - Set default version to 3.2.
3
+ - Removed `relevance_score` from the list of default fields in `AdInsight`.
4
+
1
5
  ## 0.6.9 (2019-03-25)
2
6
  - Added the following fields to `AdCreative`: `product_set_id` and `url_tags`. (#37, @cte)
3
7
 
@@ -3,10 +3,10 @@
3
3
 
4
4
  # To publish the next version:
5
5
  # gem build facebook_ads.gemspec
6
- # gem push facebook_ads-0.6.9.gem
6
+ # gem push facebook_ads-0.6.10.gem
7
7
  Gem::Specification.new do |s|
8
8
  s.name = 'facebook_ads'
9
- s.version = '0.6.9'
9
+ s.version = '0.6.10'
10
10
  s.platform = Gem::Platform::RUBY
11
11
  s.licenses = ['MIT']
12
12
  s.authors = ['Chris Estreich']
@@ -40,7 +40,7 @@ module FacebookAds
40
40
  end
41
41
 
42
42
  def self.api_version
43
- @api_version = '3.1' unless defined?(@api_version)
43
+ @api_version = '3.2' unless defined?(@api_version)
44
44
  @api_version
45
45
  end
46
46
 
@@ -4,9 +4,9 @@ module FacebookAds
4
4
  # Ad insights exist for ad accounts, ad campaigns, ad sets, and ads.
5
5
  # A lot more can be done here.
6
6
  # https://developers.facebook.com/docs/marketing-api/insights/overview
7
- # https://developers.facebook.com/docs/marketing-api/insights/fields/v2.8
7
+ # https://developers.facebook.com/docs/marketing-api/insights/parameters
8
8
  class AdInsight < Base
9
- FIELDS = %w[account_id campaign_id adset_id ad_id objective impressions unique_actions cost_per_unique_action_type clicks cpc cpm cpp ctr spend reach relevance_score].freeze
9
+ FIELDS = %w[account_id campaign_id adset_id ad_id objective impressions unique_actions cost_per_unique_action_type clicks cpc cpm cpp ctr spend reach].freeze
10
10
 
11
11
  class << self
12
12
  def find(_id)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: facebook_ads
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.9
4
+ version: 0.6.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Estreich
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-03-26 00:00:00.000000000 Z
11
+ date: 2019-05-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rest-client