The word for a "magazine containing solely ads"
I've seen plenty of these called shoppers. The word often shows up in the name of the newspaper or magazine. They may contain nominal 'news' items but their focus is advertising. Here's one example, The Monadnock Shopper News