Hi,

I suspect what is happening is that when you remove a text asset you are 
triggering the validation process for the asset group. If the asset group 
required N text assets and you now have N - 1 the system will attempt to 
validate the asset group and produce the error. Adding and removing assets are 
atomic operations and a request with multiple operations is not treated as an 
atomic transaction. It is a mechanism to submit multiple operations.

AssetGroups have minimum requirements. If you remove an asset from an existing 
asset group and the minimum requirements are no longer met, the error is 
triggered. I would recommend you refer to this guide on update asset groups for 
more information.

To test the scenario, target an existing valid AssetGroup:

1. Send a request that adds one new text asset and ensure that the response 
shows it has succeeded.
2. Send a request to remove one text asset and let me know the response.

Kindly send the complete API logs (request and response logs with request-id 
and request header) generated at your end without redacting the information via 
Reply privately to the author option, or direct private reply to this email.

Since you are using the Java client library, if you haven't enabled the logging 
yet, I would request you to enable it by referring to this guide Java.

This message is in relation to case "ref:!00D1U01174p.!5004Q02iWlAJ:ref" 
(ADR-00166252)

Thanks,

Google Ads API Team


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

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/74UDC000000000000000000000000000000000000000000000SFY3PU00BEDvmQgmTvqaRQlL5sFXVw%40sfdc.net.
  • Re... Yisong Jiang
    • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum

Reply via email to