facebook_ads 0.6.9 → 0.6.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/facebook_ads.gemspec +2 -2
- data/lib/facebook_ads.rb +1 -1
- data/lib/facebook_ads/ad_insight.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a03d4f3a27e9334ed927e33d087b9910c3049f853585da3558e75143bae67a14
|
4
|
+
data.tar.gz: c32267e2463e1012393aebfb85a748205f8b80fc57e19853fe2b68494194841a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cd7cfa247de9b6c9ad7adfb08a3323f3470b76da4fa7c56a8bc6fe7d2a0b93aa3287c258b635876f054f6350645cad16e3d6e420299789eee6c77f59b7007bdb
|
7
|
+
data.tar.gz: 5ffac4d2772bbcc3cc723025bbb6f49c451f9d44db2aed6a886fb06a35bd73357c510fc36e0335bfd422a7c8c28efd94e2dcb7394f42c8a4d034e5ca1188eb54
|
data/CHANGELOG.md
CHANGED
data/facebook_ads.gemspec
CHANGED
@@ -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.
|
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
|
+
s.version = '0.6.10'
|
10
10
|
s.platform = Gem::Platform::RUBY
|
11
11
|
s.licenses = ['MIT']
|
12
12
|
s.authors = ['Chris Estreich']
|
data/lib/facebook_ads.rb
CHANGED
@@ -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/
|
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
|
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.
|
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-
|
11
|
+
date: 2019-05-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rest-client
|