Hi Aryah, Thanks for getting back to me - I'm using the REST API through Google Apps Script as follows (The URL is a .png file stored in an AWS S3 bucket):
var headers = { 'developer-token': 'TOKEN', 'Authorization': 'Bearer ' + ACCESS_TOKEN, 'login-customer-id' : 'MANAGER_ACCOUNT_ID', 'Content-type': 'application/json' }; var blob = UrlFetchApp.fetch(URL).getBlob(); var bytes = blob.getBytes(); var encodedBlob = Utilities.base64EncodeWebSafe(bytes); var size = blob.getBytes().length; var name = FILENAME; var payload = { 'operations': [ { "create": { "name" : name, "imageAsset": { "mimeType": 'IMAGE_PNG', "fullSize": { "heightPixels": IMAGE_HEIGHT, "widthPixels": IMAGE_WIDTH, "url": URL }, "data": encodedBlob, "fileSize": size }, } }, ] }; var options = { 'headers' : headers, 'method' : 'post', 'contentType': 'application/json', 'payload' : JSON.stringify(payload), "muteHttpExceptions" : true }; var endpoint = "https://googleads.googleapis.com/v9/customers/"+ACCOUNT_ID+"/assets:mutate"; var response = JSON.parse(UrlFetchApp.fetch(endpoint, options)); The response variable simply contains a Resource Name for the successfully created asset, but when attempting to select/crop the two ratios (1.91:1 and 1:1) and Save, the following error appears in red next to the save button: *There's an error in your selected images. Please remove the image with error before save.* The cropping is successful when uploading the exact same image file manually, so file size or dimensions is not the issue. Thanks, On Monday, 8 November 2021 at 18:58:26 UTC adsapi wrote: > Hi Greg, > > I just now uploaded an image via API and cropped it in a responsive > display ad in the UI and it saved. Could you give us the steps to see what > you are seeing? > > > Reminder: Share your feedback about the Google Ads (AdWords) API! Take the > 2021 > Google Ads API and AdWords API Annual Survey > <https://google.qualtrics.com/jfe/form/SV_eQbOpf4VxRyyqqO?source=so> > > Regards, > > [image: Google Logo] > Aryeh Baker > Google Ads API Team > > > ref:_00D1U1174p._5004Q2R79hV:ref > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog: https://googleadsdeveloper.blogspot.com/ =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads API Forum" group. To post to this group, send email to adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en --- You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/353ae34e-add6-45aa-96c2-e027f30a6209n%40googlegroups.com.