Re: How to create the Product groups (Product Partition) using PHP client library of google ad words API

2020-05-19 Thread Denis B
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"

Re: Modifying Product Partition Bid

2020-05-16 Thread Denis B
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