AdConnect uses an XML format for upload and download of ad content. There are several required fields in the XML data, and a number of optional ones. This format builds on the AdEx DTD defined by the NAA.

Required Elements:
<acfeed>
Outermost tag defines the contents is an AdConnect Feed
<head>
Define header identification information
<publication-info>
Defines the source of the Feed
<publisher-id>
Publisher's identification: ID number and text
<body>
Contents of the Feed
<adlist>
List of classified ads
<ad>
Define a classified ad: ID is your identifier
<link>
Text (max 30 characters) and URL for defining a link in the ad's display
<liner>
A continuation of the ad's text beyond the link text (max 100 characters)
<category>
The AdConnect category number and title.

Optional Elements:
<location>
Generally a city name - pol = political boundary, ac = telephone area code.
It is highly recommended to include at least a city name and area code.
<price>
Ad's price - will default to unused.
<run>
Ad's start and end date/time. Or, the number of weeks to run the ad, starting today. Ads will default to 1 week, and will run for at least 1 week rounded up to the next highest week.

Example:

<?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>
<!DOCTYPE acfeed SYSTEM "http://adconnect.com/ACFeed001.dtd">
<acfeed>
  <head>
    <transaction-code t-c="new"/>
    <publication-info>
      <publisher-id id="1000">AdConnect</publisher-id>
    </publication-info>
    <ad-info>
      <ad-type type-id="electronic"/>
    </ad-info>
    <publication-info>
      <run-info>
        <start-date-time norm="2003-08-09 17:21:48"/>
        <end-date-time norm="2003-09-06 17:21:48"/>
      </run-info>
    </publication-info>
  </head>
  <body>
    <adlist type="new">
      <ad id="966176">
        <link text="Ink Jet Cartridges" uri="http://aj.adjungle.com/ac/acc?q=a966176/c0/p0"/>
        <liner text="Why Pay High Prices for Ink Jet Cartridges??????"/>
        <category num="892">Printers</category>
        <location pol="Delaware" ac="302">Claymont</location>
        <run start="2003-07-23 20:20:06" end="2003-08-23 20:20:06"/>
      </ad>
      <ad id="1463087">
        <link text="Memory Upgrades" uri="http://aj.adjungle.com/ac/acc?q=a1463087/c0/p0"/>
        <liner text="Memory upgrades for desktops, notebooks, servers, and printers"/>
        <category num="883">Memory</category>
        <price>23.99</price>
        <location pol="New Jersey" ac="908">Elizabeth</location>
        <run>4</run>
      </ad>
    </adlist>
  </body>
</acfeed>