- name
- url
- displayUrl
- image: an Image object with:
- data (set to the bytes of the image)
After the ADD operation, I was able to preview the image (no blanks for me). Note that you do not need to upload the image separately (and actually, you cannot do this).
Have you tried just specifying the data attribute of the Image? The API should figure out the dimensions from the data. I'm thinking the issue for you might be that the dimensions don't match the data specified on the Image, and perhaps that's causing the preview problems.
By the way, if you haven't found it already, look for the
Media or
MediaUtils in the AdWords API client library you're using -- it has utility methods for constructing the data byte array from a file or URL (e.g., the Java utility is
here on github).
If you try just specifying the data of the Image and it's still not working, could you pass along the AdGroup ID and Ad ID so I can investigate further?
Thanks,
Josh, AdWords API Team