Getting this error Cannot add duplicated asset group asset.

102 views
Skip to first unread message

Rahul Tah

unread,
Jun 3, 2023, 9:28:05 AM6/3/23
to Google Ads API and AdWords API Forum
What can be done to rectify the error 

Attaching the error below:

(<_InactiveRpcError of RPC that terminated with:     status = StatusCode.INVALID_ARGUMENT     details = "Request contains an invalid argument."     debug_error_string = "UNKNOWN:Error received from peer ipv6:%5B2404:6800:4009:80f::200a%5D:443 {grpc_message:"Request contains an invalid argument.", grpc_status:3, created_time:"2023-06-03T12:49:25.941465476+05:30"}" >, <_InactiveRpcError of RPC that terminated with:     status = StatusCode.INVALID_ARGUMENT     details = "Request contains an invalid argument."     debug_error_string = "UNKNOWN:Error received from peer ipv6:%5B2404:6800:4009:80f::200a%5D:443 {grpc_message:"Request contains an invalid argument.", grpc_status:3, created_time:"2023-06-03T12:49:25.941465476+05:30"}" >, errors {   error_code {     asset_group_asset_error: DUPLICATE_RESOURCE   }   message: "Cannot add duplicated asset group asset."   trigger {     string_value: "AssetGroupAssetDataKey[123, 132, 123, 123, HEADLINE]"   }   location {     field_path_elements {       field_name: "mutate_operations"       index: 4     }     field_path_elements {       field_name: "asset_group_asset_operation"     }   } } errors {   error_code {     asset_group_asset_error: DUPLICATE_RESOURCE   }   message: "Cannot add duplicated asset group asset."   trigger {     string_value: "AssetGroupAssetDataKey[123, 123, 123, 123, HEADLINE]"   }   location {     field_path_elements {       field_name: "mutate_operations"       index: 5     }     field_path_elements {       field_name: "asset_group_asset_operation"     }   } } request_id: "zxzxc" , 'zxczx')

Google Ads API Forum Advisor

unread,
Jun 7, 2023, 7:13:48 AM6/7/23
to rahu...@onlinesales.ai, adwor...@googlegroups.com

Hi,

Thanks for reaching out to Google Ads API Forum.

With regards to your concern, upon checking it seems that you are having an INVALID_ARGUMENT error. This means your request body syntax is incorrect. Additionally, the DUPLICATE_RESOURCE error means that you cannot add duplicated asset group assets.

Please note that in Google Ads API perspective we need the complete logs to be able to see the error thrown on your side and further investigate. With that being said, can you provide the complete request and response logs with request ID generated as shown in the respective? Please also note that we need the updated logs on your side.

Moreover, logging can be enabled by navigating to the Client libraries > Your client library (ex. Java) > Logging documentation, which you can access from the link below. For REST interface requests, you can enable logging via the curl command by using the -i flag. This will cause the tool to include the HTTP response headers in the output.

You may then send the requested information via the Reply privately to the author option. If this option is not available, you may send the details directly to our googleadsa...@google.com alias instead.

Links included in this email:

 
This message is in relation to case "ref:_00D1U1174p._5004Q2lwUjM:ref"

Thanks,
 
Google Logo Google Ads API Team


Reply all
Reply to author
Forward
0 new messages