Nativo Connector - Source Code
<?xml version="1.0" encoding="utf-8"?>
<ApiConfig Name="Nativo" Version="1" Id="0EC1CC74-6C49-4280-86F1-A70715394518"
EngineVersion="1"
Slug="nativo-connector"
Desc="Nativo Connector can be used to integrated operations supported by Nativo REST API."
HelpLink="https://api-docs.nativo.com/docs/introduction"
>
<VersionHistory>
<Change Date="2020-04-13">Initial version</Change>
</VersionHistory>
<ServiceUrls>
<ServiceUrl Name="" Url="https://api.nativo.com/v2"/>
</ServiceUrls>
<!--
LogoLink="https://zappysys.com/images/logo/api-connector.png"
-->
<Auths>
<Auth Type="HTTP" HelpLink="https://api-docs.nativo.com/docs/introduction"
ConnStr="CredentialType=HashSignature;Timeout=100000;SoapWssPasswordType=Notset;JwtCustomClaims=;RetainCookies=False;UseProxy=False;ProxyUrl=;UseProxyCreds=False;ProxyUserName=;DoNotUseDefaultProxy=False;UseClientCertificate=False;CertificatePath=;CertificateStorageType=CurrentUser;CertificateStoreName=My;CertificateThumbprint=;RetryMode=None;RetryCountMax=3;RetryWaitTimeMs=2000;RetryMultiplyWaitTime=False;RetryMessageList=;RetryStatusCodeList=;AuthScheme=Bearer;TokenAuthHeader=;TokenUrl=;TokenRequestData=;TokenRequestHeaders=Accept:*/*||Cache-Control:no-cache;TokenRequestMethod=;TokenRequestContentType=Default;TokenResponseContentFilter=;TokenResponseValueExtractMode=Body;TokenResponseCookie=;TokenResponseHeader=;TokenResponseContentType=None;TokenExpirationTimeInSeconds=3600;EnableRequestHashing=False;HashAlgorithm=sha256;HashSignatureFormat=[$password$][$timestamp$];HashSignatureFormatForLogin=;ExtraHeaders=nativo-hash:[$signature-hex$]||nativo-timestamp:[$timestamp$]||nativo-token:[$userid$];ExtraHeadersForLogin=;HashTimestampFormat=unix-epoch;HashTreatSecretAsNonBase64=True;HashSignWithApiKey=True;RetainSameConnection=False">
<Params>
<Param Name="UserName" Label="Api Key" />
<Param Name="Password" Label="Api Secret" Secret="True" />
<Param Name="RetryMode" Value="RetryWhenStatusCodeMatch" Options="None;RetryAny;RetryWhenStatusCodeMatch;" Hidden="True" />
<Param Name="RetryStatusCodeList" Value="429" Hidden="True" />
<Param Name="RetryCountMax" Value="5" Hidden="True" />
<Param Name="RetryMultiplyWaitTime" Value="True" Hidden="True" />
</Params>
</Auth>
</Auths>
<Template>
<!-- When name not specified in EndPoints node .. its considered as base for all other template -->
<EndPoint>
<Params>
<Param Name="Filter" Type="Property" Desc="Filter for JSON" Value="$.data[*]" />
<Param Name="PagingMode" Label="Pagination Mode" Type="Property" Editor="Enum" Desc="Pagination mode" Value="ByUrlParameter" />
<Param Name="PagingByUrlAttributeName" Label="Pagination URL Parameter" Type="Property" Desc="" Value="page" />
</Params>
</EndPoint>
<EndPoint Name="NoPagination" Template=".">
<Params>
<Param Name="Filter" Type="Property" Desc="Filter for JSON" Value="$.data[*]" />
</Params>
</EndPoint>
<EndPoint Name="Reporting">
<Body>
{
"start_date": "[$start_date$]",
"end_date": "[$end_date$]",
"resolution": "[$resolution$]",
"metrics": [$metrics$],
"page": "{%page%}",
"page_size": "[$page_size$]",
"timezone": "[$timezone$]"
}
</Body>
<Params>
<Param Name="start_date" Value="2018-01-01" />
<Param Name="end_date" Value="2018-01-31" />
<Param Name="resolution" Value="totals" />
<Param Name="metrics">["viewable_impressions", "ctr"]</Param>
<Param Name="page" Value="{%page%}" />
<Param Name="page_size" Value="50000" />
<Param Name="timezone" Value="US/Eastern" />
</Params>
</EndPoint>
</Template>
<EndPoints>
<EndPoint Name="get_campaigns" Label="Read Campaign Data" Url="/campaigns">
<Params>
<Param Name="advertiser_id" Desc="Return campaigns only for this advertiser." />
</Params>
</EndPoint>
<EndPoint Name="get_advertisers" Label="Read Advertisers Data" Url="/advertisers"></EndPoint>
<EndPoint Name="get_metrics" Label="Read Metrics" Url="/data/direct/options/metrics"></EndPoint>
<EndPoint Name="get_direct_campaigns" Label="Read DirectCampaign Data" Method="POST" Url="/data/direct" Template="Reporting"></EndPoint>
<EndPoint Name="get_preferred_campaigns" Label="Read Preferred Campaign Data" Method="POST" Url="/data/preferred" Template="Reporting"></EndPoint>
<EndPoint Name="get_marketplace_managed" Label="Read Managed Campaign Data" Method="POST" Url="/data/managed" Template="Reporting"></EndPoint>
<EndPoint Name="get_demand_managed" Label="Read Demand Campaign Data" Method="POST" Url="/data/demand" Template="Reporting"></EndPoint>
<EndPoint Name="get_auction_managed" Label="Read Auction Campaign Data" Method="POST" Url="/data/auction" Template="Reporting"></EndPoint>
<EndPoint Name="get_inventory_managed" Label="Read Inventory Campaign Data" Method="POST" Url="/data/inventory" Template="Reporting"></EndPoint>
<EndPoint Name="get_performance_managed" Label="Read Performance Campaign Data (Depriciated)" Method="POST" Url="/data/performance" Template="Reporting"></EndPoint>
</EndPoints>
<!--
https://crm.zoho.com/crm/private/json/Leads/getRecords?newFormat=1&authtoken={{User::token}}&scope=crmapi&fromIndex=0&toIndex=200&lastModifiedTime={{User::varExtractDate,yyyy-MM-dd HH:mm:ss}}
https://crm.zoho.com/crm/private/json/Info/getModules?newFormat=1&authtoken={{User::token}}&type=api
-->
</ApiConfig>