Skip to content

Commit

Permalink
Expose budget related fields for AdCampaign (#29)
Browse files Browse the repository at this point in the history
* Expose budget related fields for AdCampaign

* Fix cassettes

* Add to Changelog and upgrade gem version
  • Loading branch information
joemanley201 committed Oct 3, 2018
1 parent 3b7eca5 commit 7fe9625
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 6 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.4 (2018-10-03)
- Expose `budget_remaining`, `daily_budget`, `lifetime_budget` for Ad Campaigns. These are needed when we have budgets at the Ad Campaign level and not at the Ad Set level.

## 0.6.3 (2018-05-17)
- Replaced deprecated `is_autobid` with new `bid_strategy` field

Expand Down
4 changes: 2 additions & 2 deletions facebook_ads.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@

# To publish the next version:
# gem build facebook_ads.gemspec
# gem push facebook_ads-0.6.2.gem
# gem push facebook_ads-0.6.4.gem
Gem::Specification.new do |s|
s.name = 'facebook_ads'
s.version = '0.6.3'
s.version = '0.6.4'
s.platform = Gem::Platform::RUBY
s.licenses = ['MIT']
s.authors = ['Chris Estreich']
Expand Down
1 change: 1 addition & 0 deletions lib/facebook_ads/ad_campaign.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ class AdCampaign < Base
start_time
stop_time
updated_time spend_cap
budget_remaining daily_budget lifetime_budget
].freeze

STATUSES = %w[
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 7fe9625

Please sign in to comment.