Skip to main content

DFP implementation for Django

Project description

Django Simple Autocomplete

App that provides tags to fetch Google DFP ads in a single request.

Overview

Google provides server side adds via its DFP service. This product is inspired by the code at http://support.google.com/dfp_sb/bin/answer.py?hl=en&answer=1651549. To keep the Django implementation as simple as possible this product changes the order of the Javascript from that page.

Installation

  1. Install or add django-dfp to your Python path.
  2. Add dfp to your INSTALLED_APPS setting.

Usage

Load dfp_tags in your template, eg. {% load dfp_tags %}. Call {% dfp_header %} once in the HEAD of your template.

An example tag is

{% dfp_tag “/1234/travel” 300 250 “interests” “sports” “music” %}

You may call as many tags as you want. See http://support.google.com/dfp_sb/bin/answer.py?hl=en&answer=1651549 for more examples.

Authors

Praekelt Foundation

  • Hedley Roos

Changelog

0.1.2

  1. Remove async script loading since it does not work.

0.1.1

  1. Allow variables to be passed as arguments to the template tag.

0.1

  1. First release.

Project details


Release history Release notifications

History Node

0.4.1

History Node

0.4

History Node

0.3.3

History Node

0.3.2

History Node

0.3.1

History Node

0.3

History Node

0.2.2

History Node

0.2.1

History Node

0.2

This version
History Node

0.1.2

History Node

0.1.1

History Node

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
django_dfp-0.1.2-py2.7.egg (5.7 kB) Copy SHA256 hash SHA256 Egg 2.7 Jan 31, 2013
django-dfp-0.1.2.tar.gz (5.3 kB) Copy SHA256 hash SHA256 Source None Jan 31, 2013

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page