Re: Creating image with base 64 byte array returns invalid image v201502

2015-06-24 Thread Josh Radcliff (AdWords API Team)
Hi Vince, I think that what's happening here is that the SOAP toolkit is performing the base64 encoding for you, so if you base64 encode the value as well, you're double-encoding and that leads to the error. For example, in the Java client library, the type of the Image.data field

Creating image with base 64 byte array returns invalid image v201502

2015-06-23 Thread Vince NexonM
Following the image documentation https://developers.google.com/adwords/api/docs/reference/v201502/AdGroupAdService.Image It's stated that the raw data image should be base 64 byte array, but I kept getting an invalid image error. I then decided to try the regular byte array, non base 64 format