How can i load an HTML5 ad using cookie or gather plain information from the user (adding up exposures or etc)

54 views
Skip to first unread message

pigmen...@gmail.com

unread,
Jun 16, 2015, 9:48:14 AM6/16/15
to adwor...@googlegroups.com
Hey,
I'm trying to create an html5 ad that will be loaded in the GDN
the purpose of the ad is actually save the user input in cookie or any other solution.

EX:
Banner display a question:
"How do you feel from 1 to 5."
user chooses 3 (Data being saved)
next time he sees the ad on the GDN i can change the ad and ask 
"Do you still fell 3"?  and so on.

i already created a test using the " Google Web Designer" and its GDN approved but i get the following error.

Uncaught SecurityError: Failed to read the 'cookie' property from 'Document': The document is sandboxed and lacks the 'allow-same-origin' flag.

Appriciate you help!!
Thnaks!

Nadine Sundquist (AdWords API Team)

unread,
Jun 16, 2015, 12:47:30 PM6/16/15
to adwor...@googlegroups.com, pigmen...@gmail.com
Hi,

This error sounds like a fairly generic error that you would get from JavaScript, which is not something you would get from the API. If you're interacting with the AdWords user interface rather than the AdWords API, I would recommend posting your question on the AdWords forum.

Cheers,
Nadine, AdWords API Team 
Reply all
Reply to author
Forward
0 new messages