- OpenX Community Forums

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Adsense Sharing With Openads?, How to integrate adsense rev share with PAN
ajack
post Feb 19 2007, 12:00 AM
Post #1


Beginner
*

Group: Members
Posts: 8
Joined: 18-February 07
Member No.: 15,764



I would like to use Openads 2.0.x to manage my Adsense Ads, but at the same time, I am planning to offer Adsense revenue share to my community members.

If I am not using Openads/PAN, on the pages with rev share, I can easily write some PHP code to grab the Adsense publisher ID from the member record and use that when rendering the Google Adsense javascript code in PHP.... or I can grab one of the many free plug-ins that exist for WordPress or PhpBB and tweak that code (if allowed).

But I would rather centralize my ad management with Openads/PAN, but if I do that, I need to be able to pass the member's Adsense Publisher ID to Openads/PAN which in turn will use it to render the Google Adsense Javascript.

I went through the doc but did not see anything that would allow me to do that, so I am wondering if someone has already solved the problem?

Note: I realize that I can create a banner or campaign for each of my members, but that is not feasible, I need something automated, where community members would enter their Adsense Publisher ID in their profile, I develop the logic to know whose Publisher ID is to be used at a given page at a given time, and pass that information to the ad server.

I was thinking that it might be possible with the Google Adsense code defined in PAN with the Publisher ID still a Javascript variable, and that Javascript variable would be set at the page level, in PHP. I think that would only work in local involcation mode, and I am looking for remote invocation.

Any help appreciated.

Ajack
Go to the top of the page
 
+Quote Post
echamberlain
post Feb 19 2007, 12:54 AM
Post #2


Beginner
*

Group: Members
Posts: 5
Joined: 25-August 06
Member No.: 12,411



I'd use XML-RPC remote invocation to serve the ads to the webserver.

Then setup two sets of AdSense HTML banner ads, one with your AdSense ID hard coded and the other one with php code that will look up the member's AdSense ID.

Then when your ad is served nothing extra happens. When the revenue sharing ad is served, the webserver will execute the php code inside the html banner, lookup the member's AdSense ID and insert it into the javascript for delivery.
Go to the top of the page
 
+Quote Post
scott_switzer
post Feb 19 2007, 12:54 PM
Post #3


Master
Group Icon

Group: OpenX Staff
Posts: 574
Joined: 20-January 03
From: New York City, USA
Member No.: 3



Another thing you could do if you want some additional integration - use Javascript to pull the PublisherID from the Adsense ad, and store it in the 'source' field in Openads. Then you can do some reporting on it.
Go to the top of the page
 
+Quote Post
ajack
post Feb 20 2007, 12:47 AM
Post #4


Beginner
*

Group: Members
Posts: 8
Joined: 18-February 07
Member No.: 15,764



Two great suggestions, thanks!

Ajack
Go to the top of the page
 
+Quote Post
mrwizard
post Feb 23 2008, 12:13 AM
Post #5


Beginner
*

Group: Members
Posts: 1
Joined: 22-February 08
Member No.: 20,327



This is exactly what I am looking for. Is there a mod for this or can anyone help me figure this out. Ajack, did you get this working on your site?

If you can help, please post here so I wil get a notification.
Go to the top of the page
 
+Quote Post
openadsmod
post Feb 23 2008, 08:36 AM
Post #6


Advanced Member
***

Group: Members
Posts: 96
Joined: 17-January 08
From: Bangalore
Member No.: 19,803



QUOTE (mrwizard @ Feb 23 2008, 12:13 AM) *
This is exactly what I am looking for. Is there a mod for this or can anyone help me figure this out. Ajack, did you get this working on your site?

If you can help, please post here so I wil get a notification.


Hi mrwizard i read your full requirement please contact immediately info@openadsmods.com. We have good experience in openads and we have done many mods, all feature requests in openads. we have many clients for openads around the world.
Also visit our site www.openadsmods.com
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

 

Locations of visitors to this page