Hello, I've just linked my AdWords account with my Merchant account and created a shopping campaign, without using a Default partition tree. I tried to use an add_product_partion_tree.py from examples. After adding ID of my Ad group to the code and running it, I received this ERROR message:
Traceback (most recent call last):
File "/Users/roelramp/PycharmProjects/adwords_Python3/googleads/common.py", line 1377, in MakeSoapRequest
*packed_args, _soapheaders=soap_headers)['body']['rval']
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/zeep/proxy.py", line 42, in __call__
self._op_name, args, kwargs)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/zeep/wsdl/bindings/soap.py", line 132, in send
return self.process_reply(client, operation_obj, response)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/zeep/wsdl/bindings/soap.py", line 194, in process_reply
return self.process_error(doc, operation)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/zeep/wsdl/bindings/soap.py", line 299, in process_error
detail=fault_node.find('detail'))
zeep.exceptions.Fault: [CriterionError.INVALID_PRODUCT_BIDDING_CATEGORY @ operations[7].operand.criterion.caseValue; trigger:'ProductBiddingCategory{type=BIDDING_CATEGORY_L1, value=ProductCategoryId: -5914235892932915235}']
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/roelramp/PycharmProjects/adwords_Python3/examples/adwords/v201809/shopping/add_product_partition_tree.py", line 276, in <module>
main(adwords_client, ADGROUP_ID)
File "/Users/roelramp/PycharmProjects/adwords_Python3/examples/adwords/v201809/shopping/add_product_partition_tree.py", line 221, in main
result = adgroup_criterion_service.mutate(helper.GetOperations())
File "/Users/roelramp/PycharmProjects/adwords_Python3/googleads/common.py", line 1389, in MakeSoapRequest
e.detail, errors=error_list, message=e.message)
googleads.errors.GoogleAdsServerFault: [CriterionError.INVALID_PRODUCT_BIDDING_CATEGORY @ operations[7].operand.criterion.caseValue; trigger:'ProductBiddingCategory{type=BIDDING_CATEGORY_L1, value=ProductCategoryId: -5914235892932915235}']
I've even tried to check, if the ProductCategoryId exists, by running a get_product_category_taxanomy.py, and it looks all right. And now I don't know what to do, please help me.