modify layout for ad