imageAd.setName("Cruise to mars image ad #" + System.currentTimeMillis());
imageAd.setDisplayUrl("www.example.com");
imageAd.setUrl("http://example.com");
// Create image.
Image image = new Image();
image.setData(
ImageUtils.getImageDataFromUrl("https://sandbox.google.com/sandboximages/image.jpg"));
imageAd.setImage(image);
// Create ad group ad.
AdGroupAd imageAdGroupAd = new AdGroupAd();