Retrieve CreativeNativeStylePreview urls without specifying site url

49 views
Skip to first unread message

kar...@hotpads.com

unread,
Sep 13, 2018, 6:56:20 PM9/13/18
to Google Ad Manager API Forum
When I go to https://admanager.google.com/1234#delivery/PreviewCreative/orderId=123&lineItemId=123&creativeId=123, I can see creative native style previews without a website context. (See image)

Screen Shot 2018-09-13 at 3.37.52 PM.png























Are these preview urls available from the API somewhere?

Thanks a lot 

Vincent Racaza (DFP API Team)

unread,
Sep 14, 2018, 1:12:08 AM9/14/18
to Google Ad Manager API Forum
Hi,

If you want to retrieve the preview URL only (without the actual site URL) of the template creative, you can use the getCreativesByStatement of CreativeService, and get it in the previewUrl field of the TemplateCreative object.

Kindly see this Java example on how to get the creatives which is also available to other languages that Ad Manager API supports.

Thanks,
Vincent Racaza, Ad Manager API Team

kar...@hotpads.com

unread,
Sep 14, 2018, 11:51:25 AM9/14/18
to Google Ad Manager API Forum
Hi Vincent,

Thanks for the quick reply. Unfortunately, the previewUrl from the CreativeService gives back a page with creative field information only (see second picture). It's the same url as the top preview url (see first picture).

Screen Shot 2018-09-14 at 8.40.37 AM.png


Screen Shot 2018-09-14 at 8.32.31 AM.png


I suspect it's because this is a "native creative". The creative native style preview urls without the website context simply don't seem exposed by your api.

Vincent Racaza (DFP API Team)

unread,
Sep 17, 2018, 12:29:46 AM9/17/18
to Google Ad Manager API Forum
Hi,

Thank you for clarifying your concern. You are correct that the link/URL for previewing the actual native creatives is currently not supported in Ad Manager API. The value in the API is different than the value in the UI.

You may continue to follow our blog to know if and when this field will be supported in API.

Thanks,
Vincent Racaza, Ad Manager API Team

kar...@hotpads.com

unread,
Sep 17, 2018, 11:43:40 AM9/17/18
to Google Ad Manager API Forum
Thanks a lot!
Reply all
Reply to author
Forward
0 new messages