{ "info": { "author": "Jason Christa", "author_email": "jason@zeitcode.com", "bugtrack_url": null, "classifiers": [ "Environment :: Web Environment", "Framework :: Django", "License :: OSI Approved :: BSD License", "Programming Language :: Python" ], "description": "Django Google DFP\n=======================\n\nDjango Google DFP provides template tags for inserting [Google DFP](http://www.google.com/dfp) ad tags.\n\nInstallation\n------------\n\nRun `pip install django-google-dfp`\n\nAdd `google_dpf` to your `INSTALLED_APPS` setting:\n\n```python\nINSTALLED_APPS = (\n ...\n 'google_dfp',\n)\n```\n\nTemplate Tags\n-------------\n\n###ad_header\nInserts the JavaScript for serving Google DFP ads. \n*This must go inside the head*\n\n\n###ad_tag\nInserts the code where the ad will display. It takes an ad unit as an argument. I needs to be in the format `[identifier]_[width]x[height]`.\n\n\n```html\n{% load dfp_tags %}\n\n \n My Site\n {% ad_header %}\n \n \n

My Site

\n {% ad_tag 'MYSITE_728x90' %}\n

My site's content.

\n {% ad_tag 'MYSITE_300x200' %}\n \n\n```", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://bitbucket.org/nextscreenlabs/django-google-dfp", "keywords": null, "license": "UNKNOWN", "maintainer": null, "maintainer_email": null, "name": "django-google-dfp", "package_url": "https://pypi.org/project/django-google-dfp/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django-google-dfp/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://bitbucket.org/nextscreenlabs/django-google-dfp" }, "release_url": "https://pypi.org/project/django-google-dfp/0.1a2/", "requires_dist": null, "requires_python": null, "summary": "Template tags for Google DFP.", "version": "0.1a2" }, "last_serial": 789763, "releases": { "0.1a2": [ { "comment_text": "", "digests": { "md5": "39cb49820fa36be117b0644d1d68d1d7", "sha256": "427d5b0f72988cdfe1ac923e5cc0fd027eb4178b8aac07e050d53f24bd9c2ba6" }, "downloads": -1, "filename": "django-google-dfp-0.1a2.zip", "has_sig": false, "md5_digest": "39cb49820fa36be117b0644d1d68d1d7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7617, "upload_time": "2012-11-02T21:34:32", "url": "https://files.pythonhosted.org/packages/82/e4/cad4d79f60acc585dae392136eae53fffcea3114cb0515b3095d06948982/django-google-dfp-0.1a2.zip" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "39cb49820fa36be117b0644d1d68d1d7", "sha256": "427d5b0f72988cdfe1ac923e5cc0fd027eb4178b8aac07e050d53f24bd9c2ba6" }, "downloads": -1, "filename": "django-google-dfp-0.1a2.zip", "has_sig": false, "md5_digest": "39cb49820fa36be117b0644d1d68d1d7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7617, "upload_time": "2012-11-02T21:34:32", "url": "https://files.pythonhosted.org/packages/82/e4/cad4d79f60acc585dae392136eae53fffcea3114cb0515b3095d06948982/django-google-dfp-0.1a2.zip" } ] }