The Monkees, a Screen Gems Production, filmed outside the real life Screen Gems building in Hollywood. They used it again in a later episode, but covered the logo with a Police Station sign.
This shot below is also of a Screen Gems building, They both appear to be around the same location in Hollywood. The one below seems inside studio gates. I am not sure if they are different sides of a same building, or what, I'd be curious to know the history.