Hi,
Hi Josh ,
Thanks for the reply ,
Now Remove Exiting Product Partition working fine , i just want to confirm you with below 2 needs
1. am working on " Removal Negative Keywords " on Existing Adgroup, In that criterion is Needed ?
By the way , how to get the criterion ID for the Negative Keywords ?
2. Here with i attached the screenshot of Adgroup Report for a particular Campaign.
IF i use " REMOVE" for Exisiting Product Partition then, these data's ( clicks,impresssions,CTR etc) will get deleted ?
so whats the difference for "REMOVE" and "SET "
Thanks
(
[entries] =>
[totalNumEntries] => 0
[PageType] => AdGroupCriterionPage
[_parameterMap:Page:private] => Array
(
[Page.Type] => PageType
)
)Next, i have used below code to " Make New Product Partition " , but it seems not working
$adGroupCriterionService = $user->GetService('AdGroupCriterionService',"v201402");
$helper = new ProductPartitionHelper($var_adgroup_id);
$root = $helper->createSubdivision();
$helper->createUnit($root, new ProductOfferId("GT_34505"),100000);
$helper->createUnit($root,new ProductOfferId());
$result = $adGroupCriterionService->mutate($helper->getOperations());
- I got the
An error has occurred: [AdGroupCriterionError.PRODUCT_PARTITION_ALREADY_EXISTS @ operations[0].operand.criterion, AdGroupCriterionError.PRODUCT_PARTITION_DOES_NOT_EXIST @ operations[1].operand.criterion.parentCriterionId; trigger:'TempCriterionId{id=1}', AdGroupCriterionError.PRODUCT_PARTITION_DOES_NOT_EXIST @ operations[2].operand.criterion.parentCriterionId; trigger:'TempCriterionId{id=1}', AdGroupCriterionError.PRODUCT_PARTITION_DOES_NOT_EXIST @ operations[3].operand.criterion.parentCriterionId; trigger:'TempCriterionId{id=1}',
---------------------------------
2. can we have any Functions to get the status of Account
for example : howmany operations we did today ? like that
Looking forward your help
Thanks Hi Josh,Thank you for your entire guidance to my questions , it really helps me lotAgain i have few questions :1. I used " REMOVE" product partition for existing Adgroup , After that , if i checked with selector , i got the belowAdGroupCriterionPage Object( [entries] => [totalNumEntries] => 0 [PageType] => AdGroupCriterionPage [_parameterMap:Page:private] => Array ( [Page.Type] => PageType ) )Next, i have used below code to " Make New Product Partition " , but it seems not working$adGroupCriterionService = $user->GetService('AdGroupCriterionService',"v201402"); $helper = new ProductPartitionHelper($var_adgroup_id); $root = $helper->createSubdivision(); $helper->createUnit($root, new ProductOfferId("GT_34505"),100000); $helper->createUnit($root,new ProductOfferId()); $result = $adGroupCriterionService->mutate($helper->getOperations());- I got theAn error has occurred: [AdGroupCriterionError.PRODUCT_PARTITION_ALREADY_EXISTS @ operations[0].operand.criterion, AdGroupCriterionError.PRODUCT_PARTITION_DOES_NOT_EXIST @ operations[1].operand.criterion.parentCriterionId; trigger:'TempCriterionId{id=1}', AdGroupCriterionError.PRODUCT_PARTITION_DOES_NOT_EXIST @ operations[2].operand.criterion.parentCriterionId; trigger:'TempCriterionId{id=1}', AdGroupCriterionError.PRODUCT_PARTITION_DOES_NOT_EXIST @ operations[3].operand.criterion.parentCriterionId; trigger:'TempCriterionId{id=1}',
---------------------------------2. can we have any Functions to get the status of Accountfor example : howmany operations we did today ? like that
[1] => BiddableAdGroupCriterion Object
(
[userStatus] =>
[systemServingStatus] =>
[approvalStatus] =>
[disapprovalReasons] =>
[destinationUrl] =>
[experimentData] =>
[firstPageCpc] =>
[topOfPageCpc] =>
[qualityInfo] =>
[biddingStrategyConfiguration] =>
[bidModifier] =>
[adGroupId] => 14859042493
[criterionUse] => BIDDABLE
[criterion] => ProductPartition Object
(
[partitionType] => UNIT
[parentCriterionId] => 18283950120
[caseValue] =>
[id] => 77400162253
[type] => PRODUCT_PARTITION
[CriterionType] => ProductPartition
[_parameterMap:Criterion:private] => Array
(
[Criterion.Type] => CriterionType
)
)
[forwardCompatibilityMap] =>
[AdGroupCriterionType] => BiddableAdGroupCriterion
[_parameterMap:AdGroupCriterion:private] => Array
(
[AdGroupCriterion.Type] => AdGroupCriterionType
)
)In that i need Name of ID "77400162253"
i have attached the screenshot of name, Please check it
Thanks
[0] => BiddableAdGroupCriterion Object
(
[userStatus] =>
[systemServingStatus] =>
[approvalStatus] =>
[disapprovalReasons] =>
[destinationUrl] =>
[experimentData] =>
[firstPageCpc] =>
[topOfPageCpc] =>
[qualityInfo] =>
[biddingStrategyConfiguration] =>
[bidModifier] =>
[adGroupId] => 14859042493
[criterionUse] => BIDDABLE
[criterion] => ProductPartition Object
(
[partitionType] => SUBDIVISION
[parentCriterionId] =>
[caseValue] =>
[id] => 18283950120
[type] => PRODUCT_PARTITION
[CriterionType] => ProductPartition
[_parameterMap:Criterion:private] => Array
(
[Criterion.Type] => CriterionType
)
)
[forwardCompatibilityMap] =>
[AdGroupCriterionType] => BiddableAdGroupCriterion
[_parameterMap:AdGroupCriterion:private] => Array
(
[AdGroupCriterion.Type] => AdGroupCriterionType
)
)[0] => BiddableAdGroupCriterion Object
(
[userStatus] =>
[systemServingStatus] =>
[approvalStatus] =>
[disapprovalReasons] =>
[destinationUrl] =>
[experimentData] =>
[firstPageCpc] =>
[topOfPageCpc] =>
[qualityInfo] =>
[biddingStrategyConfiguration] =>
[bidModifier] =>
[adGroupId] => 14859046693
[criterionUse] => BIDDABLE
[criterion] => ProductPartition Object
(
[partitionType] => SUBDIVISION
[parentCriterionId] =>
[caseValue] =>
[id] => 18283950120
[type] => PRODUCT_PARTITION
[CriterionType] => ProductPartition
[_parameterMap:Criterion:private] => Array
(
[Criterion.Type] => CriterionType
)
)
[forwardCompatibilityMap] =>
[AdGroupCriterionType] => BiddableAdGroupCriterion
[_parameterMap:AdGroupCriterion:private] => Array
(
[AdGroupCriterion.Type] => AdGroupCriterionType
)
)
[1] => BiddableAdGroupCriterion Object
(
[userStatus] =>
[systemServingStatus] =>
[approvalStatus] =>
[disapprovalReasons] =>
[destinationUrl] =>
[experimentData] =>
[firstPageCpc] =>
[topOfPageCpc] =>
[qualityInfo] =>
[biddingStrategyConfiguration] =>
[bidModifier] =>
[adGroupId] => 14859046693
[criterionUse] => BIDDABLE
[criterion] => ProductPartition Object
(
[partitionType] => UNIT
[parentCriterionId] => 18283950120
[caseValue] =>
[id] => 51320962143
[type] => PRODUCT_PARTITION
[CriterionType] => ProductPartition
[_parameterMap:Criterion:private] => Array
(
[Criterion.Type] => CriterionType
)
)
[forwardCompatibilityMap] =>
[AdGroupCriterionType] => BiddableAdGroupCriterion
[_parameterMap:AdGroupCriterion:private] => Array
(
[AdGroupCriterion.Type] => AdGroupCriterionType
)
)--------------------------------
how to add the Product ( update in the existing product partition ) ?
what are the steps like you explained on previous reply,.
Looking forward,
Thanks