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

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 immu

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 on

Not receiving CANNOT_TARGET_AND_EXCLUDE with Google Ads API

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

Not receiving CANNOT_TARGET_AND_EXCLUDE with Google Ads API

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

Re: Avoiding CANNOT_TARGET_AND_EXCLUDE with Negative keywords

2014-07-24 Thread Alan Coleman
u are adding the negative criteria. That way, > one CANNOT_TARGET_AND_EXCLUDE error won't cause all of the operations in > your *mutate* request to fail. > > This approach will require a bit of development work on your side to > properly handle partial failures, but that shoul

Re: Avoiding CANNOT_TARGET_AND_EXCLUDE with Negative keywords

2014-07-23 Thread Josh Radcliff (AdWords API Team)
Hi, One option that would get you very close to #1 is if you passed *true* for the partialFailure <https://developers.google.com/adwords/api/docs/guides/soap#partialFailure> header when you are adding the negative criteria. That way, one CANNOT_TARGET_AND_EXCLUDE error won't cause

Avoiding CANNOT_TARGET_AND_EXCLUDE with Negative keywords

2014-07-23 Thread Alan Coleman
Hello everyone, I'm adding negative keywords to AdGroups via the API using the NegativeAdGroupCriterion. I understand the concept of CANNOT_TARGET_AND_EXCLUDE and why it is necessary, I just need to find a way of avoiding it in my app. 1) Is there a way I can skip adding a *Negative Ke

Re: CANNOT_TARGET_AND_EXCLUDE

2010-04-29 Thread Federico Gaule
Thanks, it worked. The error message is not clear (at least for me). On 28 abr, 18:40, "Peer Jakobsen (AdWords API Guru)" wrote: > This would happen if you have a bidableadgroupcriterion with the same > text as the negative criterion in that adgroup > > I believe having > [a text for this keywor

Re: CANNOT_TARGET_AND_EXCLUDE

2010-04-28 Thread Peer Jakobsen (AdWords API Guru)
This would happen if you have a bidableadgroupcriterion with the same text as the negative criterion in that adgroup I believe having [a text for this keyword] and -a text for this keyword in the same adgroup is not allowed. Cheers -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Have you

CANNOT_TARGET_AND_EXCLUDE

2010-04-28 Thread federico.gaule
Hi everyone. I would like to know what does the AdGroupCriterionError "CANNOT_TARGET_AND_EXCLUDE" means. Here is what i have been trying to push to SandBox through the adGroupCriterionService : Keyword kw = new Keyword(); kw.setText("A text f