Check if advertisement is being edited.