Hi,

When you created the campaign, did you create it through the AdWords user 
interface or by running our 
AddShoppingCampaign<https://github.com/googleads/googleads-java-lib/blob/master/examples/adwords_axis/src/main/java/adwords/axis/v201402/shoppingcampaigns/AddShoppingCampaign.java>
 example? 
If you used the UI, please try creating the campaign via the API and post 
back if you still have trouble with the partition tree.

Thanks,
Josh, AdWords API Team

On Wednesday, May 14, 2014 4:38:45 PM UTC-4, Peijun Xu wrote:
>
> We'are implementing the code to call the adwords api for shopping 
> campaign. We want to use the feature for product partition under the 
> adgroup criterion service. 
>
> I created the campaign with shopping type and created the adgroup under 
> the campaign. And then, I tried to run the example code in 
> AddProductPartitionTree.java. It returns the error 
> PRODUCT_PARTITION_ALREADY_EXISTS. I thought it is because of the default 
> production partition had already been created as 'All products'. But this 
> criterion is not removable. 
>
> Then I tried to use that default product partition as the parent criterion 
> to create new partition under that. But it returns the error as 
> PRODUCT_PARTITION_UNIT_CANNOT_HAVE_CHILDREN. The default one is a UNIT not 
> a SUBDIVISION. 
>
> Also I tried to update the partition type for the default partition to 
> SUBDIVISION. But after running the mutate for update, it's still a unit. 
>
> I can manually add product partition under the default one on adwords UI 
> then it could be changed to SUBDIVISION type. 
>
> I'm wondering is there any runnable example for the shopping campaign 
> case. 
>
> Thanks!
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.

Reply via email to