Hi Amol,

Regarding retrieving details about the ProductPartitions, you could do this 
via 
AdGroupCriterionService.get<https://developers.google.com/adwords/api/docs/reference/v201402/AdGroupCriterionService#get>
 with 
a selector similar to this:

            <serviceSelector>
                <fields>*PartitionType*</fields>
                <fields>Id</fields>
                <fields>*ParentCriterionId*</fields>
                <fields>*CaseValue*</fields>
                <predicates>
                    <field>CriteriaType</field>
                    <operator>EQUALS</operator>
                    <values>PRODUCT_PARTITION</values>
                </predicates>
                <predicates>
                    <field>AdGroupId</field>
                    <operator>EQUALS</operator>
                    <values>*******</values>
                </predicates>
            </serviceSelector>

The *CaseValue* and *PartitionType* should give you the details of interest 
(let me know if that's not the case).  The displayTree 
method<https://github.com/googleads/googleads-java-lib/blob/master/examples/adwords_axis/src/main/java/adwords/axis/v201402/shoppingcampaigns/AddProductPartitionTree.java#L157>
 in 
our AddProductPartitionTree example shows one approach for doing this.  You 
could tie this information to the report information via the criteria ID.

I'll pass on your request for including parent criterion ID in the report 
-- I can see how that would be helpful.  Would it also be helpful if the 
report let you select CaseValue and PartitionType?

Thanks,
Josh, AdWords API Team

On Thursday, April 24, 2014 2:32:35 AM UTC-4, Amol Sharma wrote:
>
> Also, checked constructors of Product Partition. Even if i have Id, i 
> cannot retrieve anything about the product partition.
>
> these are two constructors available in the java client library.  
>
> public ProductPartition() {
>     }
>
>     public ProductPartition(
>            java.lang.Long id,
>            com.google.api.ads.adwords.axis.v201402.cm.CriterionType type,
>            java.lang.String criterionType,
>            com.google.api.ads.adwords.axis.v201402.cm.ProductPartitionType 
> partitionType,
>            java.lang.Long parentCriterionId,
>            com.google.api.ads.adwords.axis.v201402.cm.ProductDimension 
> caseValue) {
>         super(
>             id,
>             type,
>             criterionType);
>         this.partitionType = partitionType;
>         this.parentCriterionId = parentCriterionId;
>         this.caseValue = caseValue;
>     }
>
>
> --
> Thanks and Regards,
> Amol Sharma
>
>
>
> On Thu, Apr 24, 2014 at 12:39 AM, Amol Sharma <> wrote:
>
>> +1 to Igor. this is a genuine issue according to me.
>>
>> In PRODUCT_PARTITION_REPORT, we don't know how the what is the 
>> productPartitionType and what is the ProductDimension.
>>
>> Moreover, we it will also be good to have, parent product partition ID, 
>> so that we can understand the actual hierarchy of the product partition.
>>
>>
>>
>> --
>> Thanks and Regards,
>> Amol Sharma
>>
>>
>>
>> On Wed, Apr 23, 2014 at 2:53 PM, Igor Schut <> wrote:
>>
>>> Hi Josh,
>>>
>>> Let me clarify my problem for you.
>>>
>>> We pull in two reports, one for the shopping products and one for the 
>>> product partitions. We wish to show and use both.
>>>
>>> We do understand that product partitions are categorization of one or 
>>> more products, but how am I suppose to determine the actual product 
>>> partition as shown in the AdWords UI based on the products itself? It does 
>>> not say in what product partition its in or what type of product partition.
>>>
>>> Thanks,
>>> Igor
>>>
>>> -- 
>>> -- 
>>> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
>>> Also find us on our blog and Google+:
>>> https://googleadsdeveloper.blogspot.com/
>>> https://plus.google.com/+GoogleAdsDevelopers/posts
>>> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
>>>  
>>> You received this message because you are subscribed to the Google
>>> Groups "AdWords API Forum" group.
>>> To post to this group, send email to [email protected]
>>> To unsubscribe from this group, send email to
>>> [email protected]
>>> For more options, visit this group at
>>> http://groups.google.com/group/adwords-api?hl=en
>>> --- 
>>> You received this message because you are subscribed to the Google 
>>> Groups "AdWords API Forum" group.
>>> To unsubscribe from this group and stop receiving emails from it, send 
>>> an email to [email protected].
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to