Introduction #
The Leadrat CRM receives leads from Google Ads landing pages and Microsoft Ads. To enable this functionality, it’s essential to integrate Google Ads landing pages and Microsoft Ads with the CRM via API. Leadrat CRM provides API for integration. This integration facilitates seamless data exchange and transfer, enhances automation, and enables business to extend the capabilities of the CRM. By using API, business can automate processes, synchronize data, and enhance their operational efficiency.
Prerequisites: #
- Log in to the CRM tenant using the provided credentials.
- Ensure that the user has Admin access rights to initiate the API integration process.
- Access global configuration settings within the CRM interface.
Integration Procedure: #
- Select the Google ads landing page/Microsoft ads for API integration from global config.
- Create an account on Google Ads landing page, the same way on Microsoft Ads.
- Create and fill in the required account details and automatically the excel file will be downloaded.
- Upon download completion, open the Excel file containing the API integration details, including:
a.cURL-API endpoint, API key.
b.POST request for pushing leads to CRM.
c.Integration manual
d.Authentication type
e.Success and failure response.
f.Parameters
g.CRM Name
h.Method (POST) - Share Excel file with the agency account manager for google Ads lading page and Microsoft Ads as a reference for integration.
- Upon successful API integration, leads are automatically added to the CRM as per the specified parameters.
- When the parameters are hit, leads get added to the CRM and parameters not specified are added as notes for the lead.
- Leads can be assigned to primary and secondary users within the CRM, allowing for efficient lead management.
API Details for Google Ads Landing page #
The API details include:
- curl command for making HTTP request
curl --location --request POST https://connect.leadrat.com/api/v1/integration/GoogleAds -H "API-Key: ZXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" -H "Content-Type: application/json" -d'{
“lead”: “lead”
"name": "leadname",
"state": "leadstate",
"city": "leadcity",
"location": "lead locality/location",
"budget": "propertybudget",
"notes": "comments",
"email": "leademailid",
"countryCode": "leadcountrycode",
"mobile": "leadmobilenumber",
"project": "projectname",
"property": "propertyname",
"leadExpectedBudget": "leadexpectedbudget",
"propertyType": "propertytype",
"submittedDate": "dd-mm-yyyy",
"submittedTime": "hh-mm-ss",
"additionalProperties": {
"key1": "value1",
"key2": "value1"
}
}'
- Integration manual for reference
CRM Integration doc for reference
- Authentication type
API key
- Success and failure response messages
Failure: 400 Bad Request
Success: 200 OK - CRM name
Leadrat
API Details for Microsoft Ads #
The API details include:
- curl command for making HTTP request
curl --location --request POST https://connect.leadrat.com/api/v1/integration/MicrosoftAds -H "API-Key: MXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" -H "Content-Type: application/json" -d ‘{
"name": "name of the lead",
"state": "state of the lead",
"city": "city of the lead",
"location": "location/locality of the lead",
"budget": "budget of the property",
"notes": "comments",
"email": "email of the lead",
"countryCode": "country code of the country in which lead resides",
"mobile": "phone number of the lead",
"project": "name of the project",
"property": "name of the property",
"leadExpectedBudget": "expected budget of the lead",
"propertyType": "property type",
"submittedDate": "dd-mm-yyyy",
"submittedTime": "hh-mm-ss",
"subsource": "name of the subsource",
"leadStatus": "Schedule Site Visit or Schedule Meeting or Booked or Booking Cancel",
"callRecordingUrl": "URL of call recording of the lead",
"leadScheduledDate": "dd-mm-yyyy",
"leadScheduleTime": "hh-mm-ss",
"bhkType": "Simplex/Duplex/PentHouse/Others",
"leadBookedDate": "dd-mm-yyyy",
"leadBookedTime": "hh-mm-ss",
"additionalProperties": {
"EnquiredFor": "Buy/Sale/Rent",
"BHKType": "Simplex/Duplex/PentHouse/Others",
"NoOfBHK": "no of BHK",
"key1": "value1",
"key2": "value1"
}
}'
- Integration manual for reference
CRM Integration doc for reference
- Authentication type
API key
- Success and failure response messages
Failure: 400 Bad Request
Success: 200 OK - CRM name
Leadrat