Meaning of "ad" in a pharmaceutical patent: "Acetic acid ad pH 5.0"
Most likely yes. In latin,(1) ad means "to, towards, until", like in "ad libitum" (aka ad lib) which means "keep going until I am satisfied", or "ad nauseam".

(1) Pharmaceuticals very often use latin.