Shopping.com Partners Resource Center Forums

API 3 Forum

RSS Feed

Popular Products

  1. I've searched through each of the parameters for API 3 and did not see any parameter that retrieves popular products. The API 2 had several parmeters and methods for retriveing popular products.

    Can anyone help?

  2. Ryan2009-08-10T16:28:42

    Hello,

    API3 has the same methods for retrieving popular products, just with a slightly different syntax. See the 'revenue' sort types here:

    http://developer.shopping.com/docs/API_Use_Cases#22

    --ryan

  3. jkrus104142009-08-18T17:43:26

    I've looked at the link you provided and do not see exactly how to pull the popular products from API 3. Would you please provide more specific details as to how this can be done?

    Thanks

  4. Ryan2009-08-19T14:02:35

    As an example, to pull the top products (by revenue) across the sdc network within the 'Digital Cameras' category, you would use the query:

    http://sandbox.api.shopping.com/publisher/3.0/rest/GeneralSearch?apiKey=authorized-key&trackingId=7000610&categoryId=7185&productSortType=sdc-revenue&productSortOrder=desc

    --ryan

  5. jkrus104142009-08-19T14:57:34

    Is there a way to pull the top products WITHOUT specifying a category ID? I am seeking the top all-time top products acrossed all categories....


    Also what does it mean that these are "top products by revenue"? What is revenue? Are these the products that are most clicked on acrossed SDC ?

    Thanks for your help...

  6. Ryan2009-08-20T10:32:51

    You can specify categoryId=0 which is the top level category. Revenue means the amount of money generated by clicks to that product - either across the entire Shopping.com network ('sdc-revenue') or for your site specifically ('publisher-revenue').

    --ryan

  7. jkrus104142009-08-20T20:37:07

    Perfect this is working great. . API V3 is much easier, much more organized, and easier to code with then API V2 was.

    A few more questions.

    1. When you pull the top products using the SANDBOX, are these real-time top products or are these just placed in there for the purpose of the sandbox? Th reason why I ask is that eBay Sandbox results are always fake, place holders and the eBay production results are real-time. In SDC there is a tag that says that links won't be paid until you switch to production. I am guessing that the top products in SDC are real-time and will always be identical in both the SANDBOX and PRODUCTION environment with the ONLY acception that the links won't get paid, is this correct?

    2. The API documention requires that we display the SDC attrbution logo that is found within the delievered XML from the API. These XML tags were available in API V2 , but, I don't see the tags for this within the API V3 XML results. Right now I am using a saved SDC attrbution logo. Right now, the attrbution logo just links to the SDC home page with my link_id Is this ok? Please see my site at: www.product.info

  8. Ryan2009-08-21T10:03:13

    Hello,

    1. You are correct. Sandbox identical to production, the only difference is that clicks are not charged/paid for.

    2. All of the information you need for attribution is in the 'clientTracking' section. The URL for the logo is in the 'sourceURL' element, while the target for the link is in the 'hrefURL'. The reason it's in 'clientTracking' is because this doubles as our page impression tracking.

    --ryan

  9. raju2009-10-22T05:28:20

    http://sandbox.api.shopping.com/publisher/3.0/rest/GeneralSearch?apiKey=authorized-key&trackingId=7000610&categoryId=0&productSortType=sdc-revenue&productSortOrder=desc

    yes i have use this query but it will pull up only 5 most popular products,but mine recuirement to get some 50 popular products

    pls check most popular products in this link http://www.pricerunner.co.uk/ ,i need a query for most popular products like this.
    pls help me

  10. raju2009-10-22T05:38:09

    and also check popular searches in http://www.pricerunner.co.uk/, i need popular searches similar to this website
    pls help me to get a query for popular searches also

    thanks
    Ryan

  11. Mike Ashmead2009-10-22T14:04:53

    @raju, the maximum number of popular items is 10 just add "&numItems=10" to the end of your query.

    http://sandbox.api.shopping.com/publisher/3.0/rest/GeneralSearch?apiKey=authorized-key&trackingId=7000610&categoryId=0&productSortType=sdc-revenue&productSortOrder=desc&numItems=10

  12. raju2009-10-22T20:43:28

    thanks its working for 10 products,

    once again i need some 50 products

    and also check popular searches in http://www.pricerunner.co.uk/, i need popular searches similar to this website
    pls help me to get a query for popular searches also

  13. raju2009-10-22T21:11:28

    atleast pls send me a query to get top 50 products list in present month throughout the sdc-revenue

  14. raju2009-10-23T06:00:17

    i need apiquery for top 50 products in present month and list of popular searches,if i click on popular searches it will redirect to perticular product

    Popular searches in the sense,which product click more times it will come first in the list of popular search,like that i need some products in popular searches

    pls anyone can help me?

  15. Ryan2009-10-23T10:29:13

    Raju -

    There is no way to get 50 products. As Mike said above, you can only retrieve 10 products per category.

    --ryan

  16. raju2009-10-24T02:39:09

    Thanks its working fine
    one more solution

    i need to populate popular searches
    for ex:
    digitalcameras(20),WebCameras(10),KitchenCooktops(8)

    like these i need some list of popular searches which will come from API

    please send me a apiquery to retrieve the popular searches

  17. raju2009-10-25T20:36:57

    hi r u there?

  18. Ryan2009-11-09T16:30:39

    Hi raju -

    Shopping.com doesn't have a 'popular searches' query at this time.

    --ryan