Set asset url and type.