Sample Creative

**Protect Your Home From the Top Down.** Looking for roofing services? Connect with roofing professionals for your repair, replacement, or installation needs. **Find Roofing Services for Your Home** Roof repair and maintenance Roof replacement New roof installation Asphalt shingle roofing Metal, tile, slate, and other roofing options Residential roofing solutions Getting started only takes a few minutes. **Tell Us About Your Roofing Project Today!** Share your project details and preferred timeframe to get started. **GET STARTED**
By clicking “**Get Started**,” I expressly consent to receive calls and text messages regarding roofing products and services from [Company Name] and the roofing service providers and marketing partners identified in the Marketing Partners list at the telephone number I provided. I understand that these communications may be made using automated technology, an automatic telephone dialing system, artificial or prerecorded voice messages, and SMS/text messages, where permitted by applicable law, even if my telephone number is listed on a federal, state, or company-specific Do Not Call list. I understand that my consent is **not a condition of purchasing any goods or services.** Message and data rates may apply. Message frequency may vary. I may revoke my consent at any time.

Adcopy

**Protect Your Home From the Top Down.** Looking for roofing services? Connect with roofing professionals for your repair, replacement, or installation needs. **Find Roofing Services for Your Home** Roof repair and maintenance Roof replacement New roof installation Asphalt shingle roofing Metal, tile, slate, and other roofing options Residential roofing solutions Getting started only takes a few minutes. **Tell Us About Your Roofing Project Today!** Share your project details and preferred timeframe to get started. **GET STARTED**

TCPA

By clicking “**Get Started**,” I expressly consent to receive calls and text messages regarding roofing products and services from [Company Name] and the roofing service providers and marketing partners identified in the Marketing Partners list at the telephone number I provided. I understand that these communications may be made using automated technology, an automatic telephone dialing system, artificial or prerecorded voice messages, and SMS/text messages, where permitted by applicable law, even if my telephone number is listed on a federal, state, or company-specific Do Not Call list. I understand that my consent is **not a condition of purchasing any goods or services.** Message and data rates may apply. Message frequency may vary. I may revoke my consent at any time.

Banner To use


Other Details

Sapiente fuga repellat quia voluptatem ea nemo mollitia.


Ping Instructions



Fields

The following fields will be captured by this campaign. For examples of how to submit these fields, please see the examples below.

Field Name Type Format Required Label Description
rcm_campaign_id Numeric 1234 REQUIRED Campaign ID Must be set to: 6499
rcm_aff_id Numeric 1234 REQUIRED Affiliate ID Ask this value from your Account Manager
e.g. 3417
rcm_aff_sub Text Any Text OPTIONAL Affiliate Sub ID pass here your subids
e.g. mysubid1
subid Text Any Text REQUIRED Sub ID must be between 1 and 500 characters.
tcpa_text Text Any Text REQUIRED TCPA Text must be between 1 and 500 characters.
universal_leadid Text Any Text REQUIRED Universal Leadid must be between 1 and 500 characters.
origination_datetime DateTime yyyy-mm-dd hh:mm:ss (24 hour format) REQUIRED Origination Datetime must be a valid datetime in 24 hour format yyyy-mm-dd hh:mm:ss
origination_timezone MultipleChoice2 Multiple Choices, can select only one answer REQUIRED Origination Timezone origination_timezone Accepted Values
Label Value
CST / CDT 2
EST / EDT 1
MST / MDT 3
PST / PDT 4
ipaddress IpAddress Both IpV4AndV6 e.g. 192.168.1.1 or 2001:0db8:85a3:0000:0000:8a2e:0370:7334 REQUIRED IP Address must be a valid Ip Address in Ipv4 format (e.g. 192.168.1.1) or IPv6 Format (e.g. 2001:0db8:85a3:0000:0000:8a2e:0370:7334)
user_agent Text Any Text REQUIRED Browser User Agent must be between 1 and 500 characters.
url Url With Protocol e.g. http:// or https:// REQUIRED Url must be a valid Url with protocol e.g. http://example.com or https://example.com
minimum_price Numeric Any Numeric e.g. 123 or 12.45 REQUIRED Minimum Price must be a number e.g. 123, 456 or 1.2, 2.5
zip PostalCode 5 digits e.g. 01561 REQUIRED Zip must be a 5-digit number in the format 12345
task MultipleChoice2 Multiple Choices, can select only one answer REQUIRED Task task Accepted Values
Label Value
Other 109
Roofing Repair 108
Install Gutters 103
Install Metal Roofing 104
Install Natural Slate Roofing 105
Install Asphalt Shingle Roofing 101
Install Traditional Tile Roofing 106
Install Wood or Composite Roofing 107
Install Flat, Foam or Single Ply Roofing 102
timeframe MultipleChoice2 Multiple Choices, can select only one answer REQUIRED Timeframe timeframe Accepted Values
Label Value
1 to 2 Weeks 2
3 to 4 Weeks 3
5 to 6 Weeks 4
7 to 8 Weeks 5
9 to 12 Weeks 6
Timing is Flexible 1
home_owner MultipleChoice2 Multiple Choices, can select only one answer REQUIRED Homeowner home_owner Accepted Values
Label Value
No 0
Yes 1
Commercial Property 2
project_status MultipleChoice2 Multiple Choices, can select only one answer REQUIRED Project Status project_status Accepted Values
Label Value
Ready to Hire 1
Planning and Budgeting 2
vendor_lead_id Numeric Any Numeric e.g. 123 or 12.45 REQUIRED Vendor Lead Id must be a number e.g. 123, 456 or 1.2, 2.5
lead_mode Numeric Any Numeric e.g. 123 or 12.45 REQUIRED Lead Mode must be a number e.g. 123, 456 or 1.2, 2.5

Posting leads

We only accept POST HTTP requests. Requests can be sent either as FORM or JSON.

Method: POST
URL: https://api-leaddepot.offerwings.com/api/v1/lead/ping/
FORM

Headers:

Content-Type: application/x-www-form-urlencoded

Payload:



rcm_campaign_id=6499&rcm_aff_id=1&subid=samplevalue&tcpa_text=samplevalue&universal_leadid=samplevalue&origination_datetime=samplevalue&origination_timezone=samplevalue&ipaddress=samplevalue&user_agent=samplevalue&url=samplevalue&minimum_price=samplevalue&zip=samplevalue&task=samplevalue&timeframe=samplevalue&home_owner=samplevalue&project_status=samplevalue&vendor_lead_id=samplevalue&lead_mode=samplevalue
                                        
JSON

Headers:

Content-Type: application/json

Payload:

                        
{
    "rcm_campaign_id": "6499",
    "rcm_aff_id": "1",
    "rcm_aff_sub": "mysub1",
    "subid" : "Any Text"     ,
    "tcpa_text" : "Any Text"     ,
    "universal_leadid" : "Any Text"     ,
    "origination_datetime" : "1980-12-21 23:58:59"     ,
    "origination_timezone" : "see the list of allowed value"     ,
    "ipaddress" : "192.168.1.1"     ,
    "user_agent" : "Any Text"     ,
    "url" : "https://example.com"     ,
    "minimum_price" : "1234"     ,
    "zip" : "01561"     ,
    "task" : "see the list of allowed value"     ,
    "timeframe" : "see the list of allowed value"     ,
    "home_owner" : "see the list of allowed value"     ,
    "project_status" : "see the list of allowed value"     ,
    "vendor_lead_id" : "1234"     ,
    "lead_mode" : "1234" 
}
                        
                    

Ping Responses

All responses are sent back in JSON format. There are 2 possible responses: rejected, success.

Ping Rejected response

                            
{
    "rcm_campaign_id": "6499",
    "rcm_aff_id": "1",
    "result": "data that will show here may vary but to determine if it is success or rejected always check the status key below",
    "status": "rejected", 
    "pixel": null
}

Ping Success response


{
    "rcm_campaign_id": "6499",
    "rcm_aff_id": "1",
    "result": "data that will show here may vary but to determine if it is success or rejected always check the status key below",
    "status": "success",
    "pixel": "success=true;"
}


Validation Error

A validation error occurs when the submitted data does not meet the rules defined in the posting instructions. If validation fails, our system automatically returns a 422 Unprocessable Entity response containing all the validation errors.

Example Of Validation Error

                            
{
    "data": {
        "email": [
            "The email field is required."
        ],
        "ip_address": [
            "The ip address field is required."
        ]
    },
    "message": "Validation Errors",
    "posting_instruction": "http://api-leaddepot.offerwings.test:8000/campaign/posting-instruction/...",
    "status": "Operation failed."
}


Post Instructions



Fields

The following fields will be captured by this campaign. For examples of how to submit these fields, please see the examples below.

Field Name Type Format Required Label Description
rcm_campaign_id Numeric 1234 REQUIRED Campaign ID Must be set to: 6499
rcm_aff_id Numeric 1234 REQUIRED Affiliate ID Ask this value from your Account Manager
e.g. 3417
rcm_aff_sub Text Any Text OPTIONAL Affiliate Sub ID pass here your subids
e.g. mysubid1
confirmation_id Numeric Any Numeric e.g. 123 or 12.45 REQUIRED Confirmation Id must be a number e.g. 123, 456 or 1.2, 2.5
lead_mode Text Any Text REQUIRED Lead Mode must be between 1 and 500 characters.
subid Text Any Text REQUIRED Sub ID must be between 1 and 500 characters.
tcpa_text Text Any Text REQUIRED TCPA Text must be between 1 and 500 characters.
universal_leadid Text Any Text REQUIRED Universal Leadid must be between 1 and 500 characters.
origination_datetime DateTime yyyy-mm-dd hh:mm:ss (24 hour format) REQUIRED Origination Datetime must be a valid datetime in 24 hour format yyyy-mm-dd hh:mm:ss
origination_timezone MultipleChoice2 Multiple Choices, can select only one answer REQUIRED Origination Timezone origination_timezone Accepted Values
Label Value
CST / CDT 2
EST / EDT 1
MST / MDT 3
PST / PDT 4
ipaddress IpAddress Both IpV4AndV6 e.g. 192.168.1.1 or 2001:0db8:85a3:0000:0000:8a2e:0370:7334 REQUIRED IP Address must be a valid Ip Address in Ipv4 format (e.g. 192.168.1.1) or IPv6 Format (e.g. 2001:0db8:85a3:0000:0000:8a2e:0370:7334)
user_agent Text Any Text REQUIRED Browser User Agent must be between 1 and 500 characters.
url Url With Protocol e.g. http:// or https:// REQUIRED Url must be a valid Url with protocol e.g. http://example.com or https://example.com
minimum_price Numeric Any Numeric e.g. 123 or 12.45 REQUIRED Minimum Price must be a number e.g. 123, 456 or 1.2, 2.5
first_name Text Any Text REQUIRED First Name must be between 1 and 500 characters.
last_name Text Any Text REQUIRED Last Name must be between 1 and 500 characters.
email Email Any Valid Email REQUIRED Email must be a valid email address.
address Text Any Text REQUIRED Address must be between 1 and 500 characters.
zip PostalCode 5 digits e.g. 01561 REQUIRED Zip must be a 5-digit number in the format 12345
primary_phone Phone 1234567890 REQUIRED Primary Phone must be a 10-digit number in the format 1234567890.
task MultipleChoice2 Multiple Choices, can select only one answer REQUIRED Task task Accepted Values
Label Value
Other 109
Roofing Repair 108
Install Gutters 103
Install Metal Roofing 104
Install Natural Slate Roofing 105
Install Asphalt Shingle Roofing 101
Install Traditional Tile Roofing 106
Install Wood or Composite Roofing 107
Install Flat, Foam or Single Ply Roofing 102
timeframe MultipleChoice2 Multiple Choices, can select only one answer REQUIRED Timeframe timeframe Accepted Values
Label Value
1 to 2 Weeks 2
3 to 4 Weeks 3
5 to 6 Weeks 4
7 to 8 Weeks 5
9 to 12 Weeks 6
Timing is Flexible 1
home_owner MultipleChoice2 Multiple Choices, can select only one answer REQUIRED Homeowner home_owner Accepted Values
Label Value
No 0
Yes 1
Commercial Property 2
project_status MultipleChoice2 Multiple Choices, can select only one answer REQUIRED Project Status project_status Accepted Values
Label Value
Ready to Hire 1
Planning and Budgeting 2
vendor_lead_id Numeric Any Numeric e.g. 123 or 12.45 REQUIRED Vendor Lead Id must be a number e.g. 123, 456 or 1.2, 2.5

Posting leads

We only accept POST HTTP requests. Requests can be sent either as FORM or JSON.

Method: POST
URL: https://api-leaddepot.offerwings.com/api/v1/lead/receive/
FORM

Headers:

Content-Type: application/x-www-form-urlencoded

Payload:



rcm_campaign_id=6499&rcm_aff_id=1&confirmation_id=samplevalue&lead_mode=samplevalue&subid=samplevalue&tcpa_text=samplevalue&universal_leadid=samplevalue&origination_datetime=samplevalue&origination_timezone=samplevalue&ipaddress=samplevalue&user_agent=samplevalue&url=samplevalue&minimum_price=samplevalue&first_name=samplevalue&last_name=samplevalue&email=samplevalue&address=samplevalue&zip=samplevalue&primary_phone=samplevalue&task=samplevalue&timeframe=samplevalue&home_owner=samplevalue&project_status=samplevalue&vendor_lead_id=samplevalue
                                        
JSON

Headers:

Content-Type: application/json

Payload:

                        
{
    "rcm_campaign_id": "6499",
    "rcm_aff_id": "1",
    "rcm_aff_sub": "mysub1",
    "confirmation_id" : "1234"     ,
    "lead_mode" : "Any Text"     ,
    "subid" : "Any Text"     ,
    "tcpa_text" : "Any Text"     ,
    "universal_leadid" : "Any Text"     ,
    "origination_datetime" : "1980-12-21 23:58:59"     ,
    "origination_timezone" : "see the list of allowed value"     ,
    "ipaddress" : "192.168.1.1"     ,
    "user_agent" : "Any Text"     ,
    "url" : "https://example.com"     ,
    "minimum_price" : "1234"     ,
    "first_name" : "John"     ,
    "last_name" : "Smith"     ,
    "email" : "burt@testmail.com"     ,
    "address" : "123 main street"     ,
    "zip" : "01561"     ,
    "primary_phone" : "1234567890"     ,
    "task" : "see the list of allowed value"     ,
    "timeframe" : "see the list of allowed value"     ,
    "home_owner" : "see the list of allowed value"     ,
    "project_status" : "see the list of allowed value"     ,
    "vendor_lead_id" : "1234" 
}
                        
                    

Post Responses

All responses are sent back in JSON format. There are 2 possible responses: rejected, success.

Post Rejected response

                            
{
    "rcm_campaign_id": "6499",
    "rcm_aff_id": "1",
    "result": "data that will show here may vary but to determine if it is success or rejected always check the status key below",
    "status": "rejected", 
    "pixel": null
}

Post Success response


{
    "rcm_campaign_id": "6499",
    "rcm_aff_id": "1",
    "result": "data that will show here may vary but to determine if it is success or rejected always check the status key below",
    "status": "success",
    "pixel": "success=true;"
}




Validation Error

A validation error occurs when the submitted data does not meet the rules defined in the posting instructions. If validation fails, our system automatically returns a 422 Unprocessable Entity response containing all the validation errors.

Example Of Validation Error

                            
{
    "data": {
        "email": [
            "The email field is required."
        ],
        "ip_address": [
            "The ip address field is required."
        ]
    },
    "message": "Validation Errors",
    "posting_instruction": "http://api-leaddepot.offerwings.test:8000/campaign/posting-instruction/...",
    "status": "Operation failed."
}