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 [EMAIL PROTECTED] [EMAIL > PROTECTED] > [EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL PROTECTED]@"; > > $local_business_ad = > '<adGroupId>' . $ad_group_id . '</adGroupId>' . > '<adType>LocalBusinessAd</adType> > <businessName>A Business Corp.</businessName>' . > '<businessImage>' . > ' <data>' . base64_encode($business_image) . '</data> > <type>image</type>' . > '</businessImage>'. > '<businessKey>' . $business_key . '</businessKey> > <countryCode>US</countryCode>' . > '<stockIcon>Standard_1</stockIcon>' . > '<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>'; > > Am I doing something wrong? I guess it's some small mistake but I > really would like to found out why does that happen. Thanks for your > help so far! > > On Aug 25, 6:53 pm, AdWords API Advisor <[EMAIL PROTECTED]> > wrote: > > > Hello, > > > I've used the following images: > > > http://sites.google.com/site/awapistuff/Home/lba_icon.jpg > > http://sites.google.com/site/awapistuff/Home/lba_image.jpg > > > (Compliments re: my l33t skillz with GIMP's paintbrush tool can be > > directed to /dev/null). > > > Any luck with those? I'm not exactly sure what the difference in the > > image files that leads to acceptance or rejection would be, but on my > > to-do list is to simulate some failures and ping the engineering team > > about them to figure out exactly why the AdWords API service is > > rejecting them. > > > Cheers, > > -Jeff Posnick, AdWords API Team > > > On Aug 25, 3:55 am, veseo <[EMAIL PROTECTED]> wrote: > > > > Hello, > > > > I had no luck with the same code and just using a jpg picture. Could > > > you please point me an image you have tested to work? Here are my > > > variables, all the rest is the sample code: > > > > $ad_group_id = '74734'; > > > $business_image = file_get_contents('/home/vis/Pictures/asd.jpg'); > > > $business_key = "pdvQA/[EMAIL PROTECTED]@A > > > Business Corp.!d@(650) [EMAIL PROTECTED] Amphitheatre [EMAIL PROTECTED] > > > [EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL PROTECTED]@1219393672000!d@"; > > > > Also, here's the image I'm > > > using:http://img81.imageshack.us/my.php?image=asdov5.jpg --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
