When I send a request for click conversion using Google Ads API, the response is empty

62 views
Skip to first unread message

Hironori Ueno

unread,
Oct 6, 2023, 4:42:41 AM10/6/23
to Google Ads API and AdWords API Forum
https://developers.google.com/google-ads/api/docs/conversions/upload-clicks?hl=ja#python

I sent the conversion data using the code in the URL above, but the value of conversion_upload_response is empty in the following code.

conversion_upload_response = conversion_upload_service.upload_click_conversions(
        request=request,.
)

No exception is raised. I don't think the response would be empty if it was successfully sent, is there any way to investigate what the problem is?

Google Ads API Forum Advisor

unread,
Oct 6, 2023, 7:07:36 AM10/6/23
to h.u...@dm-s.co.jp, adwor...@googlegroups.com
Hi,

Thank you for reaching out to the Google Ads API support team.

By reviewing your concern, I understand that you are getting an empty response while uploading click conversions via Google Ads API. To assist you better, we would require the complete API logs (request and response with request-id and request header) to investigate this issue further on our end.

If you are using a client library and haven't enabled the logging yet, I would request you to enable logging for the specific client library that you are using. You can refer to the guides Java, .NetPHPPythonRuby or Perl to enable logging at your end. For REST interface requests, you can enable logging via the curl command by using the -i flag.

You can send the details via Reply privately to the author option, or direct private reply to this email.
 
This message is in relation to case "ref:_00D1U1174p._5004Q2pPQdp:ref"

Thanks,
 
Google Logo Google Ads API Team


Hironori Ueno

unread,
Oct 13, 2023, 4:42:09 AM10/13/23
to Google Ads API and AdWords API Forum
Thank you very much. The problem is now solved.
I did not know that the Logger for Debug can be used to check detailed information.

I checked the output of the Logger and realized that I had mistakenly sent the wbraid value as gbraid.

After correcting this, I now get a normal response after submitting.

2023年10月6日金曜日 20:07:36 UTC+9 Google Ads API Forum Advisor:
Reply all
Reply to author
Forward
0 new messages