We are trying to pause a line item that is near running out of budget, however twitter is responding with an error that the line item bid is lower than the daily budget, but it’s running now and we’re trying to make it stop, so this doesn’t really make any sense, right? We’re trying to make it stop spending, not launch anything. anyway here’s the call and response:
System tries to pause LineItem as expected
2015-09-12 15:32:48 -0700 - [INFO] - from com.boostable.integration.twitter.service.TwitterAdService$ in play-akka.actor.default-dispatcher-99
Update LineItem: twurl -H ads-api.twitter.com -d “paused=true” /0/accounts/plymv/line_items/2za5z
Twitter restricts pause due to following error
2015-09-12 15:32:49 -0700 - [INFO] - from com.boostable.integration.twitter.service.TwitterAdService$ in play-akka.actor.default-dispatcher-105
400: {“errors”:[{“code”:“INVALID”,“message”:“LineItem’s bid amount 3900000 exceeds its Campaign daily_budget_amount_local_micro: 2540000”,“attribute”:“daily_budget_amount_local_micro”}],“request”:{" params":{“line_item_id”:“2za5z”,“paused”:true,“account_id”:“plymv”}}}