Im still having trouble with this.. and I believe its something really
basic and simple that im missing (like perhaps I could just keep
adding keywords to criterion) but cant seem to figure it out. please
help
I have tried the following (pseducode)
Dim KeyCollection(1000)
For each dbkeyword in DatabaseKeywordList
Dim NewKeyword1 As Keyword = New Keyword
NewKeyword1.text = dbkeyword.ToString()
NewKeyword1.adGroupId = 1234567
NewKeyword1.MaxCpc = 1000
NewKeyword1.type = Keyword.broad
...
Dim MyKeywords() As Criterion = criterionService.addCriteria(New
Criterion() {newKeyword1})
KeyCollection(x) = MyKeywords()
Next
' Then After the loop
criterionService.updateCriteria(KeyWordCollection)
I get errors like "Value of type '1-dimensional array of
com.google.api.adwords.v11.Criterion' cannot be converted to
'com.google.api.adwords.v11.Criterion'."