在带有参数的 HTML5 广告横幅中使用 ExitAPI

Using ExitAPI in a HTML5 ad banner with parameters

我为 Adwords 创建了一个横幅,使用 HTML5 和一个表单元素,它接受很少的输入,比如你喜欢的颜色、类型等。 整个横幅不可点击,只有提交按钮,我通过添加 "onclick="ExitApi.exit()"" 到按钮来实现。

所有这些工作正常,但现在我的问题是,这个 ExitApi 有多灵活?

每当我点击提交按钮时,我想将生成的参数附加到最终的 url,这是通过 AdWords 设置的。

使用 adwords 预览,我可以看到在重定向过程中,最后一个参数是 'adurl',其中包含我的最终目的地。 手动编辑它并仅输入参数可以帮助我实现我想要的,但是如果可能的话,我如何才能使用 ExitApi js 库进行附加?

我还尝试使用 'gwd.actions.gwdDoubleclick.exitOverride('gwd-ad', 'clickTag', 'http://example.com/index.php?some=var'+params, true, true);' 之类的东西通过 GWD 使用 CTA,但没有用,而且也有限制,因为它迫使开发人员通过横幅设置 url。

欢迎任何想法!

谢谢, 埃德维纳斯

如果有人也被困在这个问题上,请更新。

我已就此联系 Google Adwords 支持,这是他们的回复:

Unfortunately, multiple exit URLs are not supported in the AdWords environment. Doubleclick, on the other hand, can handle them.

https://support.google.com/webdesigner/answer/4450409

There are many nice components in GWD which could use different URLs, but they can't be deployed in AdWords.