Hi Shwetha, Thanks for all your help in modifying my code to work.However I was wondering if the size or time it takes to do my entire upload is a problem? When I was testing i was using a small sample set however using my entire CRM email list(Using customized table) I create groups of email uploads based on combination of CLientID/CampaignID then upload to CLientID then CampaignID, however each grouping is 3.6 million rows(Total of about 19 groupings 3.6 mill emails each). And from the API documentation I read you can only have 1mil max UserList size, so I chunk it with groupings of 250k or 500k emails. However when I run my script I get a myriad of errors., It will go through a portion of them and will give me a XML_STREAM_EXC error or null on the System.out.println in this code
for (UserList userListResult : mutateMembersResult.getUserLists()) { System.out.printf("%d email addresses were uploaded to user list with name '%s' and ID %d " + "and are scheduled for review.%n", hashedEmails.size(), userListResult.getName(), userListResult. getId()); } cnt += 1; It seems like it times out or the size/overall upload amount is to much. I also have received SSL Exception as well saying socket peer reset. Any Ideas ? Here is my source code - https://gist.github.com/neil90/38eedae265004df6e47d6d27e9b53465 On Thursday, March 16, 2017 at 7:27:50 AM UTC-7, Shwetha Vastrad (AdWords API Team) wrote: > > Hi, > > Thank you for sending over the complete Java code. I took a look and saw a > couple of errors: > > 1. Change the import here > > <https://gist.github.com/neil90/e17cb2572d9b350d60b19cb7bf229c07#file-uploademail-java-L4> > to > this one instead: import > com.google.api.ads.adwords.axis.v201609.cm.CampaignCriterion; > 2. Change the variable "operation" here > > <https://gist.github.com/neil90/e17cb2572d9b350d60b19cb7bf229c07#file-uploademail-java-L206> > (which > is an instance of UserListOperation) to "operation_camp" (which is an > instance of CampaignCriterionOperation). > > Please try this out and let me know if it works. > > Regards, > Shwetha, AdWords API Team. > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/ https://plus.google.com/+GoogleAdsDevelopers/posts =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To post to this group, send email to adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en --- You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. Visit this group at https://groups.google.com/group/adwords-api. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/61a00638-da83-4d34-a5d3-2615527b9637%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.