Inconsistency in ConstantDataService?

51 views
Skip to first unread message

Carsten Ennulat

unread,
Dec 1, 2015, 12:44:52 PM12/1/15
to AdWords API Forum
Hello,

I used the ConstantDataService to fetch all ProductBiddingCategoryData like in the examples from the googleads-api. But there is a difference between what I get there (Version 201509) and what I get in the AdWords Interface. When I target something that not exists in the AdWords UI I get an API Error. 

For Example (fetched from api):
Electronics > 3D Printers [212967353682838892]

Error type: CriterionError
Error String: CriterionError.INVALID_PRODUCT_BIDDING_CATEGORY
Field path: operations[4].operand.criterion.caseValue
Reason: INVALID_PRODUCT_BIDDING_CATEGORY
Trigger: ProductBiddingCategory{type=BIDDING_CATEGORY_L2, value=ProductCategoryId: 212967353682838892}

So, what's the Trick to find out what categories I can use?

Thanks in advance
Carsten

Umesh Dengale

unread,
Dec 1, 2015, 3:41:51 PM12/1/15
to AdWords API Forum
Hi Carsten,

The INVALID_PRODUCT_BIDDING_CATEGORY error occurs when bidding categories do not form a valid path in the Shopping bidding category taxonomy. You could use the product and services categories available in the API while retrieving the ProductBiddingCategoryData. Please check out product and services categories document and GetProductCategoryTaxonomy Java example code from the library for more details.

Thanks,
Umesh, AdWords API Team.

Reply all
Reply to author
Forward
0 new messages