Skip to main content
Published: October 22 2007, 3:35:00 PMUpdated: November 28 2020, 3:57:07 PM

 

Detailed Description

       LeadGeneration listing type is only available for selected Categories.

       You need to check GetCategoryFeatures API to find out if LeadGeneration listing type is supported for a given CategoryID. 

    <?xml version="1.0" encoding="UTF-8" ?> 

 <GetCategoryFeaturesResponse xmlns="urn:ebay:apis:eBLBaseComponents">
       ...
           <Category>
            <CategoryID>71484</CategoryID>
           <ListingDuration type="LeadGeneration">7</ListingDuration>
           <AdFormatEnabled>ClassifiedAdEnabled</AdFormatEnabled>
           <ExpressEnabled>false</ExpressEnabled>
           <SellerContactDetailsEnabled>true</SellerContactDetailsEnabled>
           <ClassifiedAdPaymentMethodEnabled>EnabledWithoutCheckout</ClassifiedAdPaymentMethodEnabled>
           <ClassifiedAdContactByPhoneEnabled>true</ClassifiedAdContactByPhoneEnabled>
     <ClassifiedAdContactByEmailEnabled>true</ClassifiedAdContactByEmailEnabled>
  </Category>
       ...
 </GetCategoryFeaturesResponse>
 
    If the  <AdFormatEnabled> flag is returned and its value is set to ClassifiedAdEnabled in the   <Category></Category>container for the given CategoryID,  then the listing can be added as LeadGeneration ListingType in that Category as below.
 
NOTE.   You must specify ListingSubtype2 when ListingType is set to LeadGeneration in your AddItem request.
 
  <?xml version="1.0" encoding="utf-8" ?>
    <VerifyAddItemRequest  xmlns="urn:ebay:apis:eBLBaseComponents">
        <DetailLevel>ReturnAll</DetailLevel>
        <Version>535</Version>  <Item>
    <Country>US</Country>
         <Currency>USD</Currency>
         <Description>Test. Do not bid</Description>
         <ListingDuration>Days_30</ListingDuration>
          <ListingType>LeadGeneration</ListingType>
        <Location>San Jose, CA</Location>
      <PaymentMethods>PaymentSeeDescription</PaymentMethods>
      <Quantity>1</Quantity>
          <RegionID>0</RegionID>
          <StartPrice>1</StartPrice>
          <Title>Test. Do not bid</Title>
             <PrimaryCategory>
                <CategoryID>71484</CategoryID>
     </PrimaryCategory>
       <ListingSubtype2>
             <![CDATA[ ClassifiedAd  ]]>
    </ListingSubtype2>
  </Item>
    <RequesterCredentials>
      <eBayAuthToken>YOUR TOKEN</eBayAuthToken>
    </RequesterCredentials>
  </VerifyAddItemRequest>
 

Additional Resources
 
 

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