hello,
I just replaced a row, that I used:
adGroup.createKeyword('[' + positiveKeywords[adGroup.getId()][i] + ']');
with this code:
var keywordOperation = adGroup.newKeywordBuilder()
.withText('[' + positiveKeywords[adGroup.getId()][i] + ']')
.build();
var keyword = keywordOperation.getResult();
i did not used parameters, that are allowed as well: