Hi Yasar, Thanks for the assistance.
So once I create an AdGroup via API all Demographic criterions are selected by default. What would be your suggestions (or an example if you could provide) in order to: 1. Exclude certain Criterion via API? 2. Re-include that Criterion via API? Whenever I try to accomplish the second step, I get the "immutable filed" message. Sorry to bother you, but I am new in this, so it might take me a while to get it done properly :) Regards, Filip On Wednesday, November 3, 2021 at 9:30:12 AM UTC+1 adsapi wrote: > Hi Filip, > > This is Yasar and I work with Aryeh. Let me assist you with this. > > Kindly note that the *negative* > <https://developers.google.com/google-ads/api/reference/rpc/v8/AdGroupCriterion#negative> > field > in *AdGroupCriterion* > <https://developers.google.com/google-ads/api/reference/rpc/v8/AdGroupCriterion> > is > immutable. That said, re-including said age range by simply removing line > 'negative' => true from your code won’t work and you will get the > "Immutable field" message since the 'negative' field is immutable. > > To avoid this error, I recommend you to remove the existing > *AdGroupCriterion* first, then re-add it by setting *'negative' => false* in > your code. > > Hope this helps. Let us know if you have any further questions. > > Regards, > [image: Google Logo] > Yasar > Google Ads API Team > > > ref:_00D1U1174p._5004Q2QHCsx: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/68bd71bf-d0ac-4ebe-b959-f4dc94b6467cn%40googlegroups.com.