question

marclayto83 avatar image
0 Likes"
marclayto83 asked

Unexpected Results from FindingService API findItemsByKeywords operation

Can anyone help me understand why I get results for pajamas when using the keyword "couch" with the FindingService API findItemsByKeywords operation? This is only when I limit the maxDistance to a lower number like 25. If the maxDistance is 100 I don't get any pajama results. I've not been able to recreate the issue directly on the eBay website using various search filters. This returns results for couches and sofas, which I want, but also for pajamas, which I do not want. <?xml version="1.0" encoding="UTF-8"?> <findItemsByKeywordsRequest xmlns=" http://www.ebay.com/marketplace/search/v1/services">; <paginationInput> <entriesPerPage>100</entriesPerPage> </paginationInput> <keywords>couch</keywords> <buyerPostalCode>06511</buyerPostalCode> <itemFilter> <name>Condition</name> <value>Used</value> </itemFilter> <itemFilter> <name>MaxDistance</name> <value>25</value> </itemFilter> </findItemsByKeywordsRequest> I'm using the API Explorer here to troubleshoot: https://developer.ebay.com/DevZone/build-test/test-tool/default.aspx?index=0&api=finding&call=findItemsByKeywords&variation=xml Thank you!
findingservice
10 |600 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

· Write an Answer
clickimusprime avatar image
1 Like"
clickimusprime answered
I think you misidentified the issue. The pajamas entries appear with other restrictions, such as price. So it's probably just that the distance filter is limiting the number of records and the local pajama records then appear at the top where you're more likely to see them. You will see similar results if you filter on price 12.50-13.00 instead. The records for pants/pajamas/sweats that I see all contain the word "lounge". Some records also do not contain "couch", but "sofa" instead. So I'll speculate eBay is doing some keyword expansion of "couch" to include "sofa" and "lounge", and that is dragging in other items. Try search for "couch" including the double quotes. That will force an exact phrase match and drop out all the items included for related words. More info on keyword expansion can be found here: https://developer.ebay.com/DevZone/finding/Concepts/FindingAPIGuide.html#usekeywords
10 |600 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.