getBid() of root ProductPartition returns NULL

31 views
Skip to first unread message

Михаил Бесчетнов

unread,
Mar 6, 2015, 10:14:36 AM3/6/15
to adwor...@googlegroups.com
Hello!

I created a root ProductPartition for AdGroup in shopping campaign, and set its maximum price (0,10 for example).

But when i try to get this ProductPartition via API, i get NULL insted of 0,10.

If a add some additional partitions inside root, there is no problem to get their parameters and price, but with root it does not work :(

ProductPartitionTree partitionTree = ProductPartitionTree.createAdGroupTree(new AdWordsServices(), adWordsSession, request.getAdGroupId());
ProductPartitionNode rootNode = partitionTree.getRoot();
rootNode.getBid(); //returns NULL, but really it has valid value in web interface

Josh Radcliff (AdWords API Team)

unread,
Mar 6, 2015, 1:20:35 PM3/6/15
to adwor...@googlegroups.com
Hi,

It turns out this is a bug in the ProductPartitionTree utility. If the root node does not have any children, the utility is not properly setting the bid on the ProductPartitionNode. Could you please open an issue on our github issues page?

Thanks,
Josh, AdWords API Team

Михаил Бесчетнов

unread,
Mar 6, 2015, 2:54:47 PM3/6/15
to adwor...@googlegroups.com
Thanks a lot! I'll do it right now!

Best regards, Mikhail

пятница, 6 марта 2015 г., 21:20:35 UTC+3 пользователь Josh Radcliff (AdWords API Team) написал:

Josh Radcliff (AdWords API Team)

unread,
Mar 6, 2015, 3:55:30 PM3/6/15
to adwor...@googlegroups.com
Hi Mikhail,

Thanks for filing the issue on github. I'll update the issue once the fix for it is released.

Cheers,
Josh, AdWords API Team
Reply all
Reply to author
Forward
0 new messages