Skip to content

Commit

Permalink
Revert "Temporary workaround for xdevplatform#107."
Browse files Browse the repository at this point in the history
This reverts commit 15cd8f3.
  • Loading branch information
kambayashia committed Sep 23, 2016
1 parent 84f043e commit dd9b770
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions lib/twitter-ads/campaign/line_item.rb
Original file line number Diff line number Diff line change
Expand Up @@ -85,16 +85,5 @@ def targeting_criteria(id = nil, opts = {})
id ? TargetingCriteria.load(account, id, opts) : TargetingCriteria.all(account, @id, opts)
end

def to_params
params = super

# If automatically_set_bid is set, bid_type must not be set.
params.delete(:bid_type) if params[:automatically_select_bid]

# advertiser_user_id is currently beta-only and causes an error when sent.
params.delete(:advertiser_user_id)

params
end
end
end

0 comments on commit dd9b770

Please sign in to comment.