trans, matchedAds, baseEcpm, content);
trans.incr("ads:served:");
trans.zrevrange("idx:" + result.getValue1(), 0, 0);
List<Object> response = trans.exec();
long targetId = (Long)response.get(response.size() - 2);
Set<String> targetedAds = (Set<String>)response.get(response.size() - 1);
if (targetedAds.size() == 0){
return new Pair<Long,String>(null, null);