Questions tagged «google-ads-api»

5
如何跟踪Google AdWords转换onclick?
如果有人点击链接,Google Adwords不会提供任何代码来添加到您的网页中以计算转化。但是,因为它是Javascript,所以我确信有一种方法可以做到这一点。 这是Google提供给您的包含在页面中的代码(未更改),该代码应算作一次转化(大多数情况下是感谢页面): <!-- Google Code for Klick Conversion Page --> <script type="text/javascript"> <!-- var google_conversion_id = 1062751462; var google_conversion_language = "de"; var google_conversion_format = "1"; var google_conversion_color = "ffffff"; var google_conversion_label = "dKXuCODvugEQ5pnh-gM"; var google_conversion_value = 0; //--> </script> <script type="text/javascript" src="http://www.googleadservices.com/pagead/conversion.js"> </script> <noscript> <div style="display:inline;"> <img height="1" width="1" …

3
更新Google Ads SDK后不建议使用addTestDevice,如何解决?
更新后Google Ads SDK to 19.0.0给出了不赞成使用的警告消息addTestDevice(),但我搜索了此链接以解决此问题,但未成功。那么如何解决。 这是我的代码 mAdView.loadAd(new RequestConfiguration.Builder .setTestDeviceIds(AdRequest.DEVICE_ID_EMULATOR) // show error .setTestDeviceIds(DEV_ID) // show error .build()); 和开发者网站建议 // Deprecated AdRequest.Builder.addTestDevice().Use RequestConfiguration.Builder.setTestDeviceIds() instead.
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.