Hi Peter,
Thank you very much!
I have followed your suggestions and now everything works great.
Thanks for your time!
Regards,
Filip
On Thursday, November 4, 2021 at 3:39:43 AM UTC+1 adsapi wrote:
> Hi Filip,
>
> Thank you for your follow up, our team would be happy to help. You may
> refer
Hi Filip,
Thank you for your follow up, our team would be happy to help. You may refer to
my responses below :
1. Exclude certain Criterion via API?
You can CREATE the AdGroupCriterion with the negative=true, if you wish to
initially exclude a specific criterion.
2. Re-include that Criterion
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
Hi Filip,
This is Yasar and I work with Aryeh. Let me assist you with this.
Kindly note that the negative field in 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" me
Hi Aryeh,
Thanks for the response.
Let me just clarify the situation step by step, so that you can understand
it better and let me know if I haven't done something properly:
1. I create an adGroup via API (automatically all age ranges are selected)
2. I use negative criterion to exclude one of
Hi Filip,
Negative is immutable. To switch a criterion from positive to negative, remove
then re-add it.
Regards,
Aryeh Baker
Google Ads API Team
ref:_00D1U1174p._5004Q2QHCsx:ref
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogs