AdWords is now Google Ads. Our new name reflects the full range of advertising options we offer across Search, Display, YouTube, and more. Learn more

Ads
1.8K members online now
1.8K members online now
For questions related to Google Shopping and Merchant Center. Learn to optimize your Shopping ads
Guide Me
star_border
Reply

Product Partiotion Error

Visitor ✭ ✭ ✭
# 1
Visitor ✭ ✭ ✭

I have tried to create  Product Partitions using the code given in github.

https://github.com/googleads/googleads-php-lib/blob/master/examples/AdWords/v201509/ShoppingCampaign...

 

It gives me error like below.

 

I have one Product group in the account (say in agGroup)

An error has occurred: [AdGroupCriterionError.PRODUCT_PARTITION_ALREADY_EXISTS @ operations[0].operand.criterion, AdGroupCriterionError.PRODUCT_PARTITION_DOES_NOT_EXIST @ operations[1].operand.criterion.parentCriterionId; trigger:'TempCriterionId{id=1}', AdGroupCriterionError.PRODUCT_PARTITION_DOES_NOT_EXIST @ operations[2].operand.criterion.parentCriterionId; trigger:'TempCriterionId{id=1}', AdGroupCriterionError.PRODUCT_PARTITION_DOES_NOT_EXIST @ operations[3].operand.criterion.parentCriterionId; trigger:'TempCriterionId{id=1}', AdGroupCriterionError.PRODUCT_PARTITION_DOES_NOT_EXIST @ operations[4].operand.criterion.parentCriterionId; trigger:'TempCriterionId{id=2}', AdGroupCriterionError.PRODUCT_PARTITION_DOES_NOT_EXIST @ operations[5].operand.criterion.parentCriterionId; trigger:'TempCriterionId{id=2}', AdGroupCriterionError.PRODUCT_PARTITION_DOES_NOT_EXIST @ operations[6].operand.criterion.parentCriterionId; trigger:'TempCriterionId{id=2}', AdGroupCriterionError.PRODUCT_PARTITION_DOES_NOT_EXIST @ operations[7].operand.criterion.parentCriterionId; trigger:'TempCriterionId{id=3}', AdGroupCriterionError.PRODUCT_PARTITION_DOES_NOT_EXIST @ operations[8].operand.criterion.parentCriterionId; trigger:'TempCriterionId{id=3}']

 

 

 

 

Log below

 

HTTP/1.1 500 Internal Server Error
Content-Type: text/xml; charset=UTF-8
Content-Encoding: gzip
Date: Thu, 05 Nov 2015 18:04:57 GMT
Expires: Thu, 05 Nov 2015 18:04:57 GMT
Cache-Control: private, max-age=0
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
Content-Length: 715
Server: GSE

<?xml version="1.0"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Header>
    <ResponseHeader xmlns="https://adwords.google.com/api/adwords/cm/v201509">
      <requestId>000523cef6f96d510a4c236a48008a1e</requestId>
      <serviceName>AdGroupCriterionService</serviceName>
      <methodName>mutate</methodName>
      <operations>9</operations>
      <responseTime>71</responseTime>
    </ResponseHeader>
  </soap:Header>
  <soap:Body>
    <soap:Fault>
      <faultcode>soapSmiley Frustratederver</faultcode>
      <faultstring>[AdGroupCriterionError.PRODUCT_PARTITION_ALREADY_EXISTS @ operations[0].operand.criterion, AdGroupCriterionError.PRODUCT_PARTITION_DOES_NOT_EXIST @ operations[1].operand.criterion.parentCriterionId; trigger:'TempCriterionId{id=1}', AdGroupCriterionError.PRODUCT_PARTITION_DOES_NOT_EXIST @ operations[2].operand.criterion.parentCriterionId; trigger:'TempCriterionId{id=1}', AdGroupCriterionError.PRODUCT_PARTITION_DOES_NOT_EXIST @ operations[3].operand.criterion.parentCriterionId; trigger:'TempCriterionId{id=1}', AdGroupCriterionError.PRODUCT_PARTITION_DOES_NOT_EXIST @ operations[4].operand.criterion.parentCriterionId; trigger:'TempCriterionId{id=2}', AdGroupCriterionError.PRODUCT_PARTITION_DOES_NOT_EXIST @ operations[5].operand.criterion.parentCriterionId; trigger:'TempCriterionId{id=2}', AdGroupCriterionError.PRODUCT_PARTITION_DOES_NOT_EXIST @ operations[6].operand.criterion.parentCriterionId; trigger:'TempCriterionId{id=2}', AdGroupCriterionError.PRODUCT_PARTITION_DOES_NOT_EXIST @ operations[7].operand.criterion.parentCriterionId; trigger:'TempCriterionId{id=3}', AdGroupCriterionError.PRODUCT_PARTITION_DOES_NOT_EXIST @ operations[8].operand.criterion.parentCriterionId; trigger:'TempCriterionId{id=3}']</faultstring>
      <detail>
        <ApiExceptionFault xmlns="https://adwords.google.com/api/adwords/cm/v201509">
          <message>[AdGroupCriterionError.PRODUCT_PARTITION_ALREADY_EXISTS @ operations[0].operand.criterion, AdGroupCriterionError.PRODUCT_PARTITION_DOES_NOT_EXIST @ operations[1].operand.criterion.parentCriterionId; trigger:'TempCriterionId{id=1}', AdGroupCriterionError.PRODUCT_PARTITION_DOES_NOT_EXIST @ operations[2].operand.criterion.parentCriterionId; trigger:'TempCriterionId{id=1}', AdGroupCriterionError.PRODUCT_PARTITION_DOES_NOT_EXIST @ operations[3].operand.criterion.parentCriterionId; trigger:'TempCriterionId{id=1}', AdGroupCriterionError.PRODUCT_PARTITION_DOES_NOT_EXIST @ operations[4].operand.criterion.parentCriterionId; trigger:'TempCriterionId{id=2}', AdGroupCriterionError.PRODUCT_PARTITION_DOES_NOT_EXIST @ operations[5].operand.criterion.parentCriterionId; trigger:'TempCriterionId{id=2}', AdGroupCriterionError.PRODUCT_PARTITION_DOES_NOT_EXIST @ operations[6].operand.criterion.parentCriterionId; trigger:'TempCriterionId{id=2}', AdGroupCriterionError.PRODUCT_PARTITION_DOES_NOT_EXIST @ operations[7].operand.criterion.parentCriterionId; trigger:'TempCriterionId{id=3}', AdGroupCriterionError.PRODUCT_PARTITION_DOES_NOT_EXIST @ operations[8].operand.criterion.parentCriterionId; trigger:'TempCriterionId{id=3}']</message>
          <ApplicationException.Type>ApiException</ApplicationException.Type>
          <errors xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="AdGroupCriterionError">
            <fieldPath>operations[0].operand.criterion</fieldPath>
            <trigger/>
            <errorString>AdGroupCriterionError.PRODUCT_PARTITION_ALREADY_EXISTS</errorString>
            <ApiError.Type>AdGroupCriterionError</ApiError.Type>
            <reason>PRODUCT_PARTITION_ALREADY_EXISTS</reason>
          </errors>
          <errors xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="AdGroupCriterionError">
            <fieldPath>operations[1].operand.criterion.parentCriterionId</fieldPath>
            <trigger>TempCriterionId{id=1}</trigger>
            <errorString>AdGroupCriterionError.PRODUCT_PARTITION_DOES_NOT_EXIST</errorString>
            <ApiError.Type>AdGroupCriterionError</ApiError.Type>
            <reason>PRODUCT_PARTITION_DOES_NOT_EXIST</reason>
          </errors>
          <errors xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="AdGroupCriterionError">
            <fieldPath>operations[2].operand.criterion.parentCriterionId</fieldPath>
            <trigger>TempCriterionId{id=1}</trigger>
            <errorString>AdGroupCriterionError.PRODUCT_PARTITION_DOES_NOT_EXIST</errorString>
            <ApiError.Type>AdGroupCriterionError</ApiError.Type>
            <reason>PRODUCT_PARTITION_DOES_NOT_EXIST</reason>
          </errors>
          <errors xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="AdGroupCriterionError">
            <fieldPath>operations[3].operand.criterion.parentCriterionId</fieldPath>
            <trigger>TempCriterionId{id=1}</trigger>
            <errorString>AdGroupCriterionError.PRODUCT_PARTITION_DOES_NOT_EXIST</errorString>
            <ApiError.Type>AdGroupCriterionError</ApiError.Type>
            <reason>PRODUCT_PARTITION_DOES_NOT_EXIST</reason>
          </errors>
          <errors xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="AdGroupCriterionError">
            <fieldPath>operations[4].operand.criterion.parentCriterionId</fieldPath>
            <trigger>TempCriterionId{id=2}</trigger>
            <errorString>AdGroupCriterionError.PRODUCT_PARTITION_DOES_NOT_EXIST</errorString>
            <ApiError.Type>AdGroupCriterionError</ApiError.Type>
            <reason>PRODUCT_PARTITION_DOES_NOT_EXIST</reason>
          </errors>
          <errors xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="AdGroupCriterionError">
            <fieldPath>operations[5].operand.criterion.parentCriterionId</fieldPath>
            <trigger>TempCriterionId{id=2}</trigger>
            <errorString>AdGroupCriterionError.PRODUCT_PARTITION_DOES_NOT_EXIST</errorString>
            <ApiError.Type>AdGroupCriterionError</ApiError.Type>
            <reason>PRODUCT_PARTITION_DOES_NOT_EXIST</reason>
          </errors>
          <errors xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="AdGroupCriterionError">
            <fieldPath>operations[6].operand.criterion.parentCriterionId</fieldPath>
            <trigger>TempCriterionId{id=2}</trigger>
            <errorString>AdGroupCriterionError.PRODUCT_PARTITION_DOES_NOT_EXIST</errorString>
            <ApiError.Type>AdGroupCriterionError</ApiError.Type>
            <reason>PRODUCT_PARTITION_DOES_NOT_EXIST</reason>
          </errors>
          <errors xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="AdGroupCriterionError">
            <fieldPath>operations[7].operand.criterion.parentCriterionId</fieldPath>
            <trigger>TempCriterionId{id=3}</trigger>
            <errorString>AdGroupCriterionError.PRODUCT_PARTITION_DOES_NOT_EXIST</errorString>
            <ApiError.Type>AdGroupCriterionError</ApiError.Type>
            <reason>PRODUCT_PARTITION_DOES_NOT_EXIST</reason>
          </errors>
          <errors xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="AdGroupCriterionError">
            <fieldPath>operations[8].operand.criterion.parentCriterionId</fieldPath>
            <trigger>TempCriterionId{id=3}</trigger>
            <errorString>AdGroupCriterionError.PRODUCT_PARTITION_DOES_NOT_EXIST</errorString>
            <ApiError.Type>AdGroupCriterionError</ApiError.Type>
            <reason>PRODUCT_PARTITION_DOES_NOT_EXIST</reason>
          </errors>
        </ApiExceptionFault>
      </detail>
    </soap:Fault>
  </soap:Body>
</soap:Envelope>

 

 

I need help and I'm a beginner

1 Expert replyverified_user

Re: Product Partiotion Error

[ Edited ]
Top Contributor
# 2
Top Contributor

the api forum is currently here:
https://groups.google.com/forum/#!forum/adwords-api