Any chance there could be a feature added to rotate YPN ads with this script? The idea is that you can set what percentage of the time to rotate between Adsense and YPN ads. You may even turn one or the other off.

YPN works much the same as Adsense so I don't think this would be too hard to accomplish.

What do you think?

Comments

kbahey’s picture

I have applied for the YPN program a long time ago.

However, the program is only available to those in the US only at present, and hence I still do not have an account.

It should not be hard to do, but there is no way I can test it at present.

hadishon’s picture

I have a YPN account. Is there anything I can do to help?

kbahey’s picture

Are you a PHP coder who knows Drupal?

mcurry’s picture

I can help. I need this feature!

I have a YPN account, and have worked on Drupal modules (I'm currently the maintainer of the directory module). Let me know what I can do to assist. I'll take a look at the module source when I have some time.

Shall I assign this issue to my user id?

Michael Curry
http://exodusdev.com

darren oh’s picture

Have a look at this handbook page: http://drupal.org/node/102183

The Adsense module would be an excellent framework for all kinds of ads, but if it's going to be used for other ad programs, it should be split into an API and an Adsense plugin.

mcurry’s picture

The Adsense module would be an excellent framework for all kinds of ads, but if it's going to be used for other ad programs, it should be split into an API and an Adsense plugin.

Excellent point, I'll keep it in mind.

summit’s picture

Hi,
Any progress in this field?

greetings,
Martijn

psicomante’s picture

+1 to this feature.

I think a optimal solution is like video_cck module (http://drupal.org/project/video_cck). In the folder "providers" there are some *.inc files that implements some used functions by the module. If you like that way, i think Adsense module would be great ;)

kbahey’s picture

Version: 4.7.x-1.x-dev » 5.x-1.x-dev

Well, the situation is still the same. YPN is not available outside the USA. I met a Yahoo guy at Drupal Camp Toronto a few weeks back and he did not have a date when it would be available. So I cannot use it for my own sites.

So, if someone has a real need for this, and willing to fund it and supply a test account (or borrowed account for a while), let me know.

jcnventura’s picture

Status: Active » Closed (won't fix)

The ad module would be the appropriate handler for such a rotation.

João