digineo/google_dfp — pull request #5 by qnm (2014-02-07 23:52:03+00:00)
Title: Adding suport for 'fallback' ads

Hi,

I've added support for an options parameter, accepting a key `:fallback`.

Passing in `fallback: :my_default_ads` will cause the dfp_tag to attempt to use this value when the `name` parameter cannot be found.

I find it useful for when I dynamically generate ad names - which don't always exist - and provide a 'house' fallback.

Hopefully this will be useful to someone else too.

Rob.