in src/main/scala/com/gu/commercial/display/AdTargetParam.scala [97:109]
def fromItemId(id: String): Option[KeywordParam] = MultipleValues.fromItemId(id) map (KeywordParam(_))
def from(section: Section): Option[KeywordParam] = MultipleValues.fromItemId(section.id) map (KeywordParam(_))
def from(tag: Tag): Option[KeywordParam] =
if (tag.`type` == Keyword) MultipleValues.fromItemId(tag.id) map (KeywordParam(_))
else None
def fromPath(path: String): Option[KeywordParam] =
MultipleValues.fromRawValues(Set(path.stripPrefix("/"))) map (KeywordParam(_))
}
case class ObserverParam(value: SingleValue) extends AdTargetParam {