assetGroupListingGroupFilterOperation

30 views
Skip to first unread message

yakuo

unread,
Sep 19, 2025, 11:33:03 AM (4 days ago) Sep 19
to Google Ads API and AdWords API Forum

{
"mutateOperations": [
/* ROOT (SUBDIVISION) */
{
"assetGroupListingGroupFilterOperation": {
"create": {
"resourceName": "customers/xxxxxx/assetGroupListingGroupFilters/6611293195~-1",
"assetGroup": "customers/xxxx/assetGroups/6611293195",
"type": "SUBDIVISION",
"listingSource": "SHOPPING"
}
}
},
/* OTHER (everything else) — EXCLUDED, caseValue */
{
"assetGroupListingGroupFilterOperation": {
"create": {
"assetGroup": "customers/xxxxx/assetGroups/6611293195",
"parentListingGroupFilter": "customers/xxxxx/assetGroupListingGroupFilters/6611293195~-1",
"type": "UNIT_EXCLUDED",
"listingSource": "SHOPPING"
}
}
},
/* ITEM 1 — include (product_item_id = 2780) */
{
"assetGroupListingGroupFilterOperation": {
"create": {
"assetGroup": "customers/xxx/assetGroups/6611293195",
"parentListingGroupFilter": "customers/xxxxx/assetGroupListingGroupFilters/6611293195~-1",
"type": "UNIT_INCLUDED",
"listingSource": "SHOPPING",
"caseValue": {
"productItemId": {
"value": "2780"
}
}
}
}
},
/* ITEM 2 — include (product_item_id = 3008) */
{
"assetGroupListingGroupFilterOperation": {
"create": {
"assetGroup": "customers/xxxx/assetGroups/6611293195",
"parentListingGroupFilter": "customers/xxxx/assetGroupListingGroupFilters/6611293195~-1",
"type": "UNIT_INCLUDED",
"listingSource": "SHOPPING",
"caseValue": {
"productItemId": {
"value": "3008"
}
}
}
}
}
]
}

{
"error": {
"code": 400,
"message": "Request contains an invalid argument.",
"status": "INVALID_ARGUMENT",
"details": [
{
"errors": [
{
"errorCode": {
"assetGroupListingGroupFilterError": "SUBDIVISION_MUST_HAVE_EVERYTHING_ELSE_CHILD"
},
"message": "Listing Group SUBDIVISION node must have everything else child.",
"trigger": {
"int64Value": "-1"
},
"location": {
"fieldPathElements": [
{
"fieldName": "mutate_operations",
"index": 0
},
{
"fieldName": "asset_group_listing_group_filter_operation"
},
{
"fieldName": "create"
},
{
"fieldName": "type"
}
]
}
},
{
"errorCode": {
"fieldError": "REQUIRED"
},
"message": "The required field was not present.",
"location": {
"fieldPathElements": [
{
"fieldName": "mutate_operations",
"index": 1
},
{
"fieldName": "asset_group_listing_group_filter_operation"
},
{
"fieldName": "create"
},
{
"fieldName": "case_value"
}
]
}
}
],
"requestId": "kerVhTTU3Wo10zDGyC6ojg"
}
]
}
}

Google Ads API Forum Advisor

unread,
Sep 19, 2025, 5:18:06 PM (4 days ago) Sep 19
to yakupt...@gmail.com, adwor...@googlegroups.com
Hi,

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

Could you please elaborate your issue and provide us with the complete API logs (request and response with request-id and request header) generated at your end.

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 guides Java.NetPHPPythonRuby or Perl 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.

Thanks,
 
Google Logo Google Ads API Team

Feedback
How was our support today?

rating1    rating2    rating3    rating4    rating5
[2025-09-19 21:17:24Z GMT] This message is in relation to case "ref:!00D1U01174p.!500Ht01u75ll:ref" (ADR-00333239)



yakuo

unread,
Sep 22, 2025, 5:53:12 AM (yesterday) Sep 22
to Google Ads API and AdWords API Forum
Hi, I’ve resolved the issue. Leaving an example request body here for anyone who might encounter the same problem.

{
"operations": [
{
"create": {
"type": "SUBDIVISION",
"assetGroup": "customers/customers_id/assetGroups/asset_group_id",
"resourceName": "customers/customers_id/assetGroupListingGroupFilters/asset_group_id~-1",
"listingSource": "SHOPPING"
}
},
{
"create": {
"type": "UNIT_INCLUDED",
"assetGroup": "customers/customers_id/assetGroups/asset_group_id",
"parent_listing_group_filter": "customers/customers_id/assetGroupListingGroupFilters/asset_group_id~-1",
"listingSource": "SHOPPING",
"caseValue": {
"productItemId": {}
}
}
},
{
"create": {
"assetGroup": "customers/customers_id/assetGroups/asset_group_id",
"type": "UNIT_INCLUDED",
"listingSource": "SHOPPING",
"parent_listing_group_filter": "customers/customers_id/assetGroupListingGroupFilters/asset_group_id~-1",
"caseValue": {
"productItemId": {
"value": "" // productItemId
}
}
}
}
]
}

20 Eylül 2025 Cumartesi tarihinde saat 00:18:06 UTC+3 itibarıyla Google Ads API Forum Advisor şunları yazdı:
Reply all
Reply to author
Forward
0 new messages