Hi Huso,
Yes, you will be able to add the
TargetingSetting for a campaign by setting the targetAll field to true to set the targeting setting as Observation. You may refer to
this code sample as a reference to apply these settings for a campaign. Please let me know if you have any other questions.
Thanks,
Bharani, Google Ads API Team

ref:_00D1U1174p._5001UOCbZn:ref