Creating Asset Group on Performance Max Campaign

416 views
Skip to first unread message

Richard Cutting

unread,
Apr 13, 2022, 9:20:17 AM4/13/22
to Google Ads API and AdWords API Forum
Hi,

I'm seeing some odd behaviour when trying to create an Asset Group on a Performance Max campaign.

If I create an Asset Group on a campaign that has been manually created through the UI I can create a new Asset Group through the API calls and then add Assets as required.

If I try to create an Asset Group on a campaign that has been programatically created I get the errors returned as below:

{"errors":[{"error_code":{"asset_group_error":"NOT_ENOUGH_BUSINESS_NAME_ASSET"},"message":"Business name asset for a
valid asset group is not enough.","trigger":{"string_value":"Asset type: business
name"},"location":{"field_path_elements":[{"field_name":"operations","index":0}]}},{"error_code":{"request_error":"UNKNOWN"},"message":"The
error code is not in this version.","trigger":{"string_value":"Asset type:
description"},"location":{"field_path_elements":[{"field_name":"operations","index":0}]}},{"error_code":{"asset_group_error":"NOT_ENOUGH_HEADLINE_ASSET"},"message":"Headline
asset for a valid asset group is not enough.","trigger":{"string_value":"Asset type:
headline"},"location":{"field_path_elements":[{"field_name":"operations","index":0}]}},{"error_code":{"asset_group_error":"NOT_ENOUGH_SQUARE_MARKETING_IMAGE_ASSET"},"message":"Square
marketing image asset for a valid asset group is not enough.","trigger":{"string_value":"Asset type: square marketing
image"},"location":{"field_path_elements":[{"field_name":"operations","index":0}]}},{"error_code":{"asset_group_error":"NOT_ENOUGH_DESCRIPTION_ASSET"},"message":"Description
headline asset for a valid asset group is not enough.","trigger":{"string_value":"Asset type:
description"},"location":{"field_path_elements":[{"field_name":"operations","index":0}]}},{"error_code":{"asset_group_error":"NOT_ENOUGH_MARKETING_IMAGE_ASSET"},"message":"Marketing
image asset for a valid asset group is not enough.","trigger":{"string_value":"Asset type: marketing
image"},"location":{"field_path_elements":[{"field_name":"operations","index":0}]}},{"error_code":{"asset_group_error":"NOT_ENOUGH_LONG_HEADLINE_ASSET"},"message":"Long
headline asset for a valid asset group is not enough.","trigger":{"string_value":"Asset type: long
headline"},"location":{"field_path_elements":[{"field_name":"operations","index":0}]}},{"error_code":{"asset_group_error":"NOT_ENOUGH_LOGO_ASSET"},"message":"Logo
asset for a valid asset group is not enough.","trigger":{"string_value":"Asset type:
logo"},"location":{"field_path_elements":[{"field_name":"operations","index":0}]}}],"request_id":"sm01j7ABUgUBnxsIVbypaA"}

It looks like it's complaining about missing assets - but I can't add the assets until I have an asset group resource name.

I'm using the node google-ads-api .

Regards,

Richard.


Richard Cutting

unread,
Apr 14, 2022, 7:05:40 AM4/14/22
to Google Ads API and AdWords API Forum
I've resolved the issue. What was happening was that the Ads UI let me create invalid asset groups when I then tried to copy those asset groups programatically using the API's Google doesn't like it.

If your using node you also need to use the MutateOperation rather than customer.assetGroup.create(...).

Google Ads API Forum Advisor

unread,
Apr 14, 2022, 10:14:27 AM4/14/22
to cutti...@gmail.com, adwor...@googlegroups.com

Hello Richard,

Glad to know that the issue has been resolved. And thanks for sharing your research to our public forum group. Please let us know if we can help with something else.

Best Regards,

Google Logo
Jakeia
Google Ads API Team
 

ref:_00D1U1174p._5004Q2a2pQO:ref
Reply all
Reply to author
Forward
Message has been deleted
0 new messages