My approach is
What am i missing to be able to specify the type?
I figured out i had to create a feed mapping for my feed and add the id's i got as a placeholder for the feed then the type showed up and i could select it in campaigns.
feedservices scheduling in Adwords but there is no equivilant in google ads api, so how do i set the feed scheduling to http link ?
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
Thank you for taking your time and providing answers it worked like a charm, sorry for the late reply other business came up :)