danielbachhuber/Ad-Code-Manager — Issue #4: Abstract provider-specific code and data to a /providers/ folder
Author: danielbachhuber
Created: 2012-01-18 05:11:14+00:00
State: open

I thought of this as a way to abstract out the DFP-related code and also support other ad networks.

Basically, we'd have a file in a /providers/ directory for each ad network. This file would include all of the necessary defaults, configuration, whitelisted domains, etc. for that ad network. It would interact with the plugin by manipulating the filters we have set up. We'd make choosing your provider a code-level option or, if there were more than one, have a dropdown selector in the admin interface.