Alerta de user agent en conversiones avansadas

24 views
Skip to first unread message

Edward Hidalgo

unread,
Oct 23, 2022, 12:21:04 PM10/23/22
to Google Ads API and AdWords API Forum
Hello Support,

I'm coming from sending improved conversions through the google ads api but I'm getting 2 alerts that I can't solve.

I am activating the conversion tag from my website without problems using the tag manager. Attached image of the process:


1.png

2.png

Now when I try to send the enhanced conversions through the api, google ads reports these alerts:

3.png

It should be noted that to send the enhanced conversions through the api I am using the file highlighted below corresponding to the one indicated in the documentation:

4.png

When uploading the conversion, I don't have any google errors, it uploads correctly. But I see that in the alerts it tells me to add the user-agent. My question is: Why does it ask me to add the user-agent if the documentation says that it is an optional field? Also, I am not sending this field when activating the conversion by the label. So I don't understand why you ask me.

I am using a file that does not correspond to the upload of enhanced conversions for google ads through the api? or is it the correct file?

el proceso que necesito es: 

1) Trigger the conversion from the website with the use of tag manager (currently working successfully).

2) Send the improved conversions through the google ads api. (currently it is the process in which, I am having problems).

The programming language I am using is PHP.

Google Ads API Forum Advisor

unread,
Oct 24, 2022, 10:28:08 AM10/24/22
to footn...@gmail.com, adwor...@googlegroups.com

Hi Edward,

Thanks for reaching out to the Google Ads API Forum.

I understand that you uploaded a conversion, and you haven’t received any API errors and it uploaded correctly. It is not However, our team would like to see your complete logs if you see such alerts/messages regarding user-agent after the API request is successful. As the user-agent is an optional field, then it should not affect your sending conversions via API. If you have already followed our guide, and used our code to send to Google Ads, then there seems no issue with the API’s.

Since the sending enhanced conversion via Google Ads API has been successfully sent to Google Ads, and no errors were reported, then it appears that the product backend is doing this validation regarding the missing user-agent and API takes too long to send the data. For this, the appropriate team to get more details on the said configuration issues is the product support as those errors are shown on Google Ads UI’s enhanced conversions API diagnostics report.

That being said, to have further analysis on why said errors returned for the optional field, I recommend you to reach out to the Google Ads Product support team, via this link, since the appropriate team provides guidance, and specializes in this aspect.

Regards,

Google Logo
Yasar
Google Ads API Team
 


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