In the plane of the paper itself. The axis of the compass is vertical and the field due to the conductor is also vertical. It could result in a dip of compass needle which is not possible in this case (dips result only if the axis of the compass is horizontal). The deflection is maximum when the conductor through A is perpendicular to the plane of the paper and the field due to it is maximum in the plane of the paper.