Issue with adding product partition tree in shopping campaign with API

45 views
Skip to first unread message

Shijo k j

unread,
Feb 12, 2016, 9:07:52 AM2/12/16
to AdWords API Forum
I am implementing the code to call the adwords api for shopping campaign. I want to use the feature for product partition under the adgroup criterion service.

I created the campaign with shopping type and created the adgroup under the campaign. And then, I tried to run the example code in AddProductPartitionTree.php. It creat product tree with 1 SUBDIVISION and 3 UNITS. I thought it is because of the default production partition had already been created as 'All products'.and all units are under that. 

Then I tried to use that default product partition as the parent criterion to create new partition under that. But it returns the error as PRODUCT_PARTITION_UNIT_CANNOT_HAVE_CHILDREN.

I can manually add product partition under the default one on adwords UI then it could be changed to SUBDIVISION type.

I'm wondering is there any runnable example for the shopping campaign case.

Thanks You!

Nadine Sundquist (AdWords API Team)

unread,
Feb 12, 2016, 6:24:33 PM2/12/16
to AdWords API Forum
Hello,

Thank you for the detailed explanation. In order to figure out the root of the issue, could you please click Reply privately to author in the forum and send me the SOAP XML logs of the request and response? By looking at the XML with the error response, I'll be able to tell if it's a problem with the code, the API, or something else.

Thanks,
Nadine, AdWords API Team

Nadine Sundquist (AdWords API Team)

unread,
Mar 10, 2016, 11:35:58 AM3/10/16
to AdWords API Forum
Hi,

I'm just checking in to see if you resolved your issue.

Best,
Nadine, AdWords API Team
Reply all
Reply to author
Forward
0 new messages