4 messages in com.googlegroups.adwords-apiInvalid Image Element When Requesting...
FromSent OnAttachments
Josh19 Apr 2005 03:53 
AdWordsAPIAdvisor19 Apr 2005 12:06 
Josh20 Apr 2005 09:27 
AdWordsAPIAdvisor20 Apr 2005 10:42 
Subject:Invalid Image Element When Requesting Creatives
From:Josh (j.ci@gmail.com)
Date:04/19/2005 03:53:29 AM
List:com.googlegroups.adwords-api

Hi,

I am using java to request creatives using the adwords api. I seem to be getting extra elements being returned that don't seem to be part of the api.

Eg:

CreativeService service = newCreativeServiceServiceLocator().getCreativeService(); this.addStandardHeaders((Stub)service); Creative[] creatives = service.getAllCreatives(adGroupId.intValue()); int numCreatives = creatives.length;

This fails with the error:

org.xml.sax.SAXException: Invalid element in com.mycompany.bm.api.google.creative.Creative - image [junit] com.mycompany.base.ExceptionUnchecked: org.xml.sax.SAXException: Invalid element in com.mycompany.bm.api.google.creative.Creative - image

I can't see any image based creatives that may have been placed in that adgroup -- does anyone have any comments or suggestions to resolve this...?