Cannot un-pause a campaign


#1

Just walked out of Ad API orientation tech talk, trying to launch a new campaign:

Using Ruby SDK, commend line:

twitter-ads v0.2.5 >> campaign.paused = false
=> false
twitter-ads v0.2.5 >> campaign.save
=> #<TwitterAds::Campaign:0x70328694357260 id="3jab9">
twitter-ads v0.2.5 >> campaign.to_params
=> {:id=>"3jab9",
 :reasons_not_servable=>"PAUSED_BY_ADVERTISER",
 :created_at=>"2015-11-13T22:31:54Z",
 :updated_at=>"2015-11-13T22:49:58Z",
 :name=>"DM2015",
 :funding_instrument_id=>"iycbl",
 :start_time=>"2015-11-13T22:31:49Z",
 :paused=>true,
 :currency=>"CAD",
 :standard_delivery=>true,
 :daily_budget_amount_local_micro=>10000000}

Note that the campaign is still set to paused. How come?

Thanks,
@alexissmirnov


#2

@nexalogy Thanks for reporting this issue.

This was a genuine bug in the latest release. We were incorrectly handling boolean values in this scenario as the result of a recent change in a core code path.

If you update to v0.2.6 this has been resolved.

gem update twitter-ads

More info here: