Hello,
thanks for the answer. Here's what my SOAP request:
<SOAP-ENV:Body><checkAds><ads><adGroupId>74734</
adGroupId><adType>LocalBusinessAd</adType><businessName>A Business
Corp.</businessName><businessImage><data>/9j/4AAQSkZJRgABAQEASABIAAD/
4QAWRXhpZgAATU0AKgAAAAgAAAAAAAD//
gAXQ3JlYXRlZCB3aXRoIFRoZSBHSU1Q9sAQwAFAwQEBAMFBAQEBQUFBgcMCAcHBwcPCwsJDBEPEhIRDxERExYcFxMUGhURERghGBodHR8fHxMXIiQiHiQcHh8e9sAQwEFBQUHBgcOCAgOHhQRFB4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4e8AAEQgAYABgAwEiAAIRAQMRAfEABsAAQADAQEBAQAAAAAAAAAAAAAGBwgFAgkE8QANRAAAQIFAwIFAQQLAAAAAAAAAQIDAAQFBhEHEiEIMRMUIkFRYQkjMlIVF0JTVnFzgYKRlPEABQBAQAAAAAAAAAAAAAAAAAAAADxAAUEQEAAAAAAAAAAAAAAAAAAAAA9oADAMBAAIRAxEAPwDZcIQgEIQgEIQgEIQgEIQgEIQgEIQgEIQgECcCEV1GU2q1fRC66bQ5SZm6jMSJRLsy6SXFq3J4SBzmAsDIxAHMfLL9Uetv8D3dzOxO7E6ptV7ISzQq4xL1piRyy4zU2lomk4z6S4CFbh29QJ4xAfRKEUdod1L2XqXUkUR9h23q4sDwZWadStuYOMkNuDGSMHghJPtnnF4wCEIQCEIQCEAQY8OuIaTucUEjIGScck4EB7iJaxVe4KDpjXqvasqubrcrK75NlMuXite4DAQOVcE8CJaDkZgDmAxTbAFp3FT5nyl6WHKrcTw4ZJ5cstJpuBX
+siIB1S3PYGprVM1JsuY8pWEBMrWqZMNhuYH7p78rgGCgqSTx4ecRv25bWtu5pZUvcNCptVaKSnE3LIdwD8FQyO57RkLqS6UaZRKBVr1sCdXLysgwubm6TNL3JQ0hJUstOHngAnarOecK7CAh18aa0q9EpPWnT
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nkDcI
+ibLbbLSGmkJQ2hISlKRgJA7AD2EceybWodm21J27bsg1JU6URtbbQOSfdSj3Uonkk8kx2oBCEIBCEIBCEIBER1mtefvXS64LVpkxLy85UpQsNOPlQbSSQfUUgnGB7AxLoQGddHOk6x7PdTUbpWm7KmkpUhMwzslWjjnDWSF8+68jtwI0PLstS7CGGG0NNNpCUIQkBKQOwAHYR7hAIQhAIQhAf2Q==</
data><type>image</type></businessImage><businessKey>pdvQA/
BcKn7GlE8bdhPf+Qt9fFg=Business!d@A!d@A Business Corp.!d@
(650) 250-0000!
d@123 Amphitheatre Pkwy.!d@Mountain View!d@CA!d@94043!d@US!
d@-122025344!d@37416321!d@1219393672000!d@</
businessKey><countryCode>US</countryCode><description1>Choose from our
delicious range now</description1><description2>Pre-order or delivered
to your door</description2><destinationUrl>
http://www.dominos.co.uk/</
destinationUrl><displayUrl>
www.dominos.co.uk</displayUrl></
ads><languageTarget><languages>en</languages></
languageTarget><geoTarget><countryTargets><countries>US</countries></
countryTargets></geoTarget></checkAds></SOAP-ENV:Body>
And here's the response I get:
<soapenv:Body>
<checkAdsResponse xmlns="">
<ns1:checkAdsReturn xmlns:ns1="
https://adwords.google.com/api/
adwords/v12">
<ns1:code>59</ns1:code>
<ns1:detail>This image is not of legal dimensions.</ns1:detail>
<ns1:field>image.data</ns1:field>
<ns1:index>0</ns1:index>
<ns1:isExemptable>false</ns1:isExemptable>
<ns1:textIndex xsi:nil="true"/>
<ns1:textLength xsi:nil="true"/>
<ns1:trigger xsi:nil="true"/>
</ns1:checkAdsReturn>
</checkAdsResponse>
</soapenv:Body>
This is using exactly the base64 encoded string you provided. The
problem is not with the headers, I use the same throughout the sandbox
with no problems. Probably I'm missing some field or something? Can I
use A Business Corp. in the sandbox or should I register my own
business there? I don't think it would put out a image dimensions
error message when the problem lies in the business key, but who
knows?
Thanks for the help!
On Aug 26, 7:22 pm, AdWords API Advisor <
adwordsapiadvi...@google.com>