Hi Thomas,

You can review our shopping campaigns 
<https://developers.google.com/adwords/api/docs/guides/shopping> guide on 
how you can configure your accounts and create shopping campaigns with 
their corresponding bids and product partitions and set its product 
dimensions 
<https://developers.google.com/adwords/api/docs/guides/shopping#product_dimensions>
 (ProductOfferId 
<https://developers.google.com/adwords/api/docs/reference/v201806/AdGroupCriterionService.ProductOfferId>
).

As for excluding all existing products, I'm afraid that there is no direct 
way to achieve this. Using the AdGroupCriterionService.mutate() 
<https://developers.google.com/adwords/api/docs/reference/v201806/AdGroupCriterionService#mutate>
 method, 
you will have to REMOVE it and ADD it again, however this time, you will 
need to ADD it as a NegativeAdGroupCriterion 
<https://developers.google.com/adwords/api/docs/reference/v201806/AdGroupCriterionService.NegativeAdGroupCriterion>
.

Best regards,
Peter
AdWords API Team

On Wednesday, August 29, 2018 at 11:44:04 AM UTC+8, Thomas Bisballe wrote:
>
> How do i add a single product id from merchant center into a new Adgroup 
> in a new shopping campaign in JAVA
> with a cpc bid of 2 euros 
> and make it exclude everything else in "all products"
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/1fe0f2a5-491f-4d99-a39e-b65e417920f9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • ... Thomas Bisballe
    • ... 'Peter Oliquino (AdWords API Team)' via AdWords API and Google Ads API Forum
      • ... Thomas Bisballe
        • ... 'Peter Oliquino (AdWords API Team)' via AdWords API and Google Ads API Forum

Reply via email to