Unknown error when trying to add image assets to app ad

544 views
Skip to first unread message

Sergiy Kovalchuk

unread,
Feb 4, 2020, 1:41:18 PM2/4/20
to AdWords API and Google Ads API Forum
Hello,
When we are trying to add image assets to app campaigns we are sometimes getting this error via beta api (python) for particular images:

 GA Request "dLpFjEvWmBdTsyL3tqpUOQ" failed with status "INVALID_ARGUMENT":
The error code is not in this version. : operations : update : app_ad : images : asset

Here are more request ids with this error:
232WlkClhr9TMfX9dhhW8g
1-4TrmmNjyO4dSl4KZzDFQ
jo-yOhXjvF9PvZUTjiwMTg

The error happens not during image upload but during updating an app ad and passing a list of image resource names, like:
{
    "resourceName": "customers/***/ads/393996818292",
    "appAd": {
        "images": [{
            "asset": "customers/***/assets/1157296678"
        }, {
            "asset": "customers/***/assets/1156975768"
        }],
        "headlines": [...],
        ...
    }
}

Would you be able to look up these errors by request id and give us some more insights about the problem? When we are manually trying to add these images via adwords UI we are seeing some generic "error occurred please try again" message as well. We are not sure what exactly is the problem with those images.

Thank you.

Google Ads API Forum Advisor Prod

unread,
Feb 5, 2020, 8:58:24 PM2/5/20
to ser...@gmail.com, adwor...@googlegroups.com
Hello Sergiy,

It seems the error code is ImageError.IMAGE_CONSTRAINTS_VIOLATED.
Sorry that we don't have the guide for image assets for Google Ads API yet, but you could refer to some specifications of the AdWords API image assets here.
Could you double check your images?

Best,
Thanet, Google Ads API Team

ref:_00D1U1174p._5001UV00J1:ref
Reply all
Reply to author
Forward
0 new messages