Two-time Grand Slam doubles champion Max Purcell of Australia has accepted an 18-month ban after breaching anti-doping rules.