Hi, It appears that my response from the original forum thread was deleted. However, you may refer below for my response if you were not able to view it :
"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." Moving forward, my apologies once more as we currently do not have a specific example for what you are looking for. You can, however, refer to the AddKeywords example as it provides reference code on how to create an ad group criterion. For your scenario you can use the NegativeAdGroupCriterion instead and associate your ProductPartition to it in order to have the partition excluded. Thanks and regads, Peter Google Ads API Team ref:_00D1U1174p._5001UHHbkr: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/D2bmR000000000000000000000000000000000000000000000PYH8MV00lDRiwoyiReuQVcLv5rLTpw%40sfdc.net.