This is the working php code for creating new product partition group.
$root = new ProductPartition();
$root->setPartitionType(ProductPartitionType::SUBDIVISION);
$root->setId(18283950120); // this is id of parent product group. you can
get this id with PRODUCT_PARTITION_REPORT, from fields "id"
This is the working source code. It changes bid of product partition
group.
$adWordsServices = new AdWordsServices();
$session = $this->getSession();
$adGroupCriterionService = $adWordsServices->get($session,
AdGroupCriterionService::class);
$operations = [];
$adGroupCriterio