Fix AdInfo weight get/put.