Re: javax.xml.rpc.ServiceException: Arguments to addParameter(String, String) cannot be null

2012-03-23 Thread AdWordsAPIAdvisor
inal Message Follows: From: Daniel Marshall Subject: Re: javax.xml.rpc.ServiceException: Arguments to addParameter(String, String) cannot be null Date: Wed, 21 Mar 2012 03:23:23 -0700 (PDT) > Another question, is there any special role that has to be granted for > account

Re: javax.xml.rpc.ServiceException: Arguments to addParameter(String, String) cannot be null

2012-03-21 Thread Daniel Marshall
Another question, is there any special role that has to be granted for account that we used to fetch the data from this API? i tried 2 account already (but they only allowed for viewing purpose) and both seems unable to fetch anything, when why tried GetAllCampaigns.java and i commented out cl

Re: javax.xml.rpc.ServiceException: Arguments to addParameter(String, String) cannot be null

2012-03-15 Thread Kevin Winter
Hi, The API should return any campaigns belonging to the account specified by clientId, clientCustomerId. I suggest changing the key to clientCustomerId to rule that out as a cause. Please log into the adwords UI (assuming useSandbox=false for your last run) to doublecheck there are campaign

Re: javax.xml.rpc.ServiceException: Arguments to addParameter(String, String) cannot be null

2012-03-15 Thread Daniel Marshall
how do i find out either i'm qualify for free API units or not? i've tried to remove single quotes on the adwords.properties files, however surprisingly the return is 'No campaigns were found.' was the API only return the campaign that created by the login id in the properties? -- =~=~=~=~=~=

Re: javax.xml.rpc.ServiceException: Arguments to addParameter(String, String) cannot be null

2012-03-15 Thread Kevin Winter
Hi, The values after the = symbol don't need to be in quotes (i'm not sure how the properties code handles that, so i recommend trying without). You can provide any value you like for your UserAgent, it doesn't have to contain company name (but that's a good idea). If you do not qualify for f

Re: javax.xml.rpc.ServiceException: Arguments to addParameter(String, String) cannot be null

2012-03-15 Thread Daniel Marshall
please > # clientId and useSandbox are optional and may be commented out. >> email='' >> password='' >> clientId='' >> useragent='' >> developerToken='' >> useSandbox=false >> partialFailure=false >> returnMoneyInMicros=false >> >> the content for useragent is exactly like the company name list

Re: javax.xml.rpc.ServiceException: Arguments to addParameter(String, String) cannot be null

2012-03-15 Thread Kevin Winter
Hi, Could you please reply back with what your adwords.properties file contains? I'm interested in what keys you have listed and whether or not they have a value (please don't send values). Feel free to use the adwords.properties file from source control as a reference: http://code.google.c

Re: javax.xml.rpc.ServiceException: Arguments to addParameter(String, String) cannot be null

2012-03-15 Thread Daniel Marshall
adwords-api-8.5.0.jar > -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group: http://adwordsapi.blogspot.com http://groups.google.com/group/adwords-api =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscri

Re: javax.xml.rpc.ServiceException: Arguments to addParameter(String, String) cannot be null

2012-03-15 Thread AdWordsAPIAdvisor
It should make no difference. What exact version of the library are you using? -Danial. Original Message Follows: From: Daniel Marshall Subject: Re: javax.xml.rpc.ServiceException: Arguments to addParameter(String, String) cannot be null Date: Thu, 15 Mar 2012

Re: javax.xml.rpc.ServiceException: Arguments to addParameter(String, String) cannot be null

2012-03-15 Thread Daniel Marshall
i did, without - sign right? > > or shall i wrote along with - sign? -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group: http://adwordsapi.blogspot.com http://groups.google.com/group/adwords-api =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You r

Re: javax.xml.rpc.ServiceException: Arguments to addParameter(String, String) cannot be null

2012-03-15 Thread AdWordsAPIAdvisor
- From: Daniel Marshall Subject: Re: javax.xml.rpc.ServiceException: Arguments to addParameter(String, String) cannot be null Date: Wed, 14 Mar 2012 07:16:00 -0700 (PDT) > btw i'm using the code from GetAllCampaigns.java > > -- > =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

Re: javax.xml.rpc.ServiceException: Arguments to addParameter(String, String) cannot be null

2012-03-14 Thread Daniel Marshall
btw i'm using the code from GetAllCampaigns.java -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group: http://adwordsapi.blogspot.com http://groups.google.com/group/adwords-api =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message

Re: javax.xml.rpc.ServiceException: Arguments to addParameter(String, String) cannot be null

2012-03-14 Thread Daniel Marshall
ector. Selector selector = new Selector(); selector.setFields(new String[] {"Id", "Name"}); selector.setOrdering(new OrderBy[] {new OrderBy("Name", SortOrder.ASCENDING)}); but still shown the same error : javax.xml.rpc.ServiceException: Arguments to addParame

Re: javax.xml.rpc.ServiceException: Arguments to addParameter(String, String) cannot be null

2011-04-25 Thread Danial Klimkin
Hello, In this case it looks like you use a wrong method 'user.getValidationService'. The service initialization should look like: CampaignAdExtensionServiceInterface campaignAdExtensionService = user.getService(AdWordsService.V201101. CAMPAIGN_AD_EXTENSION_SERVICE); I suggest to chec

javax.xml.rpc.ServiceException: Arguments to addParameter(String, String) cannot be null

2011-04-25 Thread sher...@126.com
, javax.xml.rpc.ServiceException: Arguments to addParameter(String, String) cannot be null at com.google.api.adwords.lib.AdWordsVersion $AdWordsVersionV201101.setHeaders(AdWordsVersion.java:367) at com.google.api.adwords.lib.AdWordsServiceFactory.getConfiguredStub