How to set 'Run of network' ad unit in Line Item using DFP API
776 views
Skip to first unread message
Pradeep Sharma
unread,
Mar 11, 2015, 2:46:16 PM3/11/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to google-doubleclick...@googlegroups.com
Hi.
We have id of an ad unit which we can set in Line item. In DFP UI, I can see if user do not select any targeting then by default 'Run of Network' get selected by default. Is there any id of 'Run of Network' as well. If yes how can I see that id as it's not visible in 'Inventory' section. Also how can I set 'Run of Network' in a line item using DFP API v 201411.
Best Regards, Pradeep Sharma
Pradeep Sharma
unread,
Mar 11, 2015, 3:52:16 PM3/11/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to google-doubleclick...@googlegroups.com
Quick response will be highly appreciated. Thanks !!
Pradeep Sharma
unread,
Mar 12, 2015, 10:20:06 AM3/12/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to google-doubleclick...@googlegroups.com
Please let me know how would I know the id of 'Run of Network' ad unit?? is it possible through API??
We have id of an ad unit which we can set in Line item. In DFP UI, I can
see if user do not select any targeting then by default 'Run of
Network' get selected by default. Is there any id of 'Run of Network' as
well. If yes how can I see that id as it's not visible in 'Inventory'
section. Also how can I set 'Run of Network' in a line item using DFP
API v 201411.
Chris Seeley (DFP API Team)
unread,
Mar 12, 2015, 10:34:10 AM3/12/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to google-doubleclick...@googlegroups.com
Hi Pradeep,
You'll want to target the network's effective root ad unit, and include descendants. You can get this from the NetworkService.getCurrentNetwork: