Hello Team, 

We are migrating from Adwords API to Ads API and we have some queries.

Follows the below steps to reproduce:
1. Create target with postal code, for example: 07305 and negative/exclude 
with postal code 07307.
2. Both created successfully using Google Ads API
3. Now, update target with 07307 (which was negative while creation), so 
with the Adwords API we received CANNOT_TARGET_AND_EXCLUDE but while 
migrating to Google Ads API we are receiving IMMUTABLE_FIELD.
4. As this IMMUTABLE_FIELD is very generic error code, we can not use it to 
retry/handle the given condition.

So is there any way we can get error code CANNOT_TARGET_AND_EXCLUDE ?

It is available in Google Ads API doc:
https://developers.google.com/google-ads/api/reference/rpc/v8/CampaignCriterionErrorEnum.CampaignCriterionError

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/3e9f3839-d2b6-4784-898d-361ad142a705n%40googlegroups.com.

Reply via email to