Plasmonic metasurfaces with tailored linear and nonlinear building blocks