In the case appending values to cell by inserting rows, when sheets.spreadsheets.values.append
is used, the values are appended to the next empty row of the last row. If you want to append values to between cells with values by inserting row, you can achieve it using sheets.spreadsheets.batchUpdate
.
When you use this, please use your access token.
POST https://sheets.googleapis.com/v4/spreadsheets/### spreadsheet ID ###:batchUpdate