Skip to content

Commit

Permalink
Add the product_set_id and url_tags fields to the AdCreative object (#37
Browse files Browse the repository at this point in the history
)
  • Loading branch information
cte committed Mar 26, 2019
1 parent 4254877 commit 5b04582
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
## 0.6.8 (2019-03-25)
- Added the following fields to `AdCreative`: `product_set_id` and `url_tags`. (#37, @cte)

## 0.6.7 (2019-03-07)
- Added the following fields to `AdSet`: `attribution_spec`, `start_time` and `end_time`. (#36, @cte)

Expand Down
2 changes: 1 addition & 1 deletion facebook_ads.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# gem push facebook_ads-0.6.7.gem
Gem::Specification.new do |s|
s.name = 'facebook_ads'
s.version = '0.6.7'
s.version = '0.6.8'
s.platform = Gem::Platform::RUBY
s.licenses = ['MIT']
s.authors = ['Chris Estreich']
Expand Down
2 changes: 1 addition & 1 deletion lib/facebook_ads/ad_creative.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ module FacebookAds
# Ad ad creative has many ad images and belongs to an ad account.
# https://developers.facebook.com/docs/marketing-api/reference/ad-creative
class AdCreative < Base
FIELDS = %w[id name object_story_id object_story_spec object_type thumbnail_url status].freeze
FIELDS = %w[id name object_story_id object_story_spec object_type thumbnail_url product_set_id url_tags status].freeze
CALL_TO_ACTION_TYPES = %w[SHOP_NOW INSTALL_MOBILE_APP USE_MOBILE_APP SIGN_UP DOWNLOAD BUY_NOW NO_BUTTON].freeze

class << self
Expand Down

0 comments on commit 5b04582

Please sign in to comment.