adzerk / adzerk-ios-sdk

Access Adzerk's ad serving APIs via iOS
https://www.adzerk.com
Other
9 stars 5 forks source link

Require at least one ad type per Placement #20

Closed karnowski closed 3 years ago

karnowski commented 3 years ago

Background

Although technically supported by the API, there is no valid reason that an integrating developer needs to make a request with zero ad types. That will always return an empty list of decisions. So to make it less likely that someone will accidentally programmatically send us an empty list, or just not know and send us an empty list, let's require at least one ad type. The Android and Swagger-generated SDKs already handle this case.

Acceptance Criteria