Two 20-year-old Gilbert men were arrested in an undercover operation after an advertisement was posted on Craigslist to trade marijuana for an Apple iPad, officials said.

In the posting, Jacob Walker reportedly wanted to trade his Apple iPod Touch and what he called "a quarter of dank blue dream straight outta Cali" for an Apple iPad, Gilbert police spokesman Sgt. Mark Marino said.

Police were notified about the advertisement by a citizen on the department tip line, Marino said. Detectives replied to the posting and set up a meeting with Walker at Val Vista Drive and Warner Road around 3 p.m.

According to Marino, Walker arrived at the scene with Joseph Velarde and gave the marijuana to an undercover detective.

Velarde also had narcotics in his possession, police said.

Walker and Velarde were arrested in connection with the conspiracy to sell marijuana.