Arizona elects its judges in counties with fewer than 250,000 people (everywhere but Maricopa, Pima, and Pinal counties). It also has a Code of Judicial Conduct that restricts how both incumbent and prospective judges campaign for office.
What's prohibited? Try everything, as long as its campaign-related. More specifically, that'd be: giving speeches on behalf of others, endorsing others, soliciting money for others, campaigning for others, and a ban on solicitation of funds for your own campaign. Have no friends, or opinions, and pay out of pocket, essentially.
Randolph Wolfson, a 2008 candidate who lost, challenged these rules and lost in federal district court. However, the Ninth Circuit, in a 2-1 opinion, held that all five prohibitions were unconstitutional as applied to non-judge candidates. On Friday, the full Ninth Circuit granted an en banc rehearing of the case.