LineItemOperationError.NOT_APPLICABLE

424 views
Skip to first unread message

Tony Ng

unread,
Aug 19, 2017, 11:30:22 PM8/19/17
to Google's DoubleClick for Publishers API Forum
Hello,

I fail to activate a paused line item and got a 'LineItemOperationError.NOT_APPLICABLE' error on it. I have no idea why I get this error. Could you please help. Thank you.

Network Code: 55799853
User Role: Trafficker

XML Request:

<?xml version="1.0" encoding="UTF-8"?> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="https://www.google.com/apis/ads/publisher/v201705" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <SOAP-ENV:Header> <ns1:RequestHeader> <ns1:networkCode>55799853</ns1:networkCode> <ns1:applicationName>adec_dfp (DfpApi-PHP, googleads-php-lib/27.1.0, PHP/5.6.28)</ns1:applicationName> </ns1:RequestHeader> </SOAP-ENV:Header> <SOAP-ENV:Body> <ns1:performLineItemAction> <ns1:lineItemAction xsi:type="ns1:ActivateLineItems" /> <ns1:filterStatement> <ns1:query>WHERE id = :id ORDER BY id ASC</ns1:query> <ns1:values> <ns1:key>id</ns1:key> <ns1:value xsi:type="ns1:NumberValue"> <ns1:value>4396464843</ns1:value> </ns1:value> </ns1:values> </ns1:filterStatement> </ns1:performLineItemAction> </SOAP-ENV:Body> </SOAP-ENV:Envelope>

XML Response:

<?xml version="1.0" encoding="UTF-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Header> <ResponseHeader xmlns="https://www.google.com/apis/ads/publisher/v201705"> <requestId>aa9292f1b8d7edc890d664ce599b6907</requestId> <responseTime>113</responseTime> </ResponseHeader> </soap:Header> <soap:Body> <soap:Fault> <faultcode>soap:Server</faultcode> <faultstring>[LineItemOperationError.NOT_APPLICABLE @ id; trigger:'4396464843']</faultstring> <detail> <ApiExceptionFault xmlns="https://www.google.com/apis/ads/publisher/v201705"> <message>[LineItemOperationError.NOT_APPLICABLE @ id; trigger:'4396464843']</message> <errors xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="LineItemOperationError"> <fieldPath>id</fieldPath> <fieldPathElements> <field>id</field> </fieldPathElements> <trigger>4396464843</trigger> <errorString>LineItemOperationError.NOT_APPLICABLE</errorString> <reason>NOT_APPLICABLE</reason> </errors> </ApiExceptionFault> </detail> </soap:Fault> </soap:Body> </soap:Envelope>

Best Regards,
Tony

Vincent Racaza (DFP API Team)

unread,
Aug 21, 2017, 2:52:20 AM8/21/17
to Google's DoubleClick for Publishers API Forum
Hi Tony,

Upon checking the line item (4396464843) in you network (55799853), the line item is in paused status, therefore, the activation of the line item is not an appropriate action for this, thus the error was generated. You can use the ResumeLineItems action method to resume its delivery.

If the issue still persists after doing the suggestion, kindly provide your latest SOAP request and response logs with the email address you used in authentication. You may use the Reply privately to author option when replying.

Thanks,
Vincent Racaza, DFP API Team
Reply all
Reply to author
Forward
0 new messages