I'm having a little bit of trouble getting my head around modifying the Product Groups for Google Ads Shopping Campaigns via the Google Ads API. What I need to do is to modify the product inclusion and exclusion for certain campaigns.
This is what it looks like in the UI:
Hi Sean,
Thanks for reaching out to the Google Ads API Forum.
Have they tried ad_group_criterion.negative? That should be equivalent to EXCLUDED. You may use the ad_group_criterion.negative field, and product_group_view report to get the list of product groups (aka listing groups) in a campaign. You should be able to pull the product groups that have the status EXCLUDED as is visible via the UI by using the ad_group_criterion.negative field. For more information, you may refer to this API guide.
Let us know if you have any further questions.
Regards,
|
||||||