Patch that enables channel targeting using "source" parameter

megadix - June 13, 2009 - 15:40
Project:Openads
Version:6.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active
Description

Hello,
my name is Dimitri De Franciscis, I've worked on a version of Openads module that enables channel targeting via "source" parameter, see:
http://blog.openx.org/11/how-to-implement-easy-and-effective-ad-targetin...
http://tinyurl.com/m7rfwb

It works only with Javascript calls.

Changes from version 6.x-1.0:
- Configuration page: new "Channel targeting" fieldset, where admin can select which taxonomy vocabulary to use for targeting;
- Taxonomy term form: additional "Source" field to use when node has been assigned this term.

Example:
- create your channel on OpenX, specifying "source" parameters to use, e.g. "sport", "programming", etc.
- create "Site section" vocabulary, or use existing one;
- edit each term that needs to be targeted, e.g.: "Sports" -> "sport", "Programming" -> "programming", etc.
- you can use any "source" value, even not-existing ones;
- associate vocabulary to node types if necessary;
- when creating/updating nodes, assign a term of "Site section"

The generated Openx *javascript* calls will include "source=" parameter.

The module works fine, check it out!

AttachmentSize
openads_targeting_channel_by_source.patch36.91 KB

#1

megadix - June 15, 2009 - 20:02

I've created an archive, with pointer to openads project on drupal.org and a tutorial (italian language only, I'm working on english translation):
http://www.megadix.it/content/modulo-drupal-openx
http://tinyurl.com/lcv9zn

Hope this helps

#2

jaydub - June 15, 2009 - 20:06

thanks. I'll take a closer look when I get a chance. Do you know by chance if the targeting behaviour will work the same in OpenX 2.6 or 2.4 as those releases of OpenX are the ones that I am essentially targeting for support.

#3

megadix - June 17, 2009 - 07:58

Uhm, sorry but I had time to do very little testing:
- Drupal 6
- OpenX 2.8

I think that OpenX 2.6 should work fine anyway, but don't know about 2.4... do you think it is still widely used?

Anyway, I've translated my tutorial to english:
http://www.megadix.it/node/133

Enjoy it ;)

#4

jaydub - June 25, 2009 - 09:12

Thanks @megadix I haven't been able to get to look at your changes in detail yet. I will respond here when I am able to look over what you have done.

 
 

Drupal is a registered trademark of Dries Buytaert.