updated plugin to check if constants are defined so as to not blow up

git-svn-id: https://plugins.svn.wordpress.org/facebook-ads/trunk@837846 b8457f37-d9ea-0310-8a92-e5e31aec5664