RE: How to modify ad.ad_data if one of the assets inside is disapproved?

2021-06-24 Thread Google Ads API Forum Advisor
Hi Sergiy,

Thank you for reaching out to Ads API support. In Ads API there's an updatemask 
that only the fields specified in your update get mutated. An example is shown 
here - https://developers.google.com/google-ads/api/docs/ads/mutate-ads.

Regards,

Aryeh Baker
Google Ads API Team
ref:_00D1U1174p._5004Q2IxqWx: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 
"AdWords API and Google Ads 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/0NU1_0QV7ZKQ00a7OZHndGRbqKwJaZswwnoA%40sfdc.net.


How to modify ad.ad_data if one of the assets inside is disapproved?

2021-06-22 Thread ser...@gmail.com
Hello,
Let's say I have an ad that contains an asset with the status "Disapproved" 
and I want to add a new asset to this ad. 
The problem is there is no endpoint to add a single asset to an existing 
ad, so I need to resubmit the rest of assets as well, but when I do that I 
have to resubmit that disapproved asset which seem to trigger an error:

GA Request "Dieb9bdhHY0rSH22xuO7xQ" failed with status "INVALID_ARGUMENT":
The resource has been disapproved since the policy summary includes policy 
topics of type PROHIBITED.

Same goes for removing individual assets. There is no endpoint to remove an 
individual asset, so I have to resubmit all the assets without the one I am 
trying to remove to emulate a single asset removal, but if some other 
existing asset is disapproved it triggers this error.

In some cases it allows me to resubmit the disapproved asset but in some 
cases it triggers this error, I assume it depends on the severity of the 
issue.

I could just avoid resubmitting any existing disapproved assets but then 
they will essentially be removed without a trace which I don't want to do.

So my questions are:
- Is there a way to add or remove individual assets without resubmitting 
the rest of assets?
- If not, is there a way to resubmit the ad_data payload with the 
disapproved assets without them triggering an error?

Thank you.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"AdWords API and Google Ads 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/5de103aa-4ee9-42ab-a7cd-e8811717aec9n%40googlegroups.com.