googleads-dfa-reporting-samples
googleads-dfa-reporting-samples copied to clipboard
PHP GCM: creativeAssets->insert() not supporting image type
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