Closed (fixed)
Project:
Advertisement
Version:
6.x-2.1
Component:
ad module
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
11 Nov 2009 at 16:21 UTC
Updated:
7 Dec 2009 at 04:20 UTC
As far as I can tell, to use the remote function, you need to copy and paste those snippets - a laborious issue if you expect to have many sites and ad groups. Is there a way to generate the snippets on remote sites? Then a block could simply create the snippet on the block hook. Generally we're going to have a one-to-one correspondence between remote sites and ad groups, so a site will only need to know which group it is accessing ads from.
Is it as simple as pulling the remote ads form out along with its submission handler?
Comments
Comment #1
jeremy commentedIf you want to do this programatically with a custom module, take a look at the ad_remote module. There's not much happening there -- to find where the actual snippet is generated search for the comment that says, "build a snippet to display on the remote web page.
The ad_remote module is really intended as a proof of concept, there's no intention to create an API to automate this any further out of the box.