Ad Opportunity Duration Network Setting?

42 views
Skip to first unread message

kier...@placements.io

unread,
Aug 27, 2021, 11:51:55 AM8/27/21
to Google Ad Manager API Forum
Hey team, is this field surfaced via API? I couldn't find it in the documentation but I want to make sure I'm not missing something.
Thanks!
Ad Opportunity Duration Network settng.png

Ad Manager API Forum Advisor

unread,
Aug 30, 2021, 10:52:06 PM8/30/21
to kier...@placements.io, google-doubleclick...@googlegroups.com

Hi Kieran,

 

Thanks for reaching out to our API support team, I hope that you are safe and doing well.

 

I understand that your concern is related to the Ad Manager API, however, a network's default settings can only be adjusted in the UI. With that being said, I can try to raise a feature request for this, but I would just like to ask for you to provide more details as well as your use case regarding this.

 

Looking forward to your response.

Regards,

 

Google Logo
Yasmin Gabrielle Padua
Ad Manager API Team
 


ref:_00D1U1174p._5004Q2MjNM3:ref

Sheeds

unread,
Oct 11, 2021, 9:01:29 PM10/11/21
to Google Ad Manager API Forum
Hi Yasmin,

We have just upgraded to the 202108 API (from 202011) and noticed that lineitem.videoMaxDuration is now a required field for video ads (since the introduction of the 202102 API).
As you've indicated this setting (Ad Opportunity Duration) is not available via the API. Is there any intention of making this available? Without it being available via the API, we have to have a separate setting in our application to configure this setting which is less than ideal.

Kind Regards
Mark 

Ad Manager API Forum Advisor

unread,
Oct 12, 2021, 3:30:51 AM10/12/21
to msh...@atex.com, google-doubleclick...@googlegroups.com

Hi Mark,

 

Allow me to raise this to the team as a feature request; if it's possible. In the meantime, you may want to follow our Ads Developer Blog and release notes for announcements about new API releases and features.

Mark Sheedy

unread,
Oct 19, 2021, 5:31:59 PM10/19/21
to Ad Manager API Forum Advisor, google-doubleclick...@googlegroups.com

Hi,

Just one other question regarding this issue.

We are now setting videoMaxDuration on the Lineitem through the API (defaulting to 30 on creation), however this is not showing up in the GAM UI under Creative forecasting defaults | Max duration as below. Or am I miss interpreting this?

When we retrieve the lineitem back from the API the lineitem does show videoMaxDuration = 30 so it is persisted to the API.

Kind regards

Mark

Ad Manager API Forum Advisor

unread,
Oct 19, 2021, 5:51:05 PM10/19/21
to msh...@atex.com, google-doubleclick...@googlegroups.com
Hi Mark,

This field is in milliseconds, so you'd need to set it to 30,000 to represent 30 seconds. The UI is reflecting your value of 30ms, and rounding it down to 0 seconds.

Thanks,

Google Logo
Chris Seeley
Ad Manager API Team
 


ref:_00D1U1174p._5004Q2MjNM3:ref

Mark Sheedy

unread,
Oct 19, 2021, 10:28:05 PM10/19/21
to Ad Manager API Forum Advisor, google-doubleclick...@googlegroups.com

I knew it must’ve been something simples – thankyou. Obviously setting the value to 30 milliseconds was enough to allow the API to create the lineitem.

Reply all
Reply to author
Forward
0 new messages