The most likely case is that your .criteriaId array has not been initialized to any given size. Since (long)row["AWKGoogleID"] can represent at most one long you should initialize the adParamSelector.criteriaID array to size 1;
for...
adParamSelector.criteriaId = new long[1];
adParamSelector = new AdParamSelector();
adParamSelector.criteriaId[0] = (long)row["AWKGoogleID"];