Got MISSING_FEEDMAPPING_FOR_PLACEHOLDER_TYPE during creating location extension

12 views
Skip to first unread message

Jiaxin Wu

unread,
Oct 30, 2019, 1:59:16 PM10/30/19
to AdWords API and Google Ads API Forum
Hi,

I follow the guide for creating location extension: https://developers.google.com/adwords/api/docs/guides/feed-services-locations

When I called CustomerFeedService to add the feed with the customer, I got "MISSING_FEEDMAPPING_FOR_PLACEHOLDER_TYPE" error. But there is written, that the FeedMapping is not need, because it is generated automatically.

And I did add the feed to the customer successfully this morning, but it failed now. 
I set the operation to be
let operation = {
           
operator : 'ADD',
            operand  
: {
                feedId          
: feed.id,
                matchingFunction
: {
                   
operator : 'IDENTITY',
                    lhsOperand
: {
                       
'xsi:type' : 'ConstantOperand',
                        type
: 'BOOLEAN',
                        booleanValue
: true
                   
}
               
},
                placeholderTypes
: 7,
                status
: 'ENABLED'
           
}
       
};

Following is my soap error:

<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>

Can you please me get an advice, please?

Thank you,
Jessie

Google Ads API Forum Advisor Prod

unread,
Oct 30, 2019, 4:03:31 PM10/30/19
to jiaxi...@gmail.com, adwor...@googlegroups.com

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


 

ref:_00D1U1174p._5001UKOzSU:ref
Reply all
Reply to author
Forward
0 new messages