Google Shopping Tracking Product Partition ID Uniqueness

387 views
Skip to first unread message

brett....@ignitionone.com

unread,
Jul 25, 2014, 12:48:26 PM7/25/14
to adwor...@googlegroups.com
Hello,

According to the Value Track documentation, {product_partition_id} is supposed to be unique. However, we are seeing the same partition id being returned for multiple campaigns/clients. 

What can we add to our tracking URL parameters to make this truly unique?

Thanks,
Brett

david

unread,
Jul 28, 2014, 5:00:55 AM7/28/14
to adwor...@googlegroups.com
Just a guess, but could it be unique only within each campaign rather than world unique?
I've noticed the same partition Id being used for the parent product partition in our testing and live accounts.
If that were true then maybe a combination of campaign_id/product_partition_id would work better?

Mat Scales (AdWords API Team)

unread,
Jul 28, 2014, 7:00:20 AM7/28/14
to adwor...@googlegroups.com
Hi Brett, David,

product_partition_id is the Id of a Criterion. In AdWords, CriterionIds are global. That is, if two criteria have the exact same other properties, they will have the same ID. They are, in fact, the same criterion.

The properties for a ProductPartition are:
  • type - always PRODUCT_PARTITION for a ProductPartition
  • partitionType - UNIT or SUBDIVISION
  • parentCriterionId
  • caseValue - a ProductDimension
The root partition of a tree has no parentCriterionId and no caseValue, so there are actually only two root partition criteria - one is a UNIT and one is a SUBDIVISION. This similarly means that the first tier ProductPartitions of a tree will always have the same parentCriterionId - the ID of the SUBDIVISION root criterion.

If you want to be able to tie a partition to a bid, for example, you need to use the AdGroupId to disambiguate. Unfortunately, there is no ValueTrack parameter for AdGroupId.

david

unread,
Jul 28, 2014, 9:40:46 AM7/28/14
to adwor...@googlegroups.com


On Monday, 28 July 2014 12:00:20 UTC+1, Mat Scales (AdWords API Team) wrote:
Hi Brett, David,

The root partition of a tree has no parentCriterionId and no caseValue, so there are actually only two root partition criteria - one is a UNIT and one is a SUBDIVISION. This similarly means that the first tier ProductPartitions of a tree will always have the same parentCriterionId - the ID of the SUBDIVISION root criterion.


So is it safe to rely on this? 
Most of our batch jobs send some queries to work out the parentCriterionId of our partition tree. Would we be just as well hardcoding the value? (which seems to always be 18283950120)

universa...@gmail.com

unread,
Jul 28, 2014, 12:31:54 PM7/28/14
to adwor...@googlegroups.com
Hi Matt, Thank you for your response. I work with Brett and we are trying to determine how we can know the uniqueness of a criterion at the time of click so that we can map back to reports upstream and tie them to the correct group/campaign. The Value Track documentation is a bit unclear as to whether the tradtional KW-target value track params are available to Shopping URLs. Specifically, I am looking for the {creative} param to be available and if that is the same kind of ID on Google's end. If it is, then this could solve our conundrum. Thanks so much.

--Allison Knoch

Mat Scales (AdWords API Team)

unread,
Jul 29, 2014, 10:10:40 AM7/29/14
to adwor...@googlegroups.com
On Monday, July 28, 2014 2:40:46 PM UTC+1, david wrote:
So is it safe to rely on this? 

This has been the case for criteria in general for a long time. However, it is an implementation detail and I would not be comfortable relying on it indefinitely. I'm not sure how best to advise you on the level of risk.

Mat Scales (AdWords API Team)

unread,
Jul 29, 2014, 10:11:59 AM7/29/14
to adwor...@googlegroups.com
Hi Allison,

Yes, the general parameters should work with any campaign, so you should be able to use the {creative} template.

Cheers,
Mat
Reply all
Reply to author
Forward
0 new messages