For a few days, I've been looking at configuring Google Ads Integration in Zoho CRM. I've managed to:
- Connect the plugin to my Google Ads account and setup shared conversion goal from Zoho
- Implement the hidden field and the js code to populate the hidden field with the GCLID ID. This GCLID ID is properly collected by my backend.
However, I struggle to send the GCLID ID to the CRM.
I have a custom backend that handles my form request. My backend receives the GCLID ID and submits such type of API call:
- curl --request POST \
- --url https://www.zohoapis.com/crm/v2/Leads \
- --header 'authorization: Zoho-oauthtoken MY_TOKEN' \
- --header 'content-type: application/json' \
- --data '{"data": [{"Company": "Awesome Company","Email": "email@awesomecompany.com","Website": "www.mywebsite.com","Full_Name": "MY_NAME","Last_Name": "LAST_NAME","Lead_Status": "Test","Phone": "0636666666","GCLID": "MY_GCLID_ID"}]}'
Such request creates a new lead with all the information except for the GCLID ID which is not recorded. The documentation is
here but does not say anything about the JSON structure whereas the
documentation for the API mainly uses JSON. I've also found
this article but it did not work.
Note: I've also tried with zc_gad, $gclid, gclid and with or without /upsert at the end.