AdGenerator generalized to handle data object
Merge pull request #28 from pshatara/master

AdGenerator generalized to handle data object