Hi Shethwa, thanks for all your help.

I have been successful with your help to upload and assign a sample of my 
data to ClientId and Campaign. However I was wondering is there a UserList 
size limit when applying to the api? With my whole dataset each 
UserList/CampaignId would contain about 3.6 million items in the list. I am 
noticing I am getting a 

; nested exception is: 
 javax.net.ssl.SSLException: Connection has been shutdown: javax.net.ssl.
SSLException: java.net.SocketException: Connection reset by peer: socket 
write error

Error. It seems to be failing here - 

    operand.setMembers(hashedEmails.toArray(new String[hashedEmails.size
()]));
    mutateMembersOperation.setOperand(operand);
    mutateMembersOperation.setOperator(Operator.ADD);


Here is my updated code, it does everything I want when I use a small 
dataset but when I try to use I can't get passed the adding the UserList to 
the ClientId. 

https://gist.github.com/neil90/f16b359d31f960bf2b10f1a839961a0e

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/d7248f58-8de0-4481-ad74-d123008fedc6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • Re: Adding a l... Kuppa . Janakiram
    • Re: Addin... 'Shwetha Vastrad (AdWords API Team)' via AdWords API Forum
      • Re: A... Kuppa . Janakiram
        • R... 'Shwetha Vastrad (AdWords API Team)' via AdWords API Forum
        • R... Kuppa . Janakiram
        • R... Kuppa . Janakiram
        • R... Kuppa . Janakiram
        • R... Kuppa . Janakiram
        • R... 'Shwetha Vastrad (AdWords API Team)' via AdWords API Forum
        • R... Kuppa . Janakiram
        • R... Kuppa . Janakiram
        • R... Kuppa . Janakiram
        • R... 'Shwetha Vastrad (AdWords API Team)' via AdWords API Forum
        • R... Kuppa . Janakiram
        • R... 'Nadine Sundquist (AdWords API Team)' via AdWords API Forum

Reply via email to