Create real estate feed google ads api

346 views
Skip to first unread message

Adhub manager

unread,
Oct 20, 2019, 7:10:10 PM10/20/19
to AdWords API and Google Ads API Forum
Hello!

Ive been trying to copy a real estate feed with the google ads nuget package for c# 

feeedquestion.PNG

My approach is 


  1. Get feed from query : "SELECT feed.attributes FROM feed WHERE feed.id = 'ID'"
  2. then i create a new feed with the data i get returned however this doesnt get a type of Dynamic display ad feed (RealEstate) as seen in the screensho, the attributes are all correct and looks fine.


What am i missing to be able to specify the type?






Adhub manager

unread,
Oct 21, 2019, 3:10:10 AM10/21/19
to AdWords API and Google Ads API Forum
This is for google ads api.

Adhub manager

unread,
Oct 21, 2019, 5:42:23 AM10/21/19
to AdWords API and Google Ads API Forum
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.
However i run into another problem when using the google ads api c# package i cant find any information on FeeditemScheduler 
feedservices scheduling in Adwords but there is no equivilant in google ads api, so how do i set the feed scheduling to http link ?

Google Ads API Forum Advisor Prod

unread,
Oct 21, 2019, 10:38:42 AM10/21/19
to ad...@1stweb.dk, adwor...@googlegroups.com
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

Adhub manager

unread,
Dec 9, 2019, 6:40:00 AM12/9/19
to AdWords API and Google Ads API Forum

Thank you for taking your time and providing answers it worked like a charm, sorry for the late reply other business came up :)


Google Ads API Forum Advisor Prod

unread,
Dec 9, 2019, 3:34:33 PM12/9/19
to ad...@1stweb.dk, adwor...@googlegroups.com
Hi,

Thank you for reaching out. You can mimic this Java example or follow this guide for performing this action. Mapping to the RealEstatePlaceholderField should allow the proper type to be set. If this doesn't work, please share your detailed request and response logs via reply privately to author so that I can further investigate the issue. You can find information on enabling logging here.

Regards,
Mitchell

Google Ads API Team

ref:_00D1U1174p._5001UOE7Fk:ref

Adhub manager

unread,
Dec 9, 2019, 6:04:25 PM12/9/19
to AdWords API and Google Ads API Forum
Sorry i seemed to have posted the same question, it worked, thank you for your time!
Reply all
Reply to author
Forward
0 new messages