The Home Depot Inc. has a unique customer base and tailors its retail media network to maximize brands’ ability to target it.