How to get HTML5 public preview URL from the API?

33 views
Skip to first unread message

est...@datagran.io

unread,
Feb 11, 2019, 2:04:01 PM2/11/19
to AdWords API and Google Ads API Forum
Hi guys,

We need to get a public preview URL for our HTML5 ads.

Using AdService:

entries.templateElements.fields.fieldMedia.urls (FULL) gives us an URL that shows a blank page, but has the source code of what seems to be the ad preview:

When getting the preview URL from MCC we get exactly what we need to get via API:


We tried building this URL but seems like ocid is a private parameter (also asked on this URL)

Thank you,

googleadsapi...@google.com

unread,
Feb 11, 2019, 6:11:58 PM2/11/19
to AdWords API and Google Ads API Forum
Hello Esteban,

Looks like there is another thread going for the same question. To avoid duplication, please followup on the other thread.

Regards,
Sai Teja, AdWords API Team


=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
    http://googleadsdeveloper.blogspot.com/search/label/adwords_api
    https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

Was your question answered? Please rate your experience with us by taking a short survey.
If not -- reply to this email and tell us what else we can do to help.

Take Survey

Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com/search/label/adwords_api
https://developers.google.com/adwords/api/community/

Reply all
Reply to author
Forward
0 new messages