• Register

ACTIVE Network API Forums

API Forum

RSS Feed

Events Missing from Search - channels?

    • MaryF
    • Topic created 12 years ago

    Here is an example of a missing event.

    The following event: http://www.active.com/running-event/stuart-fl/junior-league-of-martin-countys-4th-annual-rudolphs-reindeer-dash-5k-2012?ltcmp=141770&ltclickid=10_64346238_5c5db36f-58e9-42c7-8b3c-3d93dbdb78f7&1=running&2=stuart-fl&3=junior-league-of-martin-countys-4th-annual-rudolphs-reindeer-dash-5k-2012&cmp=10-2

    does now show up in the following search: http://api.amp.active.com/search-all?v=xml&num=100&m=meta:mediaType=Event+meta:channel=running+OR+meta:channel=triathlon+OR+meta:channel=duathlon+meta:startDate:daterange:12%2f8%2f2012..12%2f8%2f2012&l=FL&api_key=p67tv5bbfwawgvj5st4mjuze

    and I cannot figure out why.

    Am I using channels correctly? I reviewed the list of valid channels in the documentation. Have they changed at all?

    It does show up if I take the channels out, and use a keyword instead.

    I am afraid that our normal search, with channels, is missing many listings. We come across ones like this one by accident, and wonder how many others are not showing up.

    Message edited by MaryF 12 years ago

  1. jarredd12 years ago

    Hi Mary,

    It looks like the problem with the search query is the mediatype filter.

    http://api.amp.active.com/search-all?v=xml&num=100&m=meta:mediaType=Event+meta:channel=running+OR+meta:channel=triathlon+OR+meta:channel=duathlon+meta:startDate:daterange:12%2f8%2f2012..12%2f8%2f2012&l=FL&api_key=p67tv5bbfwawgvj5st4mjuze

    The event you are searching for does not have a mediatype “Event”. It has a mediatype “Event\Road Race”. So you can either remove the mediatype filter, or use the splitMediaType filter such as below:

    http://api.amp.active.com/search-all?v=xml&num=100&m=meta:splitMediaType=Event+meta:channel=running+OR+meta:channel=triathlon+OR+meta:channel=duathlon+meta:startDate:daterange:12%2f8%2f2012..12%2f8%2f2012&l=FL&api_key=p67tv5bbfwawgvj5st4mjuze

    Let me know if this works.

    Best,

    Jarred

    Technical Account Manager, ACTIVE Network

  2. MaryF12 years ago

    I will try that today and let you know.

    Can you tell me what the difference is between mediaType and splitMediaType?

  3. MaryF12 years ago

    It appears to be working. Some of the missing ones are showing up now. It is difficult to tell tho, cuz we often don't know things are missing, because, well, they're missing. The only way we know, is if we stumble across the listing on the organizer's website. We'll keep an eye on it.

[ Page 1 of 1 ]