Re: UrlError.MISSING_PROTOCOL when no url specified

2015-05-12 Thread mm
Just to follow up, it turns out the correct usage is: bagc.setFinalMobileUrls(new UrlList()); On Tuesday, May 12, 2015 at 8:40:10 AM UTC-5, Michael Cloonan (AdWords API Team) wrote: > > Hello, > > After a little testing with another client library, I believe the format > the XML should take to

Re: UrlError.MISSING_PROTOCOL when no url specified

2015-05-12 Thread Michael Cloonan (AdWords API Team)
Hello, After a little testing with another client library, I believe the format the XML should take to "un-set" this field is: This may be a bug with the Java client library. Please file a bug at their issue tracker with details about

Re: UrlError.MISSING_PROTOCOL when no url specified

2015-05-11 Thread mm
Alas, that doesn't work, either, Michael. I tried every permutation I could come up with: bagc.setFinalMobileUrls(null); bagc.setFinalMobileUrls(new UrlList()); bagc.setFinalMobileUrls(new UrlList(null)); bagc.setFinalMobileUrls(new UrlList()); bagc.getFinalMobileUrls().setUrls(null); bagc.set

Re: UrlError.MISSING_PROTOCOL when no url specified

2015-05-11 Thread mm
Ah -duh! - don't know why I didn't try that... Thanks, Michael! On Friday, May 8, 2015 at 12:02:55 PM UTC-5, Michael Cloonan (AdWords API Team) wrote: > > Hello, > > I believe that you need a UrlList with no URLs, rather than setting to > null directly. > > Try changing this line: > bagc.setFin

Re: UrlError.MISSING_PROTOCOL when no url specified

2015-05-08 Thread Michael Cloonan (AdWords API Team)
Hello, I believe that you need a UrlList with no URLs, rather than setting to null directly. Try changing this line: bagc.setFinalMobileUrls(null); To this: bagc.setFinalMobileUrls(new UrlList(new String[])); If this still fails, let me know and I can look into it further. Regards, Mike, AdWo