conversion action

425 views
Skip to first unread message

ai chen

unread,
Aug 23, 2022, 11:28:33 PM8/23/22
to Google Ads API and AdWords API Forum
Hi,
I clicked the conversion on the test line, and the corresponding tracking code was also installed on the webpage, but when the event code that called the click was triggered, I detected an error in the googleAds reporting interface for conversion (such as the screenshot in the attachment).What is the reason?
My event code is as follows:

<!-- Event snippet for 网站线上转化(复制邮箱) conversion page
In your html page, add the snippet and call gtag_report_conversion when someone clicks on the chosen link or button. -->
<script>
function gtag_report_conversion(url) {
  var callback = function () {
    if (typeof(url) != 'undefined') {
      window.location = url;
    }
  };
  gtag('event', 'conversion', {
      'send_to': 'AW-434761113/aJk7CLXtvdgDEJnbp88B',
      'event_callback': callback
  });
  return false;
}
</script>

The googleAds interface that reports the error is as follows:


--
chenai

Google Ads API Forum Advisor

unread,
Aug 24, 2022, 1:57:58 AM8/24/22
to dhan...@126.com, adwor...@googlegroups.com

Hi Chenai,
 

Thanks for reaching out to the Google Ads API team. I hope you are doing well today.


Upon checking your concern, it appears that your issue is not related to the Google Ads API which our team can only provide support. Also, I've noticed that your issue is about setting up event code as it is outside of our scope already. This is more product related. With this, I would suggest that you reach out to the Product Team via this link, as they should be more equipped to provide guidance on this matter.


Regards,

Google Logo
Darwin
Google Ads API Team
 


ref:_00D1U1174p._5004Q2dmzJ7:ref
Reply all
Reply to author
Forward
0 new messages