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

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/12990329-c1bc-4ed8-9630-e8273519d61e%40googlegroups.com.

Reply via email to