Thanks Josh.
How do I check in the future if a feedmapping exists?

On Wednesday, August 26, 2015 at 3:20:04 PM UTC-4, Josh Radcliff (AdWords 
API Team) wrote:
>
> Hi,
>
> The error below indicates that you did not yet create a FeedMapping 
> <https://developers.google.com/adwords/api/docs/reference/v201506/FeedMappingService.FeedMapping>
>  with 
> placeholderType 
> <https://developers.google.com/adwords/api/docs/reference/v201506/FeedMappingService.FeedMapping#placeholderType>
>  1 
> (sitelinks) for your feed. Please create that *FeedMapping* and then try 
> creating the *CampaignFeed* again.
>
> Thanks,
> Josh, AdWords API Team
>
> On Wednesday, August 26, 2015 at 11:08:03 AM UTC-4, Milo Hou wrote:
>>
>> I'm trying to create a new campaign feed. It has historically worked but 
>> recently began to fail. Here is the soap request and response.
>>
>> <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/v201502"; 
>> soapenv:mustUnderstand="0">
>>
>>             <ns1:clientCustomerId>######</ns1:clientCustomerId>
>>
>>             <ns1:developerToken>######</ns1:developerToken>
>>
>>             <ns1:userAgent>######## (AwApi-Java, AdWords-Axis/1.39.0, 
>> Common-Java/1.39.0, Axis/1.4, Java/1.8.0_45, jars)</ns1:userAgent>
>>
>>             <ns1:validateOnly>false</ns1:validateOnly>
>>
>>             <ns1:partialFailure>false</ns1:partialFailure>
>>
>>         </ns1:RequestHeader>
>>
>>     </soapenv:Header>
>>
>>     <soapenv:Body>
>>
>>         <mutate xmlns="https://adwords.google.com/api/adwords/cm/v201502
>> ">
>>
>>             <operations>
>>
>>                 <operator>ADD</operator>
>>
>>                 <operand>
>>
>>                     <feedId>29142296</feedId>
>>
>>                     <campaignId>329297211</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>2007668790</ns3:longValue>
>>
>>                         </rhsOperand>
>>
>>                         <rhsOperand xmlns:ns4="
>> https://adwords.google.com/api/adwords/cm/v201502"; 
>> xsi:type="ns4:ConstantOperand">
>>
>>                             <ns4:type>LONG</ns4:type>
>>
>>                             <ns4:longValue>2005456913</ns4:longValue>
>>
>>                         </rhsOperand>
>>
>>                         <rhsOperand xmlns:ns5="
>> https://adwords.google.com/api/adwords/cm/v201502"; 
>> xsi:type="ns5:ConstantOperand">
>>
>>                             <ns5:type>LONG</ns5:type>
>>
>>                             <ns5:longValue>2005454435</ns5:longValue>
>>
>>                         </rhsOperand>
>>
>>                         <rhsOperand xmlns:ns6="
>> https://adwords.google.com/api/adwords/cm/v201502"; 
>> xsi:type="ns6:ConstantOperand">
>>
>>                             <ns6:type>LONG</ns6:type>
>>
>>                             <ns6:longValue>2005449634</ns6:longValue>
>>
>>                         </rhsOperand>
>>
>>                         <rhsOperand xmlns:ns7="
>> https://adwords.google.com/api/adwords/cm/v201502"; 
>> xsi:type="ns7:ConstantOperand">
>>
>>                             <ns7:type>LONG</ns7:type>
>>
>>                             <ns7:longValue>2005449637</ns7:longValue>
>>
>>                         </rhsOperand>
>>
>>                         <rhsOperand xmlns:ns8="
>> https://adwords.google.com/api/adwords/cm/v201502"; 
>> xsi:type="ns8:ConstantOperand">
>>
>>                             <ns8:type>LONG</ns8:type>
>>
>>                             <ns8:longValue>2005454441</ns8:longValue>
>>
>>                         </rhsOperand>
>>
>>                     </matchingFunction>
>>
>>                     <placeholderTypes>1</placeholderTypes>
>>
>>                 </operand>
>>
>>             </operations>
>>
>>         </mutate>
>>
>>     </soapenv:Body>
>>
>> </soapenv:Envelope>
>>
>>
>>
>> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";>
>>
>>     <soap:Header>
>>
>>         <ResponseHeader xmlns="
>> https://adwords.google.com/api/adwords/cm/v201502";>
>>
>>             <requestId>00051e382723e5390a8160572d0105d1</requestId>
>>
>>             <serviceName>CampaignFeedService</serviceName>
>>
>>             <methodName>mutate</methodName>
>>
>>             <operations>0</operations>
>>
>>             <responseTime>1510</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: 
>> 1']</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: 1']</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: 1</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>
>>
>>
>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
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 Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/87d7fccb-42e9-4735-a1ad-a2a5af1be9c8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to