AdGroupCriterionError.PRODUCT_PARTITION_DOES_NOT_EXIST

96 views
Skip to first unread message

jhufg....@yahoo.co.in

unread,
Mar 8, 2016, 9:09:00 AM3/8/16
to AdWords API Forum
Please find the soap request :
2016-03-08 13:05:11 INFO  requestInfoLogger:97 - Request made: Service: "AdGroupCriterionServiceInterfacePort" Method: "mutate" URL: "https://adwords.google.com/api/adwords/cm/v201601/AdGroupCriterionService"
2016-03-08 13:05:11 WARN  soapXmlLogger:84 - SOAP Request:
<?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <soapenv:Header>
        <ns1:RequestHeader xmlns:ns1="https://adwords.google.com/api/adwords/cm/v201601" soapenv:mustUnderstand="0">
            <ns1:clientCustomerId>12345567</ns1:clientCustomerId>
            <ns1:developerToken>frgergergergergerger</ns1:developerToken>
            <ns1:userAgent>Test (AwApi-Java, AdWords-Axis/2.10.0, Common-Java/2.10.0, Axis/1.4, Java/1.7.0_95, maven)</ns1:userAgent>
            <ns1:validateOnly>false</ns1:validateOnly>
            <ns1:partialFailure>false</ns1:partialFailure>
        </ns1:RequestHeader>
    </soapenv:Header>
    <soapenv:Body>
            <operations>
                <operator>ADD</operator>
                <operand>
                    <adGroupId>26179982219</adGroupId>
                    <criterion xmlns:ns2="https://adwords.google.com/api/adwords/cm/v201601" xsi:type="ns2:ProductPartition">
                        <type>PRODUCT_PARTITION</type>
                        <partitionType>UNIT</partitionType>
                        <parentCriterionId>-1</parentCriterionId>
                        <caseValue xsi:type="ns2:ProductOfferId">
                            <value>12132113545</value>
                        </caseValue>
                    </criterion>
                </operand>
            </operations>
        </mutate>
    </soapenv:Body>
</soapenv:Envelope>


While making above request getting ERROR : "AdGroupCriterionError.PRODUCT_PARTITION_DOES_NOT_EXIST"
can someone point out what is wrong with this soap request.


Umesh Dengale

unread,
Mar 8, 2016, 4:30:07 PM3/8/16
to AdWords API Forum
Hello,

I checked the adGroup-12132113545, there are no existing product group. The parentCriterionId could be Undefined for the root partition. Please check out the AddProductPartitionTree Java example code from the client library. Other languages example code could be found here

If the issue is not resolved then provide the SOAP XML request and response logs. Just click Reply privately to author in the forum when responding.

Thanks,
Umesh, AdWords API Team.

Reply all
Reply to author
Forward
0 new messages