Deleting Line items?

2,308 views
Skip to first unread message

ck...@keypr.com

unread,
Aug 30, 2017, 9:40:15 PM8/30/17
to Google's DoubleClick for Publishers API Forum
So our goal was to create an order with a single line item that has about a dozen creatives.  And then we use that order as a template and copy the line item to new orders that we create.  Now the issue that we are having is that in the "template" order the line item was copied, so it now has 2 versions of the same line item.  Is there any way that we can delete the copied line item as it was created by mistake? 

Vincent Racaza (DFP API Team)

unread,
Aug 31, 2017, 1:20:05 AM8/31/17
to Google's DoubleClick for Publishers API Forum
Hi,

If your line item is not yet serving, then you can delete it through DeleteLineItems action method. You can refer to an example here (in Java), just change the action method being used to DeleteLineItems.

Let me know if you have further clarifications.

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