Re: ReportDefinitionService and validateOnly

2011-05-03 Thread jstedman
I tried opening a request to have it documented better and this is the response I got: { Updates: Status: Invalid Comment #1 on issue 78 by api.arogal: use of Jave API getValidationService(..) call is lacking http://code.google.com/p/google-api-adwords-java/issues/detail?id=78 Hi Jason,

Re: ReportDefinitionService and validateOnly

2011-05-02 Thread Anash P. Oommen
Hi, The validateOnly API feature is explained here: http://adwordsapi.blogspot.com/2009/12/discover-v2009-validateonly-header.html. However, the getValidationService is how Java client library implements it. Could you open a request at http://code.google.com/p/google-api-adwords-java/issues/l

Re: ReportDefinitionService and validateOnly

2011-05-02 Thread jstedman
Ok, I've figured it out, not too sure that this will actually cost the appropriate 1 unit as opposed to 400, but it works, the call to reportDefinitionValidationService.mutate(..) returns null if it works and throws an exception if it doesnt. Probably could use some documentation about using this

ReportDefinitionService and validateOnly

2011-05-02 Thread jstedman
I'm trying to decipher how exactly this is used without building my own headers and checking the http response header myself. For instance: theReportDefinitionValidationService = adWordsUser.getValidationService(AdWordsService.V201101.REPORT_DEFINITION_SERVICE); ReportDefinition report = theRepor