The word gadget was "invented," as much as any word is invented, around 1884-85 in New York City.
The grand unveiling of the Statue of Liberty was approaching, and Gaget, Gauthier & Cie, the company behind the casting of the monument wanted some PR. https://anakmuar.com/tag/info-loker-bekasi/