facebook_ads 0.5 → 0.5.1
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 +4 -4
- data/facebook_ads.gemspec +2 -2
- data/lib/facebook_ads/ad_creative.rb +1 -1
- data/spec/fixtures/cassettes/FacebookAds_AdAccount/_ad_creatives/lists_creatives.yml +1 -1
- data/spec/fixtures/cassettes/FacebookAds_AdAccount/_create_ad_creative/creates_carousel_ad_creative.yml +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a31fcb4d68c33b6fb583c0f00bef17ddb12d318c
|
|
4
|
+
data.tar.gz: 949366fcb398c647befccc49df5ba2a9cc44255b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1aa1487fea0adea8f643e9edd085473bcbd3f83e44f0dbc0029fcbe1f19edd95e304648f9747b5833258cbce47b6ed8163eaa3e2220c8a9e0b5199de9bec0cbc
|
|
7
|
+
data.tar.gz: 21917b75b731b6dfa3f5195e9305726a433cb49302db529d47ab4e9f85d252a02034f584450202aa5cc643e31cbe2ad84f9690e4570827ba748e8b7d515a04ed
|
data/facebook_ads.gemspec
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
# To publish the next version:
|
|
4
4
|
# gem build facebook_ads.gemspec
|
|
5
|
-
# gem push facebook_ads-0.5.gem
|
|
5
|
+
# gem push facebook_ads-0.5.1.gem
|
|
6
6
|
Gem::Specification.new do |s|
|
|
7
7
|
s.name = 'facebook_ads'
|
|
8
|
-
s.version = '0.5'
|
|
8
|
+
s.version = '0.5.1'
|
|
9
9
|
s.platform = Gem::Platform::RUBY
|
|
10
10
|
s.licenses = ['MIT']
|
|
11
11
|
s.authors = ['Chris Estreich']
|
|
@@ -2,7 +2,7 @@ module FacebookAds
|
|
|
2
2
|
# Ad ad creative has many ad images and belongs to an ad account.
|
|
3
3
|
# https://developers.facebook.com/docs/marketing-api/reference/ad-creative
|
|
4
4
|
class AdCreative < Base
|
|
5
|
-
FIELDS = %w[id name object_story_id object_story_spec object_type thumbnail_url].freeze
|
|
5
|
+
FIELDS = %w[id name object_story_id object_story_spec object_type thumbnail_url status].freeze
|
|
6
6
|
CALL_TO_ACTION_TYPES = %w[SHOP_NOW INSTALL_MOBILE_APP USE_MOBILE_APP SIGN_UP DOWNLOAD BUY_NOW NO_BUTTON].freeze
|
|
7
7
|
|
|
8
8
|
class << self
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
http_interactions:
|
|
3
3
|
- request:
|
|
4
4
|
method: get
|
|
5
|
-
uri: https://graph.facebook.com/v<api_version>/act_10152335766987003/adcreatives?access_token=<access_token>&appsecret_proof=<appsecret_proof>&fields=id,name,object_story_id,object_story_spec,object_type,thumbnail_url&limit=100
|
|
5
|
+
uri: https://graph.facebook.com/v<api_version>/act_10152335766987003/adcreatives?access_token=<access_token>&appsecret_proof=<appsecret_proof>&fields=id,name,object_story_id,object_story_spec,object_type,thumbnail_url,status&limit=100
|
|
6
6
|
body:
|
|
7
7
|
encoding: US-ASCII
|
|
8
8
|
string: ''
|
|
@@ -7244,7 +7244,7 @@ http_interactions:
|
|
|
7244
7244
|
recorded_at: Fri, 25 Aug 2017 22:08:06 GMT
|
|
7245
7245
|
- request:
|
|
7246
7246
|
method: get
|
|
7247
|
-
uri: https://graph.facebook.com/v<api_version>/120330000008134415?access_token=<access_token>&appsecret_proof=<appsecret_proof>&fields=id,name,object_story_id,object_story_spec,object_type,thumbnail_url
|
|
7247
|
+
uri: https://graph.facebook.com/v<api_version>/120330000008134415?access_token=<access_token>&appsecret_proof=<appsecret_proof>&fields=id,name,object_story_id,object_story_spec,object_type,thumbnail_url,status
|
|
7248
7248
|
body:
|
|
7249
7249
|
encoding: US-ASCII
|
|
7250
7250
|
string: ''
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: facebook_ads
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version:
|
|
4
|
+
version: 0.5.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Chris Estreich
|
|
@@ -136,7 +136,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
136
136
|
version: '0'
|
|
137
137
|
requirements: []
|
|
138
138
|
rubyforge_project:
|
|
139
|
-
rubygems_version: 2.
|
|
139
|
+
rubygems_version: 2.5.2
|
|
140
140
|
signing_key:
|
|
141
141
|
specification_version: 4
|
|
142
142
|
summary: Facebook Marketing API SDK for Ruby.
|