function myFunction() { id="16f--0fdR7wL0yPMG8EORs6xqEc1r3HWhyJy1W3vzNxo"; var ex1 = SpreadsheetApp.openById(id); var sheet = ex1.getSheetByName("data"); sheet.insertImage("https://media3.giphy.com/media/YW3obh7zZ4Rj2/200_s.gif", 1, 1); }