separating ad code into templates. Separate ads per shelf