Sometimes it is necessary to place brackets around a long summation or product. If I am forced to do so, do I place them around the whole summation or product, $$\left(\sum_{n=1}^N a_n + b\right), \;\text{and }\; \left(\prod_{n=1}^N\frac{1}{2}d_n\right),$$ or inside the summation or product $$\sum_{n=1}^N \left(a_n + b\right), \;\text{and } \;\prod_{n=1}^N\left(\frac{1}{2}d_n\right).$$ I've seen both in articles, but is one method preferred over the other?
Edit: I removed possible disambiguation