How Google Shopping Ads Work: Cracking the Algorithm