Okay, great. If you can confirm that things are working in Production
I'll bring the discrepancy with the Sandbox environment to the
attention of the engineering team.

Cheers,
-Jeff Posnick, AdWords API Team


On Sep 4, 2:51 am, veseo <[EMAIL PROTECTED]> wrote:
> Hello,
>
> Sorry for not clarifying that before, yes, I'm trying that in Sandbox
> environment. I guess then really discrepancies between the Sandbox and
> Production environments are causing the issues. Again, sorry for not
> clarifying that again and thanks for your help, I think we are close
> to "unraveling the mystery" :)
>
> On Sep 3, 6:05 pm, AdWords API Advisor <[EMAIL PROTECTED]>
> wrote:
>
> > Hello,
>
> >  Sorry for the delay in getting back to you. Unfortunately, we can't
> > find any records of that request id in our Production logs--are you
> > making your requests against the Sandbox environment by any chance? I
> > should have enquired about that earlier, because perhaps the issues
> > you're running into are due to discrepancies between the Sandbox and
> > Production environments.
>
> >  The sample requests I've been passing along work against the
> > Production environment, based on my tests. Can you ensure that you're
> > trying them in Production?
>
> >  If there is a discrepancy between the Sandbox and Production then
> > that is obviously something that we'll try to resolve, but it's a
> > different issue from what we were initially looking into.
>
> > Cheers,
> > -Jeff Posnick, AdWords API Team
>
> > On Aug 28, 2:59 am, veseo <[EMAIL PROTECTED]> wrote:
>
> > > Hello,
>
> > > Thanks for the answer. No luck using either customIcon nor stockIcon.
> > > I even (by mistake) tried using stockIcon with an <data> element and
> > > it threw, as expected, "SimpleDeserializer encountered a child
> > > element, which is NOT expected, in something it was trying to
> > > deserialize" error. Here are two of the requests,
>
> > > <requestId soapenv:actor="http://schemas.xmlsoap.org/soap/actor/next";
> > > soapenv:mustUnderstand="0" xmlns="https://adwords.google.com/api/
> > > adwords/v12">54fda046368de341df11f2bf42f3a9da</requestId>
>
> > > this one is using a stockIcon Standard_1, while this one:
>
> > > <requestId soapenv:actor="http://schemas.xmlsoap.org/soap/actor/next";
> > > soapenv:mustUnderstand="0" xmlns="https://adwords.google.com/api/
> > > adwords/v12">156347e3a2cc163d4e16de5112ae58a9</requestId>
>
> > > is using the string you provided for the custom Icon earlier ("/9j/
> > > 4AAQSkZJRgABAQEASABIAAD/4QAWRXhpZgAATU0AKgAAAAgAAAAAAAD//
> > > gAXQ3JlYXRlZCB3aXRoIFRoZSBHSU1Q/
> > > 9sAQwAFAwQEBAMFBAQEBQUFBgcMCAcHBwcPCwsJDBEPEhIRDxERExYcFxMUGhURERghGBodHR8fHxMXIiQiHiQcHh8e/
> > > 9sAQwEFBQUHBgcOCAgOHhQRFB4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4e/
> > > 8AAEQgAEAAQAwEiAAIRAQMRAf/EABYAAQEBAAAAAAAAAAAAAAAAAAYHCP/
> > > EACIQAAEDBAIDAQEAAAAAAAAAAAIBAwUEERIhAAcGEzEzQf/
> > > EABQBAQAAAAAAAAAAAAAAAAAAAAD/xAAUEQEAAAAAAAAAAAAAAAAAAAAA/
> > > 9oADAMBAAIRAxEAPwDZD5k2w4YBmYiqiN7ZLb5/eA+suyU8tlq
> > > +CkYKphJihupsOKZA4KI2pKCuA25r3N3zbG+Wr2WzCSio
> > > +rMqp6hZcqhCwPo2PtG2xxJdoqLtN/eT/
> > > qXryrhPKpXzWcrpWplpFgKVsZCoadfbYHH9SaEW81UB0N0FB0RKpLwP/9k=") with of
> > > course, removed newlines that occured while copying the text from the
> > > txt file.
>
> > > Thanks for the assistance, I believe the engineering team will find
> > > out why I'm having those problems.
>
> > > On Aug 27, 8:54 pm, AdWords API Advisor <[EMAIL PROTECTED]>
> > > wrote:
>
> > > > Hello,
>
> > > >  I see that you're not including any information about the icon to use
> > > > with the ad--I wonder if the SOAP service is, by default, trying to
> > > > read the <customIcon><data> element but not finding it. In my request
> > > > I do specify a customIcon element, but you should be able to provide a
> > > > value for stockIcon instead:
>
> > > >  http://www.google.com/apis/adwords/developer/LocalBusinessAd.html#sto...
>
> > > > Do you get different results when you do that? If specifying an icon
> > > > doesn't make any difference, could you please provide the value of the
> > > > requestId SOAP response header for the associated SOAP fault and I'll
> > > > open up a bug with the engineering team to investigate why your
> > > > request is being rejected.
>
> > > > Cheers,
> > > > -Jeff Posnick, AdWords API Team
>
> > > > On Aug 27, 7:49 am, veseo <[EMAIL PROTECTED]> wrote:
>
> > > > > 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
> > > > > +TRI1SURsuKkyjZS2Hm8Bx5lKeEezhSONqsjBBzo3ox1bVqNYBo9YmHXrioSENTTjpyqZaOQ27n3OBtV75GT
> > > > > +KKv8As8L+p5kKvpjPNtpmHXXKjKKUeH0lKEOt4PuAkK
> > > > > +oKviI90sJfsDrEuCxVbksTRnpJtJGNyWyXml4+qEEwCUBuqEIQCEIQFC3LYt20K6Jyo6d0aXpLExUVFTkjLMBxbflpMN5BWj7oOomSpOeSc7TnMe6PbmohrjcVkV2acD6Gm3X5hgJ8FM3LuKU62lZAynxtoSVfhBwnIAveEBnq4prUO26TS2qpWaz402htLQTNyjKnltMDw8HlbSVeOClOVZUCMgZFzW401b9vzJqMwJdr9JTr5cmVJQAHpt1aedxGPvABzk8cA8DvKSCckcxAeoqnIq2iN105yoyVNSIFPmpxZQy36gQVqAJA4xnB7wEikutG86dbWhtbpa6k0xVaywJSTl948R5KlpDuB
> > > > > +UIKsntz9RGTNI
> > > > > +p2wDTqlGgPeUuOmMjZLInVKK5cAEAIcSclGcek54GBtiMyFxSOrGrormr94KpNOdUFPONsOLCWwfTLspQFeGME
> > > > > +o9uSdyjyHJsV6rad3XYtbnWpWYmPONLQMb2m5hTTyM9jlKVARX94vzStxFb
> > > > > +0LrNQ82HRLTdQLa0YIUEsKZCePgHH8xEJ6v7301uOXs229MihVMt6XmWiWpdbTQDhaKUp3gKUfQoknuVZySTFq9AWmtZZqFT1TuJqYbM
> > > > > +wpinF8UwFrCnXznnBKUgH3yoGQ2DCEIBCEIBCEIBHEvy2Kdedn1K16suYRI1FnwX1MLCXAnIPpJBAPHwY7ceXXENNKdcWlCEDKlKOAB8kwFS2J04aR2kyQza7FYmCFBUxV8TSiD7bVDYMexCQfrEK160j6dbQth
> > > > > +67mt5NLS36WWabNLZXNOYO1pDYVtyfkAYAyTgR
> > > > > +zXDqnsqy5ebplrPt3JcKMoSlnmUYX8uOA4Vj8qMBKe8UHathav9TF1SN0XrNPylsJUQmbUgNNIaz6kSzX7RJGN
> > > > > +COOScYgOX0iaYy+o+r7lemKGWbQpD6plTD2XWlLzlmWKlD14yFKyOQnkDcI
> > > > > +ibLbbLSGmkJQ2hISlKRgJA7AD2EceybWodm21J27bsg1JU6URtbbQOSfdSj3Uonkk8kx2oBCEIBCEIBCEIBER1mtefvXS64LVpkxLy85UpQsNOPlQbSSQfUUgnGB7AxLoQGddHOk6x7PdTUbpWm7KmkpUhMwzslWjjnDWSF8+68jtwI0PLstS7CGGG0NNNpCUIQkBKQOwAHYR7hAIQhAIQhAf2Q==</
> > > > > data><type>image</type></businessImage><businessKey>pdvQA/
> > > > > [EMAIL PROTECTED]@A Business Corp.!d@(650) 250-0000!
> > > > > [EMAIL PROTECTED] Amphitheatre [EMAIL PROTECTED] [EMAIL 
> > > > > PROTECTED]@[EMAIL PROTECTED]
> > > > > [EMAIL PROTECTED]@[EMAIL PROTECTED]@</
> > > > > 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 <[EMAIL PROTECTED]>
> > > > > wrote:
>
> > > > > > Hello,
>
> > > > > >  Well, here's what my SOAP request looks like. (This particular
> > > > > > request will end up failing because Domino's Pizza is a trademark I
> > > > > > don't have permission to use, but I don't have my own business
> > > > > > registered in the Local Business Center.)
>
> > > > > >  http://sites.google.com/site/awapistuff/Home/soap.txt
>
> > > > > > Does your base-64 encoded text look identical?
>
> > > > > > Cheers,
> > > > > > -Jeff Posnick, AdWords API Team
>
> > > > > > On Aug 26, 2:44 am, veseo <[EMAIL PROTECTED]> wrote:
>
> > > > > > > Hello,
>
> > > > > > > thanks for the answer. I still had no luck with those pictures, 
> > > > > > > how do
> > > > > > > you encode them? After getting their contents with 
> > > > > > > file_get_contents()
> > > > > > > I base64_encode() them and send that result to the sandbox:
>
> > > > > > > $business_image = file_get_contents('/home/vis/Pictures/
> > > > > > > lba_image.jpg');
> > > > > > > $business_key = "pdvQA/[EMAIL PROTECTED]@A Business
> > > > > > > Corp.!d@(650) [EMAIL PROTECTED] Amphitheatre
>
> ...
>
> read more »
--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/adwords-api?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to