Hi Guys,
I'm following the example provided
here:
https://developers.google.com/adwords/api/docs/samples/java/shopping-campaigns
to create Product groups for our shopping campaigns.
ProductPartitionTree partitionTree = ProductPartitionTree.createAdGroupTree(
adWordsServices, session, adGroup.getId());
ProductPartitionNode rootNode = partitionTree.getRoot().removeAllChildren
();
rootNode = rootNode.asSubdivision();
rootNode.addChild(
ProductDimensions
.createCanonicalCondition(null))
.asBiddableUnit()
.setBid(50000L);
AdGroupCriterionServiceInterface adGroupCriterionService = adWordsServices.
get(session, AdGroupCriterionServiceInterface.class);
List<AdGroupCriterionOperation> mutateOperations = partitionTree.
getMutateOperations();
adGroupCriterionService.mutate(mutateOperations.toArray(new
AdGroupCriterionOperation[0]));
I have two questions here:
1. This above code creates a new partition for all products under the root
node. Is there a way to put all products under the root node itself? Is
there a difference?
2. We want to create product partitions based on a price range? How do we
approach this? Is custom labels the only way? I believe using custom labels
will require us to re-export all products to Google merchant again. i was
hoping there is another way to do this.
Thanks
Prashant
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
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 [email protected].
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/89b93f5c-be7c-4b85-a7d8-c6d231f891e3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.