leichter / cwrx

(Old) Cinema6 API
0 stars 0 forks source link

Fix mapping budget + dailyLimit to beeswax #919

Closed leichter closed 8 years ago

leichter commented 8 years ago

When POSTing or PUTting beeswax external campaigns, the service should support budgetImpressions and dailyLimitImpressions properties, which would be the exact number of impressions to set in beeswax. These would come down from watchman.

This should also be supported alongside the existing dollar amounts; the service will return a 400 if both sets of props are defined. A client can switch between which props are used by setting one set to null (e.g. if campaign initially created with budget and dailyLimit, can set both of these to null and pass budgetImpressions and dailyLimitImpressions).

leichter commented 8 years ago

cc @minznerjosh

leichter commented 8 years ago

Closed by #927