AdWords is now Google Ads. Our new name reflects the full range of advertising options we offer across Search, Display, YouTube, and more. Learn more

2.7K members online now
2.7K members online now
Understand Google's advertising policies, including ad approval status and account suspension
Guide Me

Creative coding may not use cross-domain scripting?

Visitor ✭ ✭ ✭
# 1
Visitor ✭ ✭ ✭

Hi everyone, 


I was reading this

In the Static Banner Ad section, I saw this Creative coding may not use cross-domain scripting

Search around and have a general idea of what is it.

But I would like to know does using Javascript Postmessage to communicate with an iframe consider as a cross-domain scripting? 

My script will generate the ad in an iframe, in order to communicate the the iframe, I have to use the Javscript Postmessage. But I don't know if this violet the policy. 

So can anyone please clarify for me?

Appreciate and thanks in advance. 



Re: Creative coding may not use cross-domain scripting?

Community Manager
# 2
Community Manager

Hi Ninjoe,

I've escalated this issue to a technical specialist. You should hear an update soon.

Thanks for your patience while you wait,