Steam Library ➔ Right-Click "Call of Duty: Black Ops II" ➔ Properties ➔ Installed Files ➔ Verify integrity of game files
There are three primary causes for this: black ops 2 cannot create steam-api.dll