Not receiving CANNOT_TARGET_AND_EXCLUDE with Google Ads API

2021-09-28 Thread Dev Test
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 wit

Not receiving CANNOT_TARGET_AND_EXCLUDE with Google Ads API

2021-09-28 Thread Ashish Jani
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 wit

RE: Not receiving CANNOT_TARGET_AND_EXCLUDE with Google Ads API

2021-09-29 Thread Google Ads API Forum Advisor
Hi, Thank you for raising your concern to my team. In order for the CANNOT_TARGET_AND_EXCLUDE error to show, you may try to create another criterion with the same information as you've set to postal 07307. Then, this time set is as targeted / positive criterion since the previous one is negati

Re: Not receiving CANNOT_TARGET_AND_EXCLUDE with Google Ads API

2021-09-29 Thread Ashish Jani
Thank you for the response. We have tried your provided suggestion but the error code is same IMMUTABLE_FIELD instead of expected CANNOT_TARGET_AND_EXCLUDE. Error details: errors { error_code { field_error: IMMUTABLE_FIELD } message: "The field attempted to be mutated is immutable."

Re: Not receiving CANNOT_TARGET_AND_EXCLUDE with Google Ads API

2021-09-29 Thread Google Ads API Forum Advisor
Hi Ashish, Thank you for providing updates. To take a closer look at your API requests, could you provide the complete request and response logs with request ID generated for successful API request of negative/exclude with postal code 07307 and for unsuccessful API request of creating targeted