Endpoint Read DirectCampaign Data
Name
get_direct_campaigns
Description
Parameters
| Parameter | Required | Options | 
|---|---|---|
| Name: Label: start_date | ||
| Name: Label: end_date | ||
| Name: Label: resolution | ||
| Name: Label: metrics | ||
| Name: Label: page | ||
| Name: Label: page_size | ||
| Name: Label: timezone | 
Output Columns
| Label | Data Type (SSIS) | Data Type (SQL) | Length | Description | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| There are no Static columns defined for this endpoint. This endpoint detects columns dynamically at runtime. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
        If the column you are looking for is missing, consider customizing Nativo Connector.
    
Input Columns
| Label | Data Type (SSIS) | Data Type (SQL) | Length | Description | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| There are no Static columns defined for this endpoint. This endpoint detects columns dynamically at runtime. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Examples
SSIS
Use Nativo Connector in API Source or in API Destination SSIS Data Flow components to read or write data.
API Source
API Source - Nativo
    Nativo Connector can be used to integrated operations supported by Nativo REST API.
    Nativo
    Read DirectCampaign Data
    | There are no parameters to configure. | 
 
API Destination
API Destination - Nativo
    Nativo Connector can be used to integrated operations supported by Nativo REST API.
    Nativo
    Read DirectCampaign Data
    | There are no parameters to configure. | 
 
ODBC application
Use these SQL queries in your ODBC application data source:
Read directcampaign data
SELECT * FROM get_direct_campaignsSQL Server
Use these SQL queries in SQL Server after you create a data source in Data Gateway:
Read directcampaign data
DECLARE @MyQuery NVARCHAR(MAX) = 'SELECT * FROM get_direct_campaigns';
EXEC (@MyQuery) AT [LS_TO_NATIVO_IN_GATEWAY];