Hi, Using the validateOnly header will attempt some (but not all) of the validation that occurs when a request is processed. If this validation detects no errors, the response will be blank - you would only get a SOAP fault if a problem was detected with the request.
- Kevin Winter AdWords API Team On Friday, April 27, 2012 3:20:08 AM UTC-4, Martin wrote: > > Hello, > > how can i validate my TextAds for PolicyViolationError before i upload. > > The only help i found is: > > http://adwordsapi.blogspot.de/2009/12/discover-v2009-validateonly-header.html > > but it don't throw an Exception... > > AdGroupAdServiceInterface adGroupAdService = (AdGroupAdServiceInterface) > ....user.getValidationService(AdWordsService.V200909.ADGROUP_AD_SERVICE); > > ..AdGroupAdReturnValue result = > ......adGroupAdService.mutate(new AdGroupAdOperation[] {operation}); > > > Can anyone please help me? > > -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 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