reddit/reddit-plugin-adzerk — pull request #32 by bsimpson63 (2013-12-04 05:47:33+00:00)
Title: Delete fix

A few updates to fix issues from the promote.py cleanup.
* When an adzerk object is marked as `IsDeleted` it's not possible to retrieve it through the adzerk API. Don't delete adzerk objects.
* We're getting a lot of redundant items in `adzerk_q` because once a campaign has delivered in full we will update it to deactivate it. This update will continue to happen every hour triggered by `make_daily_promotions`. To prevent these extra updates I created a data attribute `PromoCampaign.adzerk_flight_overdelivered` which will be set to `True` once we've deactivated the campaign with adzerk.