How to create conversion without google tag

266 views
Skip to first unread message

Paul Chen

unread,
Nov 21, 2024, 3:18:56 AM11/21/24
to Google Ads API and AdWords API Forum

I currently have a requirement to create a conversion action for leads in Google Ads. However, we don't need to set up Google tag because our offline click conversion is uploaded through the Google Ads API.

ref: https://developers.google.com/google-ads/api/rest/reference/rest/v17/customers/uploadClickConversions?hl=zh-tw#ExternalAttributionData

I want to know how to set up a conversion that doesn't use Google tag but uses PII data from conversion for leads for offline conversion import.

  • How to set up a Conversion action that doesn't use Google tag but works with leads PII?
  • What should be set as the Data source?

Context: We're using the Google Ads API to upload offline click conversions and want to leverage enhanced conversions for leads without implementing Google tag on our website.

Google Ads API Forum Advisor

unread,
Nov 21, 2024, 7:16:22 AM11/21/24
to paul...@invos.com.tw, adwor...@googlegroups.com
Hi,

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

Please find the following answers to your questions:

1) How to set up a Conversion action that doesn't use Google tag but works with leads PII?

It's not possible to set up conversion actions without Google tag. For more information, you may refer to this enhanced conversion for leads document.  

2) What should be set as the Data source?

Note that the data source will be set when you connect a product, imported file, or third-party integration–for example, BigQuery, SFTP, HubSpot etc. As you are trying to upload conversion using Google Ads API, no need to set the data source. 

I hope this clarifies. Let us know if you have any further questions. 
 
This message is in relation to case "ref:!00D1U01174p.!5004Q02vGlT7:ref" (ADR-00276355)

Thanks,
 
Google Logo Google Ads API Team

Feedback
How was our support today?

rating1    rating2    rating3    rating4    rating5



Paul Chen

unread,
Nov 24, 2024, 9:35:21 PM11/24/24
to Google Ads API and AdWords API Forum
Hi,

Here are my settings:

1. For Google Tag
Screenshot 2024-11-25 at 10.10.58 AM.png

Screenshot 2024-11-25 at 10.05.08 AM.png

Screenshot 2024-11-25 at 10.08.05 AM.png

2. For Conversion Action
Screenshot 2024-11-25 at 10.08.52 AM.png

Screenshot 2024-11-25 at 10.09.06 AM.png

3. For Conversion setting
Screenshot 2024-11-25 at 10.09.23 AM.png

My question is:
1. why my conversion action is inactive?
2. I've configured these by following the instruction in document but I still didn't received any conversion as I uploaded a click conversion by Google Ads API.

Here is my payload to send click conversion:
{
  "conversions": [
    {
      "userIdentifiers": [
        {
          "hashedEmail": "hashed email"
        }
      ],
      "consent": {
        "adUserData": "GRANTED",
        "adPersonalization": "GRANTED"
      },
      "conversionAction": "customers/1111111111/conversionActions/1111111111",
      "conversionDateTime": "2024-11-11 12:32:45-08:00",
      "conversionValue": 100,
      "currencyCode": "TWD"
    }
  ],
  "partialFailure": true
}

Response:
{
  "partialFailureError": null,
  "results": [
    {
      "Gbraid": null,
      "wbraid": {
        "userIdentifiers": [
          {
            "userIdentifierSource": {
              "hashedEmail": "0x14000623330",
              "hashedPhoneNumber": null
            }
          }
        ],
        "gclid": {
          "conversionAction": "customers/1111111111/conversionActions/1111111111",
          "conversionDateTime": "2024-11-11 12:32:45-08:00"
        }
      },
      "jobId": 3880378385142123123
    }
  ]
}

Thank you so much.

Best,
Paul

Google Ads API Forum Advisor

unread,
Nov 25, 2024, 3:42:01 AM11/25/24
to paul...@invos.com.tw, adwor...@googlegroups.com
Hi Paul,

It seems that you've redacted the CID and conversion action ID from the provided API logs. Without this information, we are unable to investigate why the conversion action status is showing as "Inactive". Kindly share the following details without redacting : 
  • CID and conversion action
  • Complete API logs (request and response with request-id and request header) generated at your 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.

Paul Chen

unread,
Nov 25, 2024, 4:18:17 AM11/25/24
to Google Ads API and AdWords API Forum
Hi,

My conversion action ID is 6938733767.

I seem to have successfully received my uploaded click conversion event, but I don't see any successful conversions on the overview page (I'm using a Gmail account's hash value).

Screenshot 2024-11-25 at 4.49.53 PM.png

I have the following questions:

  1. Can I assume that it was successfully uploaded but the conversion failed?
  2. Does this mean there might be issues with my data when uploading offline user data for Customer Match? How can I verify that I've successfully uploaded the Customer Match to the corresponding Advertisement?

Best,
Paul

Google Ads API Forum Advisor

unread,
Nov 26, 2024, 1:57:52 AM11/26/24
to paul...@invos.com.tw, adwor...@googlegroups.com
Hi,

From the screenshots provided earlier, it appears that the conversion tracking status is 'Inactive'. I would recommend you refer to this Help Center article for information on how to troubleshoot conversion tracking status and the reason why the status is inactive. To investigate at our end, please provide us with the customer ID and a valid conversion action ID that you are referring to. The reason I am asking the conversion action ID again is that I am unable to find one with ID: 6938733767.

With regard to your below questions:
1. Can I assume that it was successfully uploaded but the conversion failed?
  • If the uploads via the API are successful and the same can be seen in the UI, then there is no reason that the uploaded conversions are failed.
2. Does this mean there might be issues with my data when uploading offline user data for Customer Match? How can I verify that I've successfully uploaded the Customer Match to the corresponding Advertisement?
  • Are you asking this question in the context of the same conversion upload operation as above, or is this question related to another operation where you are trying to upload the customer match data via the API?
Reply all
Reply to author
Forward
0 new messages