googleads-dfa-reporting-samples icon indicating copy to clipboard operation
googleads-dfa-reporting-samples copied to clipboard

PHP GCM: creativeAssets->insert() not supporting image type

Open Mt-Rasmus opened this issue 2 years ago • 0 comments

Hi,

I'm trying to upload images, banners and videos to Google Campaign Manager and since a few days ago I'm getting this error every time: "error": { "code": 400, "message": "19020 : The image type of file "xxx" is not supported.", "errors": [ { "message": "19020 : The image type of file " xxx " is not supported.", "domain": "global", "reason": "invalid" } ] }

xxx is just the name of the file.

I get the error at the service->creativeAssets->insert() method (using php).

For instance, I tried to upload a .png file with asset type HTML_IMAGE, and also just IMAGE.

Not sure if I'm missing something, let me know if you have an idea.

Cheers, RS

Mt-Rasmus avatar Feb 17 '23 15:02 Mt-Rasmus