Hello,

Thanks for the answer. I tried with 96x96 "business image", even with
16x16 "business image" but no luck - still the same message. I'm
wondering if the filetype (.png) is a problem, I'll now try with .jpg
and .gif but I doubt it.

On Aug 22, 7:02 pm, AdWords API Advisor <[EMAIL PROTECTED]>
wrote:
> Hello,
>
>  When testing the code samples for the local image ad addition, I used
> a 16x16 "icon" image and a 96x96 "business" image successfully. Could
> you try those dimensions? It may be that the developer's guide needs
> to be updated due to changes in what the local business backend
> supports.
>
> Cheers,
> -Jeff Posnick, AdWords API Team
>
> On Aug 22, 8:16 am, veseo <[EMAIL PROTECTED]> wrote:
>
> > As I'm almost sure the problem lies in validating images, I decided to
> > try the sample code provided in the developers guide and I got some
> > problems validating images. I get this error:
>
> > New local business ad was not created due to the following policy
> > violations: Error in field: image.data
> > isExemptable: false
> > Detail:This image is not of legal dimensions.
> > Index:0
> > Trigger:
> > Code:59
>
> > When I use these values for custom icon and business image variables:
>
> > $business_image = file_get_contents('/home/vis/Pictures/asd.png'); //
> > this one is exactly 125x125
> > $custom_icon = file_get_contents('/home/vis/Pictures/cust.png'); //
> > this one is exactly 16x16
>
> > I also tried setting them to an online link with different sizes (all
> > of them below the limits, 125x125 and 16x16) but still no luck. Is
> > there some rules for the images I provide to the <businessImage> and
> > <customIcon> fields, except that they need to be base64_encode()-ed?
--~--~---------~--~----~------------~-------~--~----~
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