PMax Campaign with Merchant Id set up seems effect the creation of the Asset Group

61 views
Skip to first unread message

Yisong Jiang

unread,
Jun 21, 2024, 11:38:15 AM6/21/24
to Google Ads API and AdWords API Forum
Hi,

I am facing a strange situation that I used the sample code from API docs to create a new PMax Campaign, which succeed. But if I add shoppingSetting with a valid Merchant Id to the Campaign, (Updated the final url of asset group as well), even though I have enough assets for the asset group. I still got error return from API. It says I missed every type of required Asset for a valid asset group plus short description required. Here is a part of message:

//
errors {
  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: "mutate_operations"
      index: 21
    }
    field_path_elements {
      field_name: "asset_group_asset_operation"
    }
  }
}
errors {
  error_code {
    asset_group_error: SHORT_DESCRIPTION_REQUIRED
  }
  message: "Short description asset for a valid asset group is required."
  trigger {
    string_value: "Asset type: description"
  }
  location {
    field_path_elements {
      field_name: "mutate_operations"
      index: 21
    }
    field_path_elements {
      field_name: "asset_group_asset_operation"
    }
  }
}
It is for sure, that the same content can be created via Java API, while if I add merchant Id, my request is rejected.

Does anyone have idea on how to solve this issue. 
Huge thanks!

Best Regards,
Jay

Google Ads API Forum Advisor

unread,
Jun 21, 2024, 4:19:32 PM6/21/24
to jiangy...@gmail.com, adwor...@googlegroups.com
Hi, 

Thank you for reaching out to the Google Ads API support team.

From the provided logs, you are getting an error "NOT_ENOUGH_LOGO_ASSET " and "SHORT_DESCRIPTION_REQUIRED" while making the request to MutateAssetGroups. Kindly note that the AssetGroup within a Performance Max campaign necessitates an initial minimum assortment of assets. These assets may comprise pre-existing ones utilized in other campaigns or newly created assets tailored specifically for an AssetGroup within a Performance Max campaign. These errors might occur when asset requirements are not met. Kindly follow this guide to Ensure minimum asset requirements are met.

Kindly note that you have not shared the complete API logs as it doesn't contain the request body of what you are passing in your API request. In order to further investigate your issue, kindly share the complete updated API logs (request and response logs with request-id and request header) generated at your end to better assist you further. 

If you are using a client library and haven't enabled the logging yet, I would request you to enable logging for the specific client library that you are using. You can refer to the Java guide to enable logging at your end. For REST interface requests, you can enable logging via the curl command by using the -i flag.

You can send the details via Reply privately to the author option, or direct private reply to this email.
 
This message is in relation to case "ref:!00D1U01174p.!5004Q02tJQmN:ref" (ADR-00243229)

Thanks,

 
Google Logo Google Ads API Team

Register for the upcoming workshop: Performance Max and the Google Ads API!


Reply all
Reply to author
Forward
0 new messages