Required Elements:
adid |
Ad Identifier - a value you assign (i.e. a number) |
linktext |
Text of ad (max 30 characters) that will become a link to the ad's URL |
linkurl |
Destination URL when someone clicks on the ad |
linertext |
A continuation of the ad's text beyond the link text (max 90 characters) |
category |
The AdConnect category number |
loczip |
US zipcode where the ad is located. This overrides locpol, loccity and locac, so you can just supply loczip and not the other three. |
locpol |
Political boundary (i.e. State) where the ad is located |
loccity |
City where the ad is located |
locac |
Telephone area code where the ad is located |
start |
Start date for the ad's run |
end |
End date for the ad's run. Defaults to 1 week, and ad will run for at least 1 week rounded up to the next highest week. |
Test Mode:
Add the parameter "test=true" as in
http://adconnect.com/feed/connect?test=true&format=1....
Example 1:
adid=12345
linktext=1998 BMW 528i
linkurl=http://ep.com/js/mi/12345.html
linertext=37K miles, silver, black leather, premium package
category=30
loczip=90277
start=2003-12-1
end=2003-12-29
To send this ad to AdConnect, an authorized server can use an HTTP GET or POST request to the URL:
http://adconnect.com/feed/connect
With the additional parameters of format and bulk, the ad name-value pair information is placed in the data parameter.
An HTTP GET request would have to be URL encoded as in:
http://adconnect.com/feed/connect?format=1&bulk=true&data=adid=1234%0Dlinktext=1998%20BMW%20528i%0Dlinkurl=http://ep.com/js/mi/12345.html%0Dlinertext=37K%20miles,%20silver,%20,black%20leather,%20premium%20package%0Dcategory=30%0Dloczip=90277%0Dstart=2003-12-1%0Dend=2003-12-29
Example 2:
adid=12345
linktext=1998 BMW 528i
linkurl=http://ep.com/js/mi/12345.html
linertext=37K miles, silver, black leather, premium package
category=30
locpol=California
loccity=Redondo Beach
locac=310
start=2003-12-1
end=2003-12-29
To send this ad to AdConnect, an authorized server can use an HTTP GET or POST request to the URL:
http://adconnect.com/feed/connect
With the additional parameters of format and bulk, the ad name-value pair information is placed in the data parameter.
An HTTP GET request would have to be URL encoded as in:
http://adconnect.com/feed/connect?format=1&bulk=true&data=adid=1234%0Dlinktext=1998%20BMW%20528i%0Dlinkurl=http://ep.com/js/mi/12345.html%0Dlinertext=37K%20miles,%20silver,%20,black%20leather,%20premium%20package%0Dcategory=30%0Dlocpol=California%0Dloccity=Redondo%20Beach%0Dlocac=310%0Dstart=2003-12-1%0Dend=2003-12-29