modify ad layout.