let operation = {
operator : 'ADD',
operand : {
feedId : feed.id,
matchingFunction : {
operator : 'IDENTITY',
lhsOperand : {
'xsi:type' : 'ConstantOperand',
type : 'BOOLEAN',
booleanValue : true
}
},
placeholderTypes : 7,
status : 'ENABLED'
}
};<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Header><ResponseHeader xmlns="https://adwords.google.com/api/adwords/cm/v201809"><requestId>000596244b03d7b80a376246ee057ed6</requestId><serviceName>CustomerFeedService</serviceName><methodName>mutate</methodName><operations>0</operations><responseTime>136</responseTime></ResponseHeader></soap:Header><soap:Body><soap:Fault><faultcode>soap:Client</faultcode><faultstring>[CustomerFeedError.MISSING_FEEDMAPPING_FOR_PLACEHOLDER_TYPE @ operations[0].operand.placeholderTypes; trigger:\'LOCATION\']</faultstring><detail><ApiExceptionFault xmlns="https://adwords.google.com/api/adwords/cm/v201809"><message>[CustomerFeedError.MISSING_FEEDMAPPING_FOR_PLACEHOLDER_TYPE @ operations[0].operand.placeholderTypes; trigger:\'LOCATION\']</message><ApplicationException.Type>ApiException</ApplicationException.Type><errors xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="CustomerFeedError"><fieldPath>operations[0].operand.placeholderTypes</fieldPath><fieldPathElements><field>operations</field><index>0</index></fieldPathElements><fieldPathElements><field>operand</field></fieldPathElements><fieldPathElements><field>placeholderTypes</field></fieldPathElements><trigger>LOCATION</trigger><errorString>CustomerFeedError.MISSING_FEEDMAPPING_FOR_PLACEHOLDER_TYPE</errorString><ApiError.Type>CustomerFeedError</ApiError.Type><reason>MISSING_FEEDMAPPING_FOR_PLACEHOLDER_TYPE</reason></errors></ApiExceptionFault></detail></soap:Fault></soap:Body></soap:Envelope>Hi Jiaxin,
Thank you for reaching out. The CustomerFeedError.MISSING_FEEDMAPPING_FOR_PLACEHOLDER_TYPE error occurs when you are trying to do feed mapping on a type that it doesn't exist for. Did you make sure to follow this guide when creating your feeds? You need to make sure that you have completed the feed mapping before associating any of the feeds or feed items with your customer.
If you followed all of those steps and are still having an error, can you please share the complete XML SOAP logs for your request so that we can investigate further? See here for more details on how to enable logging.
Regards,
Mitchell
Google Ads API Team