Should I filter polluted outside air as it comes through my window or clean it inside the room?
You have the right idea. Since you have the inverse of most situations, where your outdoor air is more polluted than indoors, you should filter incoming air. Then, since not all air will be cleaned (such as through doorways), an indoor air purifier is still a good idea.