facebook_ads 0.6.7 → 0.6.9

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
- SHA1:
3
- metadata.gz: cc922fa9a2ed2685feedc190f87fd6a31f214075
4
- data.tar.gz: 0daae86e9c4fcb4f5bcb6a69d11491369cbeb37b
2
+ SHA256:
3
+ metadata.gz: 1d0b36d8b0557f1eebaa63855518906b14cc3cf8681b421d6da307c2d89d9773
4
+ data.tar.gz: 0e52b329591a1d04a0eb8d4e3774a170ff059fad4b7d68ecdbc83585c658bc5f
5
5
  SHA512:
6
- metadata.gz: 014b409b2d02bcb91bfffdfe7a8fcf342c139a77355fd95e89ca451f867d3b72bd2a5a61e5e0d7c2b5534aaf4cf485e09d6c6db898fe9d6c6732246fcef31901
7
- data.tar.gz: 4c5e95e8573ab3ea52fa4bbbbfab7a7d72a8d25e926b01409edd7bb18dbac2917dd2138851c7b8346b729323e13c18672fb953a3b3d60ebc6e2ee21cd974f587
6
+ metadata.gz: a76b400649c0e4052388062cc04496d3bc72b2306d1da3cf5c9e71ac48478cc283e16d9c693e48ed269e6edeab00ba234c864bc294838c8cec87eeee238804dc
7
+ data.tar.gz: 472ae23c8a6a57490200fc02b4a8e93fa166ca7e7a64a175a851c23bc0daa6ec9aec6050e6ffe0d85544222601ab048d3192f2e461be3261d028ea7b3ed41b91
@@ -1,3 +1,6 @@
1
+ ## 0.6.9 (2019-03-25)
2
+ - Added the following fields to `AdCreative`: `product_set_id` and `url_tags`. (#37, @cte)
3
+
1
4
  ## 0.6.7 (2019-03-07)
2
5
  - Added the following fields to `AdSet`: `attribution_spec`, `start_time` and `end_time`. (#36, @cte)
3
6
 
@@ -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.7.gem
6
+ # gem push facebook_ads-0.6.9.gem
7
7
  Gem::Specification.new do |s|
8
8
  s.name = 'facebook_ads'
9
- s.version = '0.6.7'
9
+ s.version = '0.6.9'
10
10
  s.platform = Gem::Platform::RUBY
11
11
  s.licenses = ['MIT']
12
12
  s.authors = ['Chris Estreich']
@@ -4,7 +4,7 @@ module FacebookAds
4
4
  # Ad ad creative has many ad images and belongs to an ad account.
5
5
  # https://developers.facebook.com/docs/marketing-api/reference/ad-creative
6
6
  class AdCreative < Base
7
- FIELDS = %w[id name object_story_id object_story_spec object_type thumbnail_url status].freeze
7
+ FIELDS = %w[id name object_story_id object_story_spec object_type thumbnail_url product_set_id url_tags status].freeze
8
8
  CALL_TO_ACTION_TYPES = %w[SHOP_NOW INSTALL_MOBILE_APP USE_MOBILE_APP SIGN_UP DOWNLOAD BUY_NOW NO_BUTTON].freeze
9
9
 
10
10
  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,status&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,product_set_id,url_tags,status&limit=100
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -1410,7 +1410,7 @@ http_interactions:
1410
1410
  FAoFAoFAoFAoFAoFAoFAoFAoFAoFAoFAoFAoFAoFAoFAoFAoFAoFAoFAoFAo
1411
1411
  FAoFAoFAoFAoFAoFAoFAoFAoFAoFAoFAoFAoFAoFAoFAoFAoFAoFAoFAoFAo
1412
1412
  FAoFAoFAoFAoFAoFAoFAoFAoFAoFAoFAoFAoFAoFAoFAoFAoFAoFAoFAoP/Z
1413
- http_version:
1413
+ http_version:
1414
1414
  recorded_at: Fri, 25 Aug 2017 22:08:00 GMT
1415
1415
  - request:
1416
1416
  method: get
@@ -3590,7 +3590,7 @@ http_interactions:
3590
3590
  9c0S1VmeeRCnfsCbqPEaJKoK2aCQj7agbSP6Mk9fxqOiJ8wlghAP2uV5GtZB
3591
3591
  b7yazVivBmE8iF0aaM8xz+8Xqba0ZBmWYYmbuY5Ixbctpe341pByy5kpiZ54
3592
3592
  muTfTqv99GatiSRgCzHV8arO2Wl82+tDk//Z
3593
- http_version:
3593
+ http_version:
3594
3594
  recorded_at: Fri, 25 Aug 2017 22:08:00 GMT
3595
3595
  - request:
3596
3596
  method: post
@@ -7130,7 +7130,7 @@ http_interactions:
7130
7130
  body:
7131
7131
  encoding: UTF-8
7132
7132
  string: '{"images":{"13006112.jpg":{"hash":"d8fc613662fb5ef6cf5fb9d1fe779315","url":"https:\/\/scontent.xx.fbcdn.net\/v\/t45.1600-4\/21011723_120330000008134015_3582640201089941504_n.png?oh=8fad00827a866fcc942b6fe2c0f24b72&oe=5A1A9C86"},"13344107.jpg":{"hash":"e0e0911ba5b8c0f8af4028f81de5c720","url":"https:\/\/scontent.xx.fbcdn.net\/v\/t45.1600-4\/20865059_120330000008133915_2042189771664523264_n.png?oh=d53c6b65a54e4aa904074d36268366f8&oe=5A1F2DDC"}}}'
7133
- http_version:
7133
+ http_version:
7134
7134
  recorded_at: Fri, 25 Aug 2017 22:08:01 GMT
7135
7135
  - request:
7136
7136
  method: get
@@ -7183,7 +7183,7 @@ http_interactions:
7183
7183
  body:
7184
7184
  encoding: UTF-8
7185
7185
  string: '{"data":[{"id":"10152335766987003:e0e0911ba5b8c0f8af4028f81de5c720","hash":"e0e0911ba5b8c0f8af4028f81de5c720","account_id":"10152335766987003","name":"13344107.jpg","permalink_url":"https:\/\/www.facebook.com\/ads\/image\/?d=AQI4Y9-QB0GJ-LZrkpV4byT7zDzEeo7UvJQehuTGHmWk8dER0caX684Pds3H6D0UeJQcUtyGo4iclh3F5grYsusA133FLxoJ9sZjW1Z2h2HCebq8InTyH3hkt5sgPN6a1FBqmrOE6JtAFCG4bjm4y7cb","original_width":570,"original_height":760},{"id":"10152335766987003:d8fc613662fb5ef6cf5fb9d1fe779315","hash":"d8fc613662fb5ef6cf5fb9d1fe779315","account_id":"10152335766987003","name":"13006112.jpg","permalink_url":"https:\/\/www.facebook.com\/ads\/image\/?d=AQKmX_u0U1Y6Z8F7Z7zdFGQ1fxDKHJzA5VUfXYJvEFl8UQBpwB9vPKjBq4zYWsuPIx29cXaimccuDARdn0cREHTWBu6ZmKFw1GlidOpNKg0uDPl0qa0i_Z3GOt4pCqeNKfzOCh5stTcSDC60AXQWk_b1","original_width":570,"original_height":707}],"paging":{"cursors":{"before":"MTA3MTAxNTcwMDI0Nzg3OmUwZATA5MTFiYTViOGMwZAjhhZAjQwMjhmODFkZATVjNzIw","after":"MTA3MTAxNTcwMDI0Nzg3OmQ4ZAmM2MTM2NjJmYjVlZAjZAjZAjVmYjlkMWZAlNzc5MzE1"}}}'
7186
- http_version:
7186
+ http_version:
7187
7187
  recorded_at: Fri, 25 Aug 2017 22:08:01 GMT
7188
7188
  - request:
7189
7189
  method: post
@@ -7240,11 +7240,11 @@ http_interactions:
7240
7240
  body:
7241
7241
  encoding: UTF-8
7242
7242
  string: '{"id":"120330000008134415"}'
7243
- http_version:
7243
+ http_version:
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,status
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,product_set_id,url_tags,status
7248
7248
  body:
7249
7249
  encoding: US-ASCII
7250
7250
  string: ''
@@ -7296,6 +7296,6 @@ http_interactions:
7296
7296
  message.","call_to_action":{"type":"SHOP_NOW","value":{"link":"http:\/\/play.google.com\/store\/apps\/details?id=com.tophatter"}},"child_attachments":[{"link":"http:\/\/play.google.com\/store\/apps\/details?id=com.tophatter","image_hash":"e0e0911ba5b8c0f8af4028f81de5c720","name":"Image
7297
7297
  #1 Title","call_to_action":{"type":"SHOP_NOW","value":{"link":"http:\/\/play.google.com\/store\/apps\/details?id=com.tophatter"}}},{"link":"http:\/\/play.google.com\/store\/apps\/details?id=com.tophatter","image_hash":"d8fc613662fb5ef6cf5fb9d1fe779315","name":"Image
7298
7298
  #2 Title","call_to_action":{"type":"SHOP_NOW","value":{"link":"http:\/\/play.google.com\/store\/apps\/details?id=com.tophatter"}}}],"multi_share_end_card":false,"multi_share_optimized":true}},"object_type":"SHARE","thumbnail_url":"https:\/\/external.xx.fbcdn.net\/safe_image.php?d=AQCICsW3lahMc5UH&w=64&h=64&url=https\u00253A\u00252F\u00252Fwww.facebook.com\u00252Fads\u00252Fimage\u00252F\u00253Fd\u00253DAQJOXAr-67FM4RpbUwytRBKSydcjusxzU6XhAY05G44THJ6by1ETfyKwVxWv1kTahVTTlpsxNcuvr5ns_xf8MpFlQjufc6k1QJtTl78cV0v2DNAQ11gx064bnXfBUWl6l9pd0gny0VReQzbopFk7cBs5&cfs=1&_nc_hash=AQCUdz3EIJynOrkQ"}'
7299
- http_version:
7299
+ http_version:
7300
7300
  recorded_at: Fri, 25 Aug 2017 22:08:07 GMT
7301
7301
  recorded_with: VCR 3.0.3
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.7
4
+ version: 0.6.9
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-08 00:00:00.000000000 Z
11
+ date: 2019-03-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rest-client
@@ -140,8 +140,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
140
140
  - !ruby/object:Gem::Version
141
141
  version: '0'
142
142
  requirements: []
143
- rubyforge_project:
144
- rubygems_version: 2.6.12
143
+ rubygems_version: 3.0.3
145
144
  signing_key:
146
145
  specification_version: 4
147
146
  summary: Facebook Marketing API SDK for Ruby.