Hello,

You will be able to set the schedules to the FeedItems using the 
AdScheduleInfo. Please find the sample code snippet in Java as a reference.

AdScheduleInfo adScheduleInfo = AdScheduleInfo.newBuilder()
.setDayOfWeek(DayOfWeek.FRIDAY)
.setStartHour(Int32Value.of(0))
.setStartMinute(MinuteOfHour.ZERO)
.setEndHour(Int32Value.of(23))
.setEndMinute(MinuteOfHour.ZERO)
.build();

ExtensionFeedItem extensionFeedItem = ExtensionFeedItem.newBuilder()
.setSitelinkFeedItem(sitelink)
.addAdSchedules(adScheduleInfo)
.setStartDateTime(StringValue.of("2018-02-01 14:34:30"))
.setDevice(FeedItemTargetDevice.MOBILE)
.setStatus(FeedItemStatus.ENABLED)
.build();

Could you please give this a try and let me know if you have any issues?

Thanks,
Bharani, Google Ads API Team
ref:_00D1U1174p._5001UKNvL8:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
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 and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/glSWL000000000000000000000000000000000000000000000PZQBC100Muc7WrEjSci7q08p5o1Xhw%40sfdc.net.

Reply via email to