Getting MISSING_FEEDMAPPING_FOR_PLACEHOLDER_TYPE ERROR

6 views
Skip to first unread message

Lajpat Bishnoi

unread,
Aug 27, 2015, 9:31:38 AM8/27/15
to AdWords API Forum
Hi Josh Radcliff ,

 While mapping the feedItems with campaign I am getting following error.
CampaignFeedError.MISSING_FEEDMAPPING_FOR_PLACEHOLDER_TYPE

SOAP Request:

<?xml version="1.0" encoding="UTF-8"?>
    <soapenv:Header>
        <ns1:RequestHeader xmlns:ns1="https://adwords.google.com/api/adwords/cm/v201502" soapenv:mustUnderstand="0">
            <ns1:clientCustomerId>#####</ns1:clientCustomerId>
            <ns1:developerToken>#####</ns1:developerToken>
            <ns1:userAgent>sokrati.api (AwApi-Java, AdWords-Axis/1.38.0, Common-Java/1.38.0, Axis/1.4, Java/1.6.0_21, jars)</ns1:userAgent>
            <ns1:validateOnly>false</ns1:validateOnly>
            <ns1:partialFailure>false</ns1:partialFailure>
        </ns1:RequestHeader>
    </soapenv:Header>
    <soapenv:Body>
            <operations>
                <operator>ADD</operator>
                <operand>
                    <feedId>29236701</feedId>
                    <campaignId>311104960</campaignId>
                    <matchingFunction>
                        <operator>IN</operator>
                        <lhsOperand xmlns:ns2="https://adwords.google.com/api/adwords/cm/v201502" xsi:type="ns2:RequestContextOperand">
                            <ns2:contextType>FEED_ITEM_ID</ns2:contextType>
                        </lhsOperand>
                        <rhsOperand xmlns:ns3="https://adwords.google.com/api/adwords/cm/v201502" xsi:type="ns3:ConstantOperand">
                            <ns3:type>LONG</ns3:type>
                            <ns3:longValue>2012165338</ns3:longValue>
                        </rhsOperand>
                    </matchingFunction>
                    <placeholderTypes>2</placeholderTypes>
                </operand>
            </operations>
        </mutate>
    </soapenv:Body>
</soapenv:Envelope>


SOAP RESPONSE:
<?xml version="1.0" encoding="UTF-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Header>
        <ResponseHeader xmlns="https://adwords.google.com/api/adwords/cm/v201502">
            <requestId>00051e497c6bd9900a814cd15d036d69</requestId>
            <serviceName>CampaignFeedService</serviceName>
            <methodName>mutate</methodName>
            <operations>0</operations>
            <responseTime>43</responseTime>
        </ResponseHeader>
    </soap:Header>
    <soap:Body>
        <soap:Fault>
            <faultcode>soap:Server</faultcode>
            <faultstring>[CampaignFeedError.MISSING_FEEDMAPPING_FOR_PLACEHOLDER_TYPE @ operations[0].operand.placeholderTypes; trigger:'Invalid ids: 2']</faultstring>
            <detail>
                <ApiExceptionFault xmlns="https://adwords.google.com/api/adwords/cm/v201502">
                    <message>[CampaignFeedError.MISSING_FEEDMAPPING_FOR_PLACEHOLDER_TYPE @ operations[0].operand.placeholderTypes; trigger:'Invalid ids: 2']</message>
                    <ApplicationException.Type>ApiException</ApplicationException.Type>
                    <errors xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="CampaignFeedError">
                        <fieldPath>operations[0].operand.placeholderTypes</fieldPath>
                        <trigger>Invalid ids: 2</trigger>
                        <errorString>CampaignFeedError.MISSING_FEEDMAPPING_FOR_PLACEHOLDER_TYPE</errorString>
                        <ApiError.Type>CampaignFeedError</ApiError.Type>
                        <reason>MISSING_FEEDMAPPING_FOR_PLACEHOLDER_TYPE</reason>
                    </errors>
                </ApiExceptionFault>
            </detail>
        </soap:Fault>
    </soap:Body>
</soap:Envelope>


At my outset i have retried the request at an interval of 5 minutes but no success.

Note: I have removed CustomerId from request if you do need i can send the same privately.

  Thank you.
--... ...--
Regards,
Lajpat Bishnoi.
Software developer@Sokrati
Reply all
Reply to author
Forward
This conversation is locked
You cannot reply and perform actions on locked conversations.
0 new messages