index advertise function add