enabled gnr code for showing ad