Skip to main content
Published: February 07 2007, 3:22:00 PMUpdated: August 23 2022, 6:54:36 AM

Why am I getting the following error in response to my AddItem call?


<Errors>

<ShortMessage>Your category selection is inconsistent.</ShortMessage>

<LongMessage>You may list an Ad-Format item only in supported categories.</LongMessage>

<ErrorCode>420</ErrorCode>

<SeverityCode>Error</SeverityCode>

<ErrorClassification>RequestError</ErrorClassification>

</Errors>

How can I list AdType items?

 

Summary

The AdType ListingType is no longer used to list items. This specifically impacts Real Estate categories where the AdType listing format was popular.
The new way to list these items is to use the LeadGeneration ListingType, and the ClassifiedAd ListingSubtype2.
Here is an example of the old way and the new way to list items that are traditionally known as Ad format (the ItemSpecifics details have been left out for readability):
 

  • Old
        <?xml version="1.0" encoding="utf-8"?>
        <AddItemRequest xmlns="urn:ebay:apis:eBLBaseComponents">
             <Version>1271</Version>
             <ErrorLanguage>en_US</ErrorLanguage>
             <WarningLevel>High</WarningLevel>
             <Item>
                  <AttributeSetArray>
                       ...
                  </AttributeSetArray>
                  <Country>US</Country>
                  <Currency>USD</Currency>
                  <Description>Ad Format Item.</Description>
                  <ListingDuration>Days_30</ListingDuration>
                  <Location>San Jose, CA</Location>
                  <ListingType>AdType</ListingType>
                  <PrimaryCategory>
                       <CategoryID>12605</CategoryID>
                  </PrimaryCategory>
                  <Quantity>1</Quantity>
                  <StartPrice>111111</StartPrice>
                  <ShippingTermsInDescription>True</ShippingTermsInDescription>
                  <Title>Ad Format Item</Title>
                  <PictureDetails>
                       <PictureURL><![CDATA[http://thumbs.ebaystatic.com/pict/41007087008080_0.jpg]]></PictureURL>
                       <GalleryType>Featured</GalleryType>
                  </PictureDetails>
             </Item>
             <RequesterCredentials>
                  <eBayAuthToken>token</eBayAuthToken>
             </RequesterCredentials>
        </AddItemRequest>
  • New
        <?xml version="1.0" encoding="utf-8"?>
        <AddItemRequest xmlns="urn:ebay:apis:eBLBaseComponents">
             <Version>1271</Version>
             <ErrorLanguage>en_US</ErrorLanguage>
             <WarningLevel>High</WarningLevel>
             <Item>
                  <AttributeSetArray>
                       ...
                  </AttributeSetArray>
                  <Country>US</Country>
                  <Currency>USD</Currency>
                  <Description>Ad Format Item.</Description>
                  <ListingDuration>Days_30</ListingDuration>
                  <Location>San Jose, CA</Location>
                  <ListingType>LeadGeneration</ListingType>
                  <ListingSubtype2>ClassifiedAd</ListingSubtype2>
                  <PrimaryCategory>
                       <CategoryID>12605</CategoryID>
                  </PrimaryCategory>
                  <Quantity>1</Quantity>
                  <StartPrice>111111</StartPrice>
                  <ShippingTermsInDescription>True</ShippingTermsInDescription>
                  <Title>Ad Format Item</Title>
                  <PictureDetails>
                       <PictureURL><![CDATA[http://thumbs.ebaystatic.com/pict/41007087008080_0.jpg]]></PictureURL>
                       <GalleryType>None</GalleryType>
                  </PictureDetails>
             </Item>
             <RequesterCredentials>
                  <eBayAuthToken>token</eBayAuthToken>
             </RequesterCredentials>
        </AddItemRequest>

 



Additional Resources

 

Attachments
How well did this answer your question?
Answers others found helpful

Got thoughts? Click the feedback button – your insights help us improve!