Re: Updating a product group unit to be excluded

2014-06-05 Thread Josh Radcliff (AdWords API Team)
Hi Hans,

As you suggested, the way to do this is to replace the 
BiddableAdGroupCriterion with a NegativeAdGroupCriterion on the same 
partition. Whenever you want to change the partition tree you must resubmit 
the entire tree 
https://developers.google.com/adwords/api/docs/guides/shopping#modifying_existing_productpartition_trees,
 
so the easiest way to construct your AdGroupCriterionService.mutate 
https://developers.google.com/adwords/api/docs/reference/v201402/AdGroupCriterionService#mutate
 request 
is to first issue an AdGroupCriterionService.get 
https://developers.google.com/adwords/api/docs/reference/v201402/AdGroupCriterionService#get
 request 
to retrieve the existing tree, modify it as needed, and then pass it back 
into the mutate request.

Cheers,
Josh, AdWords API Team

On Wednesday, June 4, 2014 6:03:41 PM UTC-4, HK wrote:

 Hi,

 I'm looking into changing an existing (leaf) product partition to become 
 excluded (and the other way around). Is the expected approach to doing this 
 to delete the existing BiddableAdGroupCriterion and then create a new 
 NegativeAdGroupCritierion and including the same ProductPartion with the 
 NegativeAdGroupCritierion? If so, is it required to include all the other 
 product partitions in the ad group in the API call to have all the 
 relationships recreated even though I'm must changing a leaf?

 Thanks,
 Hans


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups AdWords 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 Forum group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Updating a product group unit to be excluded

2014-06-05 Thread HK
Thanks, Josh. Appreciate the reply. I was secretly hoping there'd be a 
simpler way as I'm not really changing the tree structure, just disabling a 
unit from being biddable.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups AdWords 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 Forum group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Updating a product group unit to be excluded

2014-06-04 Thread HK
Hi,

I'm looking into changing an existing (leaf) product partition to become 
excluded (and the other way around). Is the expected approach to doing this 
to delete the existing BiddableAdGroupCriterion and then create a new 
NegativeAdGroupCritierion and including the same ProductPartion with the 
NegativeAdGroupCritierion? If so, is it required to include all the other 
product partitions in the ad group in the API call to have all the 
relationships recreated even though I'm must changing a leaf?

Thanks,
Hans

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups AdWords 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 Forum group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.