change the layout of an ad