Hi,

I just tried a request against your account using the following Selector:

         <v20:serviceSelector>
            <v20:fields>Id</v20:fields>
            <v20:fields>ParentCriterionId</v20:fields>
            <v20:predicates>
               <v20:field>AdGroupId</v20:field>
               <v20:operator>EQUALS</v20:operator>
               <v20:values>14887069333</v20:values>
            </v20:predicates>
         </v20:serviceSelector>

and the response included many AdGroupCriterion objects with values for 
*ParentCriterionId*. Below are a few examples. The criterion in green 
corresponds to A in your diagram.

            <totalNumEntries>21</totalNumEntries>
            <Page.Type>AdGroupCriterionPage</Page.Type>
            <entries xsi:type="BiddableAdGroupCriterion" 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
               <adGroupId>14887069333</adGroupId>
               <criterionUse>BIDDABLE</criterionUse>
               <criterion xsi:type="ProductPartition">
                  <id>*18283950120*</id> *<!-- The criterion ID of A -->*
                  <type>PRODUCT_PARTITION</type>
                  <Criterion.Type>ProductPartition</Criterion.Type>
                  <partitionType>SUBDIVISION</partitionType>
               </criterion>
              
 <AdGroupCriterion.Type>BiddableAdGroupCriterion</AdGroupCriterion.Type>
            </entries>
            <entries xsi:type="NegativeAdGroupCriterion" 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
               <adGroupId>14887069333</adGroupId>
               <criterionUse>NEGATIVE</criterionUse>
               <criterion xsi:type="ProductPartition">
                  <id>51320962143</id>
                  <type>PRODUCT_PARTITION</type>
                  <Criterion.Type>ProductPartition</Criterion.Type>
                  <partitionType>UNIT</partitionType>
                  <parentCriterionId>*18283950120*</parentCriterionId>
               </criterion>
              
 <AdGroupCriterion.Type>NegativeAdGroupCriterion</AdGroupCriterion.Type>
            </entries>
            <entries xsi:type="BiddableAdGroupCriterion" 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
               <adGroupId>14887069333</adGroupId>
               <criterionUse>BIDDABLE</criterionUse>
               <criterion xsi:type="ProductPartition">
                  <id>77357570773</id>
                  <type>PRODUCT_PARTITION</type>
                  <Criterion.Type>ProductPartition</Criterion.Type>
                  <partitionType>UNIT</partitionType>
                  <parentCriterionId>*18283950120*</parentCriterionId>
               </criterion>
              
 <AdGroupCriterion.Type>BiddableAdGroupCriterion</AdGroupCriterion.Type>
            </entries>
            ...

Cheers,
Josh, AdWords API Team

On Friday, June 20, 2014 7:17:16 AM UTC-7, aroxo...@gmail.com wrote:
>
> Hi,
>
> Sorry , I gave you Campaign ID for "Dummy".
>
> *Please have a look at following Details:*
>
> Campaign ID : 187801933
>
> Adgroup ID : 14887069333
>
> Yes, As you explained , Everything is Clear.
>
>            A
>           / \
>          B   C
>             / \
>            D   E
>
> i Created Product Partition using " Item_ID " 
>
> so my tree like 
>
>             A
>           / | \
>          B  C  D(Other than Products-excluded)
>
> I wanted to know, *how to get the Criterion ID of "A";*
>
> For your reference, i used this selector here 
> <https://groups.google.com/d/msg/adwords-api/P6DYn6N3XTU/dQ1URR1Pu50J>
>
> i am *Not getting any  **parentCriterionId WITH VALUE *
>
> Thanks
>
>
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
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 adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to