-
Notifications
You must be signed in to change notification settings - Fork 359
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to submit empty urlList in SET request #45
Comments
Instead of setting null, you should set an empty list, like new UrlList(new On Tue, May 12, 2015 at 3:17 PM, mmATX notifications@github.com wrote:
|
Sorry, I wasn't clear enough. I have tried: bagc.setFinalMobileUrls(new UrlList(new String[]{})); and out of desperation: UrlList ul = new UrlList();
ul.setUrls(new String[0]);
bagc.setFinalMobileUrls(ul); UrlList ul = new UrlList();
ul.setUrls(null);
bagc.setFinalMobileUrls(ul); and receive UrlError.MISSING_PROTOCOL for all |
Hi, I just verified that the following approach successfully clears finalMobileUrls for a keyword:
This produced the following operations XML (which succeeded):
Could you give that approach a try? Thanks |
Yes - that is giving me the right xml. Thanks a bunch! |
Hey guys -
I'm trying to set a tracking template and finalURL on a keyword. I explicitly set the finalMobileUrls to null, yet when I attempt the update, I get the UrlError.MISSING_PROTOCOL for the non-existent mobile url. This is using the v201502 java client (googleads-java-lib-v1.38.0, specifically).
The code:
And the resulting soap request:
And the response:
I then tried every variant I could come up with of setting the urlList to null, new UrlList(new String[]), & new UrlList(null), etc & regardless of what I tried, the soap message contains the same url chunk:
& they all return UrlError.MISSING_PROTOCOL
Not surprisingly, it happens for both finalUrls and finalMobileUrls
-mm
The text was updated successfully, but these errors were encountered: