Upload offline conversion (click conversion) using REST API

1,113 views
Skip to first unread message

Uros Ceranic

unread,
Jun 9, 2022, 9:37:31 AM6/9/22
to Google Ads API and AdWords API Forum
Hello Google,

I am trying to upload offline click conversion using REST API.

I created conversion action of type `UPLOAD_CLICKS`. (is this the issue?)

I am using this endpoint:
"https://googleads.googleapis.com/v11/customers/${client-id-i-want-to-upload-conversion-for}:uploadClickConversions"
In the headers i add `login-customer-id`.

And after providing the above endpoint with the following body, i am getting successfull response:

Body: {
conversions: [
{
conversionAction: conversionActionRefName,
conversionDateTime: dayjs().format('YYYY-MM-DD HH:mm:ssZ'),
gclid,
},
],
partialFailure: true,
validateOnly: false,
}

Response: 
{ "results": [ { "gclid": "gclidstring", "conversionAction": "customers/${clientId}/conversionActions/${conversionActionId}", "conversionDateTime": "2022-06-09 15:35:23+02:00" } ] }

But when I go to Google Ads Manager dashboard -> Conversions page, i see `no-recent-conversions`, and 0 as a number of conversions for the conversion action i provided.

How can i see whats the issue with my flow?

Thanks!

Google Ads API Forum Advisor

unread,
Jun 9, 2022, 10:34:19 AM6/9/22
to ceranic...@gmail.com, adwor...@googlegroups.com
Hi Uros,

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

To investigate the issue further, could you please provide the complete request and response logs, with the request-id? If you haven't yet, logging can be enabled by navigating to the Client libraries > Your client library (ex. Java) > Logging documentation, which you can access from this link.You can provide it via Reply privately to author option. If this option is not available, you may send the details directly to our googleadsa...@google.com alias instead. Let me know if you have any questions.

Thanks,
Google Logo
Nirmita
Google Ads API Team
 


ref:_00D1U1174p._5004Q2b63yO:ref

Jennifer Wright

unread,
Jul 2, 2022, 12:54:59 AM7/2/22
to Google Ads API and AdWords API Forum
Did you get this resolved? My thoughts are that there are two customer IDs. One is your Login Customer ID, and the other is the Linked Customer ID. If you post the conversion to the wrong customer ID, then you'll get a success response back, but then won't see it in the expected Ads Manager, but in the other account's Ads Manager.

Google Ads API Forum Advisor

unread,
Jul 3, 2022, 11:59:19 PM7/3/22
to deve...@adlaunchgroup.com, adwor...@googlegroups.com
Hi all,

Thank you for reaching us out. I am Sherwin from Google Ads API support team and I work with Nirmita. I hope that all of you are doing well today.

Thank you for your insights, Jennifer. However, we will be needing the logs which our colleague Nirmita asks. These logs will help our team to find out what is the real cause of the issue.

Kind regards,
Google Logo
Sherwin Vincent
Google Ads API Team
 


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