Dynamic Feed using GWD and Doubleclick not working correctly

899 views
Skip to first unread message

deano...@gmail.com

unread,
Jan 18, 2017, 4:32:18 AM1/18/17
to Google Web Designer beta
Hello guys.

I am new to using both GWD and Doubleclick, so I have been unsuccessful in troubleshooting this, would anyone be able to point me in the right direction to fixing this?

I have created a simple GWD project that contains only a YouTube component. I have also created a sheet within Google Sheets that I've imported to Doubleclick as a feed, which has the following: unique id, reporting label, youtube_url, isdefault, isactive. The sheet has been binded to the GWD project and upon previewing it, it correctly identifies the first youtube_url and displays it within the GWD project. However, if I change the youtube_url to a different url and transform the sheet within Doubleclick, it continues to only display the first URL it showed, even when there is no longer any mention of this url within the spreadsheet.

The binding I used was the following:

Element: gwd-youtube #Youtube_Video
Element attribute: URL
Data Schema object: Test_Spreadsheet_Sheet1.0.Youtube_video_URL.Url

If any more information is required I am happy to provide this.

Thanks

Dean.

Google Web Designer beta

unread,
Jan 18, 2017, 4:39:30 PM1/18/17
to Google Web Designer beta
Hi Dean,

Are you saying you still see the old URL when previewing the file locally from GWD?

Have you try previewing your creative in Studio yet? 

Please publish the file to Studio, then preview within Studio using the Preview tab under Dynamic Content (see detail here: https://support.google.com/richmedia/answer/6010541?hl=en).

Once you have updated and transformed the feed correctly, the Preview in Studio should show the correct feed data.

In GWD, when the dynamic bindings are added and initialized, your dynamic profile from Studio will return a set of sample feed values to GWD, it is similar to the codes you see in the "Generate code" section in Studio such as the following:




This sample feed values will not be updated locally in the GWD file, therefore you will see the same URL when preview the file locally even you have updated and transformed the content correctly within Studio.

Thanks,
Emily
(Google Web Designer Team)


Dean Ball

unread,
Jan 23, 2017, 11:15:19 AM1/23/17
to Google Web Designer beta
Hi thank you Emily that is perfect. My videos are now working correctly, however I have had another problem that's come up.

I have created an image element that I want to display an image in the background depending on which row of the spreadsheet is being displayed. However the element is not displaying the image URL that I have provided in the sheet and it is always a blank background. The sheet contains a column that is called image_url and it has a URL entered.

The binding is currently:

gwd-image1 - source - pluckandjoin image_url.Url

Again, any help would be greatly appreciated.

Thanks
Dean

Google Web Designer beta

unread,
Jan 24, 2017, 5:32:14 PM1/24/17
to Google Web Designer beta
Hi Dean,

"pluckandjoin" will not work on single image source. 

In order to set the binding for a single image source, the correct binding should be:

gwd-image1 > source > product.0.imageUrl

So when to use "pluckandjoin"? You can use it to set binding for Swipeable Gallery (or Carousel Gallery) which supports multiple image sources, e.g.:

gwd-swipegallery > images > product | pluckandjoin imageUrl 
or
gwd-swipegallery > images > product | pluck imageUrl | join 

See the examples in the following screenshot:


Hope this helps!

Dean Ball

unread,
Jan 26, 2017, 7:04:06 AM1/26/17
to Google Web Designer beta
Hi Emily,

Thank you for your help, this has helped me big time!

Regards

Dean

fento...@gmail.com

unread,
Mar 3, 2017, 9:28:06 AM3/3/17
to Google Web Designer beta
Is there documentation anywhere for these filter functions on dynamic bindings? It would be nice to have an example that shows what each does and what it returns from different inputs and when they are intended to be used.
Reply all
Reply to author
Forward
0 new messages