RE: Creating Asset Group on Performance Max Campaign
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, Jakeia Google Ads API Team ref:_00D1U1174p._5004Q2a2pQO: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 "Google Ads API and AdWords 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/92UQk0RAC27M00Eggd11_pRmanDEtLU9Z_qA%40sfdc.net.
Re: Creating Asset Group on Performance Max Campaign
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(...). On Wednesday, April 13, 2022 at 2:20:17 PM UTC+1 Richard Cutting wrote: > 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. > > > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 "Google Ads API and AdWords 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/013fede8-84b9-4343-bcd5-fbdfba675cc7n%40googlegroups.com.
Creating Asset Group on Performance Max Campaign
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. -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 "Google Ads API and AdWords 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/626c8833-49f1-41f0-8f3b-7be6d3f6a8c3n%40googlegroups.com.