Hi, Let me look into this and I'll update the thread when I have more information.
Best, - Eric On Mar 19, 3:39 pm, spongman <[email protected]> wrote: > yes, it works against production. but we don't want to develop/test > against production. is there any documentation anywhere that lists the > differences between the sandbox and production environments? can you > explain why the sandbox doesn't allow uploading SWFs? > > On Mar 19, 11:41 am, AdWords API Advisor > > > > <[email protected]> wrote: > > Hi, > > > Certain image ad formats aren't accepted in the sandbox, and I believe > > flash is one of them. Have you tried using this same code against a > > production account? > > > Best, > > - Eric Koleda, AdWords API Team > > > On Mar 18, 6:07 pm, spongman <[email protected]> wrote: > > > > I'm trying to publish a SWF to sandbox, but I'm getting an > > > ImageError.INVALID_IMAGE error. what am I doing wrong? > > > > here's my request: > > > > <?xml version="1.0" encoding="utf-8"?> > > > <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" > > > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > > > xmlns:xsd="http://www.w3.org/2001/XMLSchema"> > > > <soap:Header> > > > <RequestHeader > > > xmlns="https://adwords.google.com/api/adwords/cm/ > > > v200909"> > > > <authToken>{my token{</authToken> > > > <clientEmail>client_1+{my email}</clientEmail> > > > <developerToken>{my email}++USD</developerToken> > > > <userAgent>AWAPI DotNetLib 7.1 - {my > > > company}</userAgent> > > > </RequestHeader> > > > </soap:Header> > > > <soap:Body> > > > <mutate > > > xmlns="https://adwords.google.com/api/adwords/cm/v200909"> > > > <operations> > > > <operator>ADD</operator> > > > <operand> > > > <adGroupId>3121619235</adGroupId> > > > <ad xsi:type="ImageAd"> > > > <url>{click URL}</url> > > > <displayUrl>{click > > > URL}</displayUrl> > > > <image> > > > > > > <mimeType>FLASH</mimeType> > > > <data>{base-64 > > > encoded SWF}</data> > > > </image> > > > > > > <name>New_Campaign_300x250_0</name> > > > </ad> > > > </operand> > > > </operations> > > > </mutate> > > > </soap:Body> > > > </soap:Envelope> > > > > and here's the response: > > > > <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> > > > <soap:Header> > > > <ResponseHeader > > > xmlns="https://adwords.google.com/api/adwords/cm/ > > > v200909"> > > > > > > <requestId>e038a885b90ce2a4b607d3dbb86c5df2</requestId> > > > <operations>1</operations> > > > <responseTime>322</responseTime> > > > <units>40</units> > > > </ResponseHeader> > > > </soap:Header> > > > <soap:Body> > > > <soap:Fault> > > > <faultcode>soap:Server</faultcode> > > > <faultstring>[ImageError.INVALID_IMAGE @ > > > operations[0].operand.ad.image.data]</faultstring> > > > <detail> > > > <ApiExceptionFault > > > xmlns="https://adwords.google.com/api/adwords/ > > > cm/v200909"> > > > > > > <message>[ImageError.INVALID_IMAGE @ > > > operations[0].operand.ad.image.data]</message> > > > > > > <ApplicationException.Type>ApiException</ > > > ApplicationException.Type> > > > <errors > > > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > > > xsi:type="ImageError"> > > > > > > <fieldPath>operations[0].operand.ad.image.data</fieldPath> > > > <trigger></trigger> > > > > > > <ApiError.Type>ImageError</ApiError.Type> > > > > > > <reason>INVALID_IMAGE</reason> > > > </errors> > > > </ApiExceptionFault> > > > </detail> > > > </soap:Fault> > > > </soap:Body> > > > </soap:Envelope> -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Have you migrated to v200909 yet? The v13 sunset is on April 22, 2010. 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 [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en To unsubscribe from this group, send email to adwords-api+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
