Hi,

My apologies as our team cannot provide the specific example you are looking 
for. You can refer to this example code (also available in other languages) on 
how you can target or exclude campaign criteria. However, please note that it 
is currently not possible to exclude a ProductScope or a ProductPartition 
criterion at the campaign level. You can refer to our criteria usage guide as 
to which levels targeting and excluding criteria are supported.

That being said, I would recommend that you instead use the 
AdGroupCriterionService to create your ProductPartition (ProductOfferId) and 
associate your ProductPartition criterion to a NegativeAdGroupCriterion object. 
To learn more about partitioning, you may refer to this section of our shopping 
campaigns guide.

Thanks and regards,
Peter
Google Ads API Team
ref:_00D1U1174p._5001UHHRHn: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/Mdya6000000000000000000000000000000000000000000000PY9POQ00_YepjNOkQPuk5-wpd9auNw%40sfdc.net.

Reply via email to