Building and debugging ads