Ad Lightning Blocking Results API

/api/1.0/blocking/details - get

Details for blocked item

Returns details about blocked item including markup, blacklist matches and location info


Usage and SDK Samples

curl -X GET -H "Authorization: [[apiKey]]" "https://api-prod.adlightning.com/blocking-results/api/1.0/blocking/details?id="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: universalAuthorizerFunc
        ApiKeyAuth universalAuthorizerFunc = (ApiKeyAuth) defaultClient.getAuthentication("universalAuthorizerFunc");
        universalAuthorizerFunc.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //universalAuthorizerFunc.setApiKeyPrefix("Token");

        DefaultApi apiInstance = new DefaultApi();
        String id = id_example; // String | id field found in summary response body
        String authorization = authorization_example; // String | Bearer token provided by Ad Lightning
        try {
            ApiBlockingDetailResponse result = apiInstance.api10BlockingDetailsGet(id, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#api10BlockingDetailsGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String id = id_example; // String | id field found in summary response body
        String authorization = authorization_example; // String | Bearer token provided by Ad Lightning
        try {
            ApiBlockingDetailResponse result = apiInstance.api10BlockingDetailsGet(id, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#api10BlockingDetailsGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: universalAuthorizerFunc)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"Authorization"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"Authorization"];

String *id = id_example; // id field found in summary response body
String *authorization = authorization_example; // Bearer token provided by Ad Lightning (optional)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Details for blocked item
[apiInstance api10BlockingDetailsGetWith:id
    authorization:authorization
              completionHandler: ^(ApiBlockingDetailResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ProdApiBlockingResultsServerless = require('prod_api_blocking_results_serverless');
var defaultClient = ProdApiBlockingResultsServerless.ApiClient.instance;

// Configure API key authorization: universalAuthorizerFunc
var universalAuthorizerFunc = defaultClient.authentications['universalAuthorizerFunc'];
universalAuthorizerFunc.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//universalAuthorizerFunc.apiKeyPrefix['Authorization'] = "Token"

var api = new ProdApiBlockingResultsServerless.DefaultApi()

var id = id_example; // {String} id field found in summary response body

var opts = { 
  'authorization': authorization_example // {String} Bearer token provided by Ad Lightning
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.api10BlockingDetailsGet(id, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class api10BlockingDetailsGetExample
    {
        public void main()
        {
            
            // Configure API key authorization: universalAuthorizerFunc
            Configuration.Default.ApiKey.Add("Authorization", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("Authorization", "Bearer");

            var apiInstance = new DefaultApi();
            var id = id_example;  // String | id field found in summary response body
            var authorization = authorization_example;  // String | Bearer token provided by Ad Lightning (optional) 

            try
            {
                // Details for blocked item
                ApiBlockingDetailResponse result = apiInstance.api10BlockingDetailsGet(id, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.api10BlockingDetailsGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: universalAuthorizerFunc
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');

$api_instance = new Swagger\Client\Api\DefaultApi();
$id = id_example; // String | id field found in summary response body
$authorization = authorization_example; // String | Bearer token provided by Ad Lightning

try {
    $result = $api_instance->api10BlockingDetailsGet($id, $authorization);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->api10BlockingDetailsGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DefaultApi;

# Configure API key authorization: universalAuthorizerFunc
$WWW::SwaggerClient::Configuration::api_key->{'Authorization'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'Authorization'} = "Bearer";

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $id = id_example; # String | id field found in summary response body
my $authorization = authorization_example; # String | Bearer token provided by Ad Lightning

eval { 
    my $result = $api_instance->api10BlockingDetailsGet(id => $id, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->api10BlockingDetailsGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: universalAuthorizerFunc
swagger_client.configuration.api_key['Authorization'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['Authorization'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
id = id_example # String | id field found in summary response body
authorization = authorization_example # String | Bearer token provided by Ad Lightning (optional)

try: 
    # Details for blocked item
    api_response = api_instance.api10_blocking_details_get(id, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->api10BlockingDetailsGet: %s\n" % e)

Parameters

Header parameters
Name Description
Authorization
String
Bearer token provided by Ad Lightning
Query parameters
Name Description
id*
String
id field found in summary response body
Required

Responses

Status: 200 - 200 response

Status: 400 - 400 response

Status: 500 - 500 response


/api/1.0/blocking/details - options


Usage and SDK Samples

curl -X OPTIONS "https://api-prod.adlightning.com/blocking-results/api/1.0/blocking/details"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        try {
            apiInstance.api10BlockingDetailsOptions();
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#api10BlockingDetailsOptions");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        try {
            apiInstance.api10BlockingDetailsOptions();
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#api10BlockingDetailsOptions");
            e.printStackTrace();
        }
    }
}

DefaultApi *apiInstance = [[DefaultApi alloc] init];

[apiInstance api10BlockingDetailsOptionsWithCompletionHandler: 
              ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ProdApiBlockingResultsServerless = require('prod_api_blocking_results_serverless');

var api = new ProdApiBlockingResultsServerless.DefaultApi()

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.api10BlockingDetailsOptions(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class api10BlockingDetailsOptionsExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();

            try
            {
                apiInstance.api10BlockingDetailsOptions();
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.api10BlockingDetailsOptions: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\DefaultApi();

try {
    $api_instance->api10BlockingDetailsOptions();
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->api10BlockingDetailsOptions: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DefaultApi;

my $api_instance = WWW::SwaggerClient::DefaultApi->new();

eval { 
    $api_instance->api10BlockingDetailsOptions();
};
if ($@) {
    warn "Exception when calling DefaultApi->api10BlockingDetailsOptions: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.DefaultApi()

try: 
    api_instance.api10_blocking_details_options()
except ApiException as e:
    print("Exception when calling DefaultApi->api10BlockingDetailsOptions: %s\n" % e)

Parameters

Responses

Status: 200 - 200 response

Name Type Format Description
Access-Control-Allow-Origin String
Access-Control-Allow-Methods String
Access-Control-Allow-Headers String

/api/1.0/blocking/network/details - get

Details for blocked item

Returns details about blocked item including markup, denylist matches and location info. NOTE: This endpoint is for specific use-cases, and may not be available to all clients.


Usage and SDK Samples

curl -X GET -H "Authorization: [[apiKey]]" "https://api-prod.adlightning.com/blocking-results/api/1.0/blocking/network/details?id="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: universalAuthorizerFunc
        ApiKeyAuth universalAuthorizerFunc = (ApiKeyAuth) defaultClient.getAuthentication("universalAuthorizerFunc");
        universalAuthorizerFunc.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //universalAuthorizerFunc.setApiKeyPrefix("Token");

        DefaultApi apiInstance = new DefaultApi();
        String id = id_example; // String | id field found in summary response body
        String authorization = authorization_example; // String | Bearer token provided by Ad Lightning
        try {
            ApiBlockingDetailResponse result = apiInstance.api10BlockingNetworkDetailsGet(id, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#api10BlockingNetworkDetailsGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String id = id_example; // String | id field found in summary response body
        String authorization = authorization_example; // String | Bearer token provided by Ad Lightning
        try {
            ApiBlockingDetailResponse result = apiInstance.api10BlockingNetworkDetailsGet(id, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#api10BlockingNetworkDetailsGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: universalAuthorizerFunc)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"Authorization"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"Authorization"];

String *id = id_example; // id field found in summary response body
String *authorization = authorization_example; // Bearer token provided by Ad Lightning (optional)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Details for blocked item
[apiInstance api10BlockingNetworkDetailsGetWith:id
    authorization:authorization
              completionHandler: ^(ApiBlockingDetailResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ProdApiBlockingResultsServerless = require('prod_api_blocking_results_serverless');
var defaultClient = ProdApiBlockingResultsServerless.ApiClient.instance;

// Configure API key authorization: universalAuthorizerFunc
var universalAuthorizerFunc = defaultClient.authentications['universalAuthorizerFunc'];
universalAuthorizerFunc.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//universalAuthorizerFunc.apiKeyPrefix['Authorization'] = "Token"

var api = new ProdApiBlockingResultsServerless.DefaultApi()

var id = id_example; // {String} id field found in summary response body

var opts = { 
  'authorization': authorization_example // {String} Bearer token provided by Ad Lightning
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.api10BlockingNetworkDetailsGet(id, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class api10BlockingNetworkDetailsGetExample
    {
        public void main()
        {
            
            // Configure API key authorization: universalAuthorizerFunc
            Configuration.Default.ApiKey.Add("Authorization", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("Authorization", "Bearer");

            var apiInstance = new DefaultApi();
            var id = id_example;  // String | id field found in summary response body
            var authorization = authorization_example;  // String | Bearer token provided by Ad Lightning (optional) 

            try
            {
                // Details for blocked item
                ApiBlockingDetailResponse result = apiInstance.api10BlockingNetworkDetailsGet(id, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.api10BlockingNetworkDetailsGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: universalAuthorizerFunc
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');

$api_instance = new Swagger\Client\Api\DefaultApi();
$id = id_example; // String | id field found in summary response body
$authorization = authorization_example; // String | Bearer token provided by Ad Lightning

try {
    $result = $api_instance->api10BlockingNetworkDetailsGet($id, $authorization);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->api10BlockingNetworkDetailsGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DefaultApi;

# Configure API key authorization: universalAuthorizerFunc
$WWW::SwaggerClient::Configuration::api_key->{'Authorization'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'Authorization'} = "Bearer";

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $id = id_example; # String | id field found in summary response body
my $authorization = authorization_example; # String | Bearer token provided by Ad Lightning

eval { 
    my $result = $api_instance->api10BlockingNetworkDetailsGet(id => $id, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->api10BlockingNetworkDetailsGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: universalAuthorizerFunc
swagger_client.configuration.api_key['Authorization'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['Authorization'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
id = id_example # String | id field found in summary response body
authorization = authorization_example # String | Bearer token provided by Ad Lightning (optional)

try: 
    # Details for blocked item
    api_response = api_instance.api10_blocking_network_details_get(id, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->api10BlockingNetworkDetailsGet: %s\n" % e)

Parameters

Header parameters
Name Description
Authorization
String
Bearer token provided by Ad Lightning
Query parameters
Name Description
id*
String
id field found in summary response body
Required

Responses

Status: 200 - 200 response

Status: 400 - 400 response

Status: 500 - 500 response


/api/1.0/blocking/network/details - options


Usage and SDK Samples

curl -X OPTIONS "https://api-prod.adlightning.com/blocking-results/api/1.0/blocking/network/details"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        try {
            apiInstance.api10BlockingNetworkDetailsOptions();
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#api10BlockingNetworkDetailsOptions");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        try {
            apiInstance.api10BlockingNetworkDetailsOptions();
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#api10BlockingNetworkDetailsOptions");
            e.printStackTrace();
        }
    }
}

DefaultApi *apiInstance = [[DefaultApi alloc] init];

[apiInstance api10BlockingNetworkDetailsOptionsWithCompletionHandler: 
              ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ProdApiBlockingResultsServerless = require('prod_api_blocking_results_serverless');

var api = new ProdApiBlockingResultsServerless.DefaultApi()

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.api10BlockingNetworkDetailsOptions(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class api10BlockingNetworkDetailsOptionsExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();

            try
            {
                apiInstance.api10BlockingNetworkDetailsOptions();
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.api10BlockingNetworkDetailsOptions: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\DefaultApi();

try {
    $api_instance->api10BlockingNetworkDetailsOptions();
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->api10BlockingNetworkDetailsOptions: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DefaultApi;

my $api_instance = WWW::SwaggerClient::DefaultApi->new();

eval { 
    $api_instance->api10BlockingNetworkDetailsOptions();
};
if ($@) {
    warn "Exception when calling DefaultApi->api10BlockingNetworkDetailsOptions: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.DefaultApi()

try: 
    api_instance.api10_blocking_network_details_options()
except ApiException as e:
    print("Exception when calling DefaultApi->api10BlockingNetworkDetailsOptions: %s\n" % e)

Parameters

Responses

Status: 200 - 200 response

Name Type Format Description
Access-Control-Allow-Origin String
Access-Control-Allow-Methods String
Access-Control-Allow-Headers String

/api/1.0/blocking/network/summary - get

Summary data for blocking

Returns summary data for blocked creatives within a date range.


Usage and SDK Samples

curl -X GET -H "Authorization: [[apiKey]]" "https://api-prod.adlightning.com/blocking-results/api/1.0/blocking/network/summary?site=&start_date=&end_date="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: universalAuthorizerFunc
        ApiKeyAuth universalAuthorizerFunc = (ApiKeyAuth) defaultClient.getAuthentication("universalAuthorizerFunc");
        universalAuthorizerFunc.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //universalAuthorizerFunc.setApiKeyPrefix("Token");

        DefaultApi apiInstance = new DefaultApi();
        String site = site_example; // String | Optional: Tag wrapper site identifier used to limit results
        String startDate = startDate_example; // String | Start date for results in the ISO 8601 format.  Use the format YYYY-MM-DDThh:mm:ss±hh:mm (ex. 2020-01-01T10:59:00-08:00) for a specific time and timezone, or YYYY-MM-DD (e.g. 2020-01-01) to use the default timezone of UTC.
        String endDate = endDate_example; // String | End date for results in the ISO 8601 format.  Use the format YYYY-MM-DDThh:mm:ss±hh:mm (ex. 2020-01-01T10:59:00-08:00) for a specific time and timezone, or YYYY-MM-DD (e.g. 2020-01-01) to use the default timezone of UTC.  *Results returned through end of day on date entered or end of hour when time is specified.
        String authorization = authorization_example; // String | Bearer token provided by Ad Lightning
        try {
            ApiNetworkBlockingSummaryResponse result = apiInstance.api10BlockingNetworkSummaryGet(site, startDate, endDate, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#api10BlockingNetworkSummaryGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String site = site_example; // String | Optional: Tag wrapper site identifier used to limit results
        String startDate = startDate_example; // String | Start date for results in the ISO 8601 format.  Use the format YYYY-MM-DDThh:mm:ss±hh:mm (ex. 2020-01-01T10:59:00-08:00) for a specific time and timezone, or YYYY-MM-DD (e.g. 2020-01-01) to use the default timezone of UTC.
        String endDate = endDate_example; // String | End date for results in the ISO 8601 format.  Use the format YYYY-MM-DDThh:mm:ss±hh:mm (ex. 2020-01-01T10:59:00-08:00) for a specific time and timezone, or YYYY-MM-DD (e.g. 2020-01-01) to use the default timezone of UTC.  *Results returned through end of day on date entered or end of hour when time is specified.
        String authorization = authorization_example; // String | Bearer token provided by Ad Lightning
        try {
            ApiNetworkBlockingSummaryResponse result = apiInstance.api10BlockingNetworkSummaryGet(site, startDate, endDate, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#api10BlockingNetworkSummaryGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: universalAuthorizerFunc)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"Authorization"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"Authorization"];

String *site = site_example; // Optional: Tag wrapper site identifier used to limit results (optional)
String *startDate = startDate_example; // Start date for results in the ISO 8601 format.  Use the format YYYY-MM-DDThh:mm:ss±hh:mm (ex. 2020-01-01T10:59:00-08:00) for a specific time and timezone, or YYYY-MM-DD (e.g. 2020-01-01) to use the default timezone of UTC. (optional)
String *endDate = endDate_example; // End date for results in the ISO 8601 format.  Use the format YYYY-MM-DDThh:mm:ss±hh:mm (ex. 2020-01-01T10:59:00-08:00) for a specific time and timezone, or YYYY-MM-DD (e.g. 2020-01-01) to use the default timezone of UTC.  *Results returned through end of day on date entered or end of hour when time is specified. (optional)
String *authorization = authorization_example; // Bearer token provided by Ad Lightning (optional)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Summary data for blocking
[apiInstance api10BlockingNetworkSummaryGetWith:site
    startDate:startDate
    endDate:endDate
    authorization:authorization
              completionHandler: ^(ApiNetworkBlockingSummaryResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ProdApiBlockingResultsServerless = require('prod_api_blocking_results_serverless');
var defaultClient = ProdApiBlockingResultsServerless.ApiClient.instance;

// Configure API key authorization: universalAuthorizerFunc
var universalAuthorizerFunc = defaultClient.authentications['universalAuthorizerFunc'];
universalAuthorizerFunc.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//universalAuthorizerFunc.apiKeyPrefix['Authorization'] = "Token"

var api = new ProdApiBlockingResultsServerless.DefaultApi()

var opts = { 
  'site': site_example, // {String} Optional: Tag wrapper site identifier used to limit results
  'startDate': startDate_example, // {String} Start date for results in the ISO 8601 format.  Use the format YYYY-MM-DDThh:mm:ss±hh:mm (ex. 2020-01-01T10:59:00-08:00) for a specific time and timezone, or YYYY-MM-DD (e.g. 2020-01-01) to use the default timezone of UTC.
  'endDate': endDate_example, // {String} End date for results in the ISO 8601 format.  Use the format YYYY-MM-DDThh:mm:ss±hh:mm (ex. 2020-01-01T10:59:00-08:00) for a specific time and timezone, or YYYY-MM-DD (e.g. 2020-01-01) to use the default timezone of UTC.  *Results returned through end of day on date entered or end of hour when time is specified.
  'authorization': authorization_example // {String} Bearer token provided by Ad Lightning
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.api10BlockingNetworkSummaryGet(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class api10BlockingNetworkSummaryGetExample
    {
        public void main()
        {
            
            // Configure API key authorization: universalAuthorizerFunc
            Configuration.Default.ApiKey.Add("Authorization", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("Authorization", "Bearer");

            var apiInstance = new DefaultApi();
            var site = site_example;  // String | Optional: Tag wrapper site identifier used to limit results (optional) 
            var startDate = startDate_example;  // String | Start date for results in the ISO 8601 format.  Use the format YYYY-MM-DDThh:mm:ss±hh:mm (ex. 2020-01-01T10:59:00-08:00) for a specific time and timezone, or YYYY-MM-DD (e.g. 2020-01-01) to use the default timezone of UTC. (optional) 
            var endDate = endDate_example;  // String | End date for results in the ISO 8601 format.  Use the format YYYY-MM-DDThh:mm:ss±hh:mm (ex. 2020-01-01T10:59:00-08:00) for a specific time and timezone, or YYYY-MM-DD (e.g. 2020-01-01) to use the default timezone of UTC.  *Results returned through end of day on date entered or end of hour when time is specified. (optional) 
            var authorization = authorization_example;  // String | Bearer token provided by Ad Lightning (optional) 

            try
            {
                // Summary data for blocking
                ApiNetworkBlockingSummaryResponse result = apiInstance.api10BlockingNetworkSummaryGet(site, startDate, endDate, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.api10BlockingNetworkSummaryGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: universalAuthorizerFunc
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');

$api_instance = new Swagger\Client\Api\DefaultApi();
$site = site_example; // String | Optional: Tag wrapper site identifier used to limit results
$startDate = startDate_example; // String | Start date for results in the ISO 8601 format.  Use the format YYYY-MM-DDThh:mm:ss±hh:mm (ex. 2020-01-01T10:59:00-08:00) for a specific time and timezone, or YYYY-MM-DD (e.g. 2020-01-01) to use the default timezone of UTC.
$endDate = endDate_example; // String | End date for results in the ISO 8601 format.  Use the format YYYY-MM-DDThh:mm:ss±hh:mm (ex. 2020-01-01T10:59:00-08:00) for a specific time and timezone, or YYYY-MM-DD (e.g. 2020-01-01) to use the default timezone of UTC.  *Results returned through end of day on date entered or end of hour when time is specified.
$authorization = authorization_example; // String | Bearer token provided by Ad Lightning

try {
    $result = $api_instance->api10BlockingNetworkSummaryGet($site, $startDate, $endDate, $authorization);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->api10BlockingNetworkSummaryGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DefaultApi;

# Configure API key authorization: universalAuthorizerFunc
$WWW::SwaggerClient::Configuration::api_key->{'Authorization'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'Authorization'} = "Bearer";

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $site = site_example; # String | Optional: Tag wrapper site identifier used to limit results
my $startDate = startDate_example; # String | Start date for results in the ISO 8601 format.  Use the format YYYY-MM-DDThh:mm:ss±hh:mm (ex. 2020-01-01T10:59:00-08:00) for a specific time and timezone, or YYYY-MM-DD (e.g. 2020-01-01) to use the default timezone of UTC.
my $endDate = endDate_example; # String | End date for results in the ISO 8601 format.  Use the format YYYY-MM-DDThh:mm:ss±hh:mm (ex. 2020-01-01T10:59:00-08:00) for a specific time and timezone, or YYYY-MM-DD (e.g. 2020-01-01) to use the default timezone of UTC.  *Results returned through end of day on date entered or end of hour when time is specified.
my $authorization = authorization_example; # String | Bearer token provided by Ad Lightning

eval { 
    my $result = $api_instance->api10BlockingNetworkSummaryGet(site => $site, startDate => $startDate, endDate => $endDate, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->api10BlockingNetworkSummaryGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: universalAuthorizerFunc
swagger_client.configuration.api_key['Authorization'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['Authorization'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
site = site_example # String | Optional: Tag wrapper site identifier used to limit results (optional)
startDate = startDate_example # String | Start date for results in the ISO 8601 format.  Use the format YYYY-MM-DDThh:mm:ss±hh:mm (ex. 2020-01-01T10:59:00-08:00) for a specific time and timezone, or YYYY-MM-DD (e.g. 2020-01-01) to use the default timezone of UTC. (optional)
endDate = endDate_example # String | End date for results in the ISO 8601 format.  Use the format YYYY-MM-DDThh:mm:ss±hh:mm (ex. 2020-01-01T10:59:00-08:00) for a specific time and timezone, or YYYY-MM-DD (e.g. 2020-01-01) to use the default timezone of UTC.  *Results returned through end of day on date entered or end of hour when time is specified. (optional)
authorization = authorization_example # String | Bearer token provided by Ad Lightning (optional)

try: 
    # Summary data for blocking
    api_response = api_instance.api10_blocking_network_summary_get(site=site, startDate=startDate, endDate=endDate, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->api10BlockingNetworkSummaryGet: %s\n" % e)

Parameters

Header parameters
Name Description
Authorization
String
Bearer token provided by Ad Lightning
Query parameters
Name Description
site
String
Optional: Tag wrapper site identifier used to limit results
start_date
String
Start date for results in the ISO 8601 format. Use the format YYYY-MM-DDThh:mm:ss±hh:mm (ex. 2020-01-01T10:59:00-08:00) for a specific time and timezone, or YYYY-MM-DD (e.g. 2020-01-01) to use the default timezone of UTC.
end_date
String
End date for results in the ISO 8601 format. Use the format YYYY-MM-DDThh:mm:ss±hh:mm (ex. 2020-01-01T10:59:00-08:00) for a specific time and timezone, or YYYY-MM-DD (e.g. 2020-01-01) to use the default timezone of UTC. *Results returned through end of day on date entered or end of hour when time is specified.

Responses

Status: 200 - 200 response

Status: 400 - 400 response

Status: 500 - 500 response


/api/1.0/blocking/network/summary - options


Usage and SDK Samples

curl -X OPTIONS "https://api-prod.adlightning.com/blocking-results/api/1.0/blocking/network/summary"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        try {
            apiInstance.api10BlockingNetworkSummaryOptions();
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#api10BlockingNetworkSummaryOptions");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        try {
            apiInstance.api10BlockingNetworkSummaryOptions();
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#api10BlockingNetworkSummaryOptions");
            e.printStackTrace();
        }
    }
}

DefaultApi *apiInstance = [[DefaultApi alloc] init];

[apiInstance api10BlockingNetworkSummaryOptionsWithCompletionHandler: 
              ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ProdApiBlockingResultsServerless = require('prod_api_blocking_results_serverless');

var api = new ProdApiBlockingResultsServerless.DefaultApi()

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.api10BlockingNetworkSummaryOptions(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class api10BlockingNetworkSummaryOptionsExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();

            try
            {
                apiInstance.api10BlockingNetworkSummaryOptions();
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.api10BlockingNetworkSummaryOptions: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\DefaultApi();

try {
    $api_instance->api10BlockingNetworkSummaryOptions();
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->api10BlockingNetworkSummaryOptions: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DefaultApi;

my $api_instance = WWW::SwaggerClient::DefaultApi->new();

eval { 
    $api_instance->api10BlockingNetworkSummaryOptions();
};
if ($@) {
    warn "Exception when calling DefaultApi->api10BlockingNetworkSummaryOptions: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.DefaultApi()

try: 
    api_instance.api10_blocking_network_summary_options()
except ApiException as e:
    print("Exception when calling DefaultApi->api10BlockingNetworkSummaryOptions: %s\n" % e)

Parameters

Responses

Status: 200 - 200 response

Name Type Format Description
Access-Control-Allow-Origin String
Access-Control-Allow-Methods String
Access-Control-Allow-Headers String

/api/1.0/blocking/samples - get

Blocking Samples

Returns samples matching an id within a date range


Usage and SDK Samples

curl -X GET -H "Authorization: [[apiKey]]" "https://api-prod.adlightning.com/blocking-results/api/1.0/blocking/samples?start_date=&end_date=&id="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: universalAuthorizerFunc
        ApiKeyAuth universalAuthorizerFunc = (ApiKeyAuth) defaultClient.getAuthentication("universalAuthorizerFunc");
        universalAuthorizerFunc.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //universalAuthorizerFunc.setApiKeyPrefix("Token");

        DefaultApi apiInstance = new DefaultApi();
        String id = id_example; // String | id field found in summary response body
        String startDate = startDate_example; // String | Start date for results in the ISO 8601 format.  Use the format YYYY-MM-DDThh:mm:ss±hh:mm (ex. 2020-01-01T10:59:00-08:00) for a specific time and timezone, or YYYY-MM-DD (e.g. 2020-01-01) to use the default timezone of UTC.
        String endDate = endDate_example; // String | End date for results in the ISO 8601 format.  Use the format YYYY-MM-DDThh:mm:ss±hh:mm (ex. 2020-01-01T10:59:00-08:00) for a specific time and timezone, or YYYY-MM-DD (e.g. 2020-01-01) to use the default timezone of UTC.  *Results returned through end of day on date entered or end of hour when time is specified.
        String authorization = authorization_example; // String | Bearer token provided by Ad Lightning
        try {
            ApiBlockingSampleResponse result = apiInstance.api10BlockingSamplesGet(id, startDate, endDate, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#api10BlockingSamplesGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String id = id_example; // String | id field found in summary response body
        String startDate = startDate_example; // String | Start date for results in the ISO 8601 format.  Use the format YYYY-MM-DDThh:mm:ss±hh:mm (ex. 2020-01-01T10:59:00-08:00) for a specific time and timezone, or YYYY-MM-DD (e.g. 2020-01-01) to use the default timezone of UTC.
        String endDate = endDate_example; // String | End date for results in the ISO 8601 format.  Use the format YYYY-MM-DDThh:mm:ss±hh:mm (ex. 2020-01-01T10:59:00-08:00) for a specific time and timezone, or YYYY-MM-DD (e.g. 2020-01-01) to use the default timezone of UTC.  *Results returned through end of day on date entered or end of hour when time is specified.
        String authorization = authorization_example; // String | Bearer token provided by Ad Lightning
        try {
            ApiBlockingSampleResponse result = apiInstance.api10BlockingSamplesGet(id, startDate, endDate, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#api10BlockingSamplesGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: universalAuthorizerFunc)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"Authorization"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"Authorization"];

String *id = id_example; // id field found in summary response body
String *startDate = startDate_example; // Start date for results in the ISO 8601 format.  Use the format YYYY-MM-DDThh:mm:ss±hh:mm (ex. 2020-01-01T10:59:00-08:00) for a specific time and timezone, or YYYY-MM-DD (e.g. 2020-01-01) to use the default timezone of UTC. (optional)
String *endDate = endDate_example; // End date for results in the ISO 8601 format.  Use the format YYYY-MM-DDThh:mm:ss±hh:mm (ex. 2020-01-01T10:59:00-08:00) for a specific time and timezone, or YYYY-MM-DD (e.g. 2020-01-01) to use the default timezone of UTC.  *Results returned through end of day on date entered or end of hour when time is specified. (optional)
String *authorization = authorization_example; // Bearer token provided by Ad Lightning (optional)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Blocking Samples
[apiInstance api10BlockingSamplesGetWith:id
    startDate:startDate
    endDate:endDate
    authorization:authorization
              completionHandler: ^(ApiBlockingSampleResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ProdApiBlockingResultsServerless = require('prod_api_blocking_results_serverless');
var defaultClient = ProdApiBlockingResultsServerless.ApiClient.instance;

// Configure API key authorization: universalAuthorizerFunc
var universalAuthorizerFunc = defaultClient.authentications['universalAuthorizerFunc'];
universalAuthorizerFunc.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//universalAuthorizerFunc.apiKeyPrefix['Authorization'] = "Token"

var api = new ProdApiBlockingResultsServerless.DefaultApi()

var id = id_example; // {String} id field found in summary response body

var opts = { 
  'startDate': startDate_example, // {String} Start date for results in the ISO 8601 format.  Use the format YYYY-MM-DDThh:mm:ss±hh:mm (ex. 2020-01-01T10:59:00-08:00) for a specific time and timezone, or YYYY-MM-DD (e.g. 2020-01-01) to use the default timezone of UTC.
  'endDate': endDate_example, // {String} End date for results in the ISO 8601 format.  Use the format YYYY-MM-DDThh:mm:ss±hh:mm (ex. 2020-01-01T10:59:00-08:00) for a specific time and timezone, or YYYY-MM-DD (e.g. 2020-01-01) to use the default timezone of UTC.  *Results returned through end of day on date entered or end of hour when time is specified.
  'authorization': authorization_example // {String} Bearer token provided by Ad Lightning
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.api10BlockingSamplesGet(id, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class api10BlockingSamplesGetExample
    {
        public void main()
        {
            
            // Configure API key authorization: universalAuthorizerFunc
            Configuration.Default.ApiKey.Add("Authorization", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("Authorization", "Bearer");

            var apiInstance = new DefaultApi();
            var id = id_example;  // String | id field found in summary response body
            var startDate = startDate_example;  // String | Start date for results in the ISO 8601 format.  Use the format YYYY-MM-DDThh:mm:ss±hh:mm (ex. 2020-01-01T10:59:00-08:00) for a specific time and timezone, or YYYY-MM-DD (e.g. 2020-01-01) to use the default timezone of UTC. (optional) 
            var endDate = endDate_example;  // String | End date for results in the ISO 8601 format.  Use the format YYYY-MM-DDThh:mm:ss±hh:mm (ex. 2020-01-01T10:59:00-08:00) for a specific time and timezone, or YYYY-MM-DD (e.g. 2020-01-01) to use the default timezone of UTC.  *Results returned through end of day on date entered or end of hour when time is specified. (optional) 
            var authorization = authorization_example;  // String | Bearer token provided by Ad Lightning (optional) 

            try
            {
                // Blocking Samples
                ApiBlockingSampleResponse result = apiInstance.api10BlockingSamplesGet(id, startDate, endDate, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.api10BlockingSamplesGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: universalAuthorizerFunc
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');

$api_instance = new Swagger\Client\Api\DefaultApi();
$id = id_example; // String | id field found in summary response body
$startDate = startDate_example; // String | Start date for results in the ISO 8601 format.  Use the format YYYY-MM-DDThh:mm:ss±hh:mm (ex. 2020-01-01T10:59:00-08:00) for a specific time and timezone, or YYYY-MM-DD (e.g. 2020-01-01) to use the default timezone of UTC.
$endDate = endDate_example; // String | End date for results in the ISO 8601 format.  Use the format YYYY-MM-DDThh:mm:ss±hh:mm (ex. 2020-01-01T10:59:00-08:00) for a specific time and timezone, or YYYY-MM-DD (e.g. 2020-01-01) to use the default timezone of UTC.  *Results returned through end of day on date entered or end of hour when time is specified.
$authorization = authorization_example; // String | Bearer token provided by Ad Lightning

try {
    $result = $api_instance->api10BlockingSamplesGet($id, $startDate, $endDate, $authorization);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->api10BlockingSamplesGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DefaultApi;

# Configure API key authorization: universalAuthorizerFunc
$WWW::SwaggerClient::Configuration::api_key->{'Authorization'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'Authorization'} = "Bearer";

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $id = id_example; # String | id field found in summary response body
my $startDate = startDate_example; # String | Start date for results in the ISO 8601 format.  Use the format YYYY-MM-DDThh:mm:ss±hh:mm (ex. 2020-01-01T10:59:00-08:00) for a specific time and timezone, or YYYY-MM-DD (e.g. 2020-01-01) to use the default timezone of UTC.
my $endDate = endDate_example; # String | End date for results in the ISO 8601 format.  Use the format YYYY-MM-DDThh:mm:ss±hh:mm (ex. 2020-01-01T10:59:00-08:00) for a specific time and timezone, or YYYY-MM-DD (e.g. 2020-01-01) to use the default timezone of UTC.  *Results returned through end of day on date entered or end of hour when time is specified.
my $authorization = authorization_example; # String | Bearer token provided by Ad Lightning

eval { 
    my $result = $api_instance->api10BlockingSamplesGet(id => $id, startDate => $startDate, endDate => $endDate, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->api10BlockingSamplesGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: universalAuthorizerFunc
swagger_client.configuration.api_key['Authorization'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['Authorization'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
id = id_example # String | id field found in summary response body
startDate = startDate_example # String | Start date for results in the ISO 8601 format.  Use the format YYYY-MM-DDThh:mm:ss±hh:mm (ex. 2020-01-01T10:59:00-08:00) for a specific time and timezone, or YYYY-MM-DD (e.g. 2020-01-01) to use the default timezone of UTC. (optional)
endDate = endDate_example # String | End date for results in the ISO 8601 format.  Use the format YYYY-MM-DDThh:mm:ss±hh:mm (ex. 2020-01-01T10:59:00-08:00) for a specific time and timezone, or YYYY-MM-DD (e.g. 2020-01-01) to use the default timezone of UTC.  *Results returned through end of day on date entered or end of hour when time is specified. (optional)
authorization = authorization_example # String | Bearer token provided by Ad Lightning (optional)

try: 
    # Blocking Samples
    api_response = api_instance.api10_blocking_samples_get(id, startDate=startDate, endDate=endDate, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->api10BlockingSamplesGet: %s\n" % e)

Parameters

Header parameters
Name Description
Authorization
String
Bearer token provided by Ad Lightning
Query parameters
Name Description
start_date
String
Start date for results in the ISO 8601 format. Use the format YYYY-MM-DDThh:mm:ss±hh:mm (ex. 2020-01-01T10:59:00-08:00) for a specific time and timezone, or YYYY-MM-DD (e.g. 2020-01-01) to use the default timezone of UTC.
end_date
String
End date for results in the ISO 8601 format. Use the format YYYY-MM-DDThh:mm:ss±hh:mm (ex. 2020-01-01T10:59:00-08:00) for a specific time and timezone, or YYYY-MM-DD (e.g. 2020-01-01) to use the default timezone of UTC. *Results returned through end of day on date entered or end of hour when time is specified.
id*
String
id field found in summary response body
Required

Responses

Status: 200 - 200 response

Status: 400 - 400 response

Status: 500 - 500 response


/api/1.0/blocking/samples - options


Usage and SDK Samples

curl -X OPTIONS "https://api-prod.adlightning.com/blocking-results/api/1.0/blocking/samples"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        try {
            apiInstance.api10BlockingSamplesOptions();
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#api10BlockingSamplesOptions");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        try {
            apiInstance.api10BlockingSamplesOptions();
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#api10BlockingSamplesOptions");
            e.printStackTrace();
        }
    }
}

DefaultApi *apiInstance = [[DefaultApi alloc] init];

[apiInstance api10BlockingSamplesOptionsWithCompletionHandler: 
              ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ProdApiBlockingResultsServerless = require('prod_api_blocking_results_serverless');

var api = new ProdApiBlockingResultsServerless.DefaultApi()

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.api10BlockingSamplesOptions(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class api10BlockingSamplesOptionsExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();

            try
            {
                apiInstance.api10BlockingSamplesOptions();
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.api10BlockingSamplesOptions: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\DefaultApi();

try {
    $api_instance->api10BlockingSamplesOptions();
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->api10BlockingSamplesOptions: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DefaultApi;

my $api_instance = WWW::SwaggerClient::DefaultApi->new();

eval { 
    $api_instance->api10BlockingSamplesOptions();
};
if ($@) {
    warn "Exception when calling DefaultApi->api10BlockingSamplesOptions: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.DefaultApi()

try: 
    api_instance.api10_blocking_samples_options()
except ApiException as e:
    print("Exception when calling DefaultApi->api10BlockingSamplesOptions: %s\n" % e)

Parameters

Responses

Status: 200 - 200 response

Name Type Format Description
Access-Control-Allow-Origin String
Access-Control-Allow-Methods String
Access-Control-Allow-Headers String

/api/1.0/blocking/summary - get

Summary data for blocking

Returns summary data for blocked creatives within a date range


Usage and SDK Samples

curl -X GET -H "Authorization: [[apiKey]]" "https://api-prod.adlightning.com/blocking-results/api/1.0/blocking/summary?site=&start_date=&end_date="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: universalAuthorizerFunc
        ApiKeyAuth universalAuthorizerFunc = (ApiKeyAuth) defaultClient.getAuthentication("universalAuthorizerFunc");
        universalAuthorizerFunc.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //universalAuthorizerFunc.setApiKeyPrefix("Token");

        DefaultApi apiInstance = new DefaultApi();
        String site = site_example; // String | Optional: Tag wrapper site identifier used to limit results (Note: roles must be configured to allow access to site data)
        String startDate = startDate_example; // String | Start date for results in the ISO 8601 format.  Use the format YYYY-MM-DDThh:mm:ss±hh:mm (ex. 2020-01-01T10:59:00-08:00) for a specific time and timezone, or YYYY-MM-DD (e.g. 2020-01-01) to use the default timezone of UTC.
        String endDate = endDate_example; // String | End date for results in the ISO 8601 format.  Use the format YYYY-MM-DDThh:mm:ss±hh:mm (ex. 2020-01-01T10:59:00-08:00) for a specific time and timezone, or YYYY-MM-DD (e.g. 2020-01-01) to use the default timezone of UTC.  *Results returned through end of day on date entered or end of hour when time is specified.
        String authorization = authorization_example; // String | Bearer token provided by Ad Lightning
        try {
            ApiBlockingSummaryResponse result = apiInstance.api10BlockingSummaryGet(site, startDate, endDate, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#api10BlockingSummaryGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String site = site_example; // String | Optional: Tag wrapper site identifier used to limit results (Note: roles must be configured to allow access to site data)
        String startDate = startDate_example; // String | Start date for results in the ISO 8601 format.  Use the format YYYY-MM-DDThh:mm:ss±hh:mm (ex. 2020-01-01T10:59:00-08:00) for a specific time and timezone, or YYYY-MM-DD (e.g. 2020-01-01) to use the default timezone of UTC.
        String endDate = endDate_example; // String | End date for results in the ISO 8601 format.  Use the format YYYY-MM-DDThh:mm:ss±hh:mm (ex. 2020-01-01T10:59:00-08:00) for a specific time and timezone, or YYYY-MM-DD (e.g. 2020-01-01) to use the default timezone of UTC.  *Results returned through end of day on date entered or end of hour when time is specified.
        String authorization = authorization_example; // String | Bearer token provided by Ad Lightning
        try {
            ApiBlockingSummaryResponse result = apiInstance.api10BlockingSummaryGet(site, startDate, endDate, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#api10BlockingSummaryGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: universalAuthorizerFunc)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"Authorization"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"Authorization"];

String *site = site_example; // Optional: Tag wrapper site identifier used to limit results (Note: roles must be configured to allow access to site data) (optional)
String *startDate = startDate_example; // Start date for results in the ISO 8601 format.  Use the format YYYY-MM-DDThh:mm:ss±hh:mm (ex. 2020-01-01T10:59:00-08:00) for a specific time and timezone, or YYYY-MM-DD (e.g. 2020-01-01) to use the default timezone of UTC. (optional)
String *endDate = endDate_example; // End date for results in the ISO 8601 format.  Use the format YYYY-MM-DDThh:mm:ss±hh:mm (ex. 2020-01-01T10:59:00-08:00) for a specific time and timezone, or YYYY-MM-DD (e.g. 2020-01-01) to use the default timezone of UTC.  *Results returned through end of day on date entered or end of hour when time is specified. (optional)
String *authorization = authorization_example; // Bearer token provided by Ad Lightning (optional)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Summary data for blocking
[apiInstance api10BlockingSummaryGetWith:site
    startDate:startDate
    endDate:endDate
    authorization:authorization
              completionHandler: ^(ApiBlockingSummaryResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ProdApiBlockingResultsServerless = require('prod_api_blocking_results_serverless');
var defaultClient = ProdApiBlockingResultsServerless.ApiClient.instance;

// Configure API key authorization: universalAuthorizerFunc
var universalAuthorizerFunc = defaultClient.authentications['universalAuthorizerFunc'];
universalAuthorizerFunc.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//universalAuthorizerFunc.apiKeyPrefix['Authorization'] = "Token"

var api = new ProdApiBlockingResultsServerless.DefaultApi()

var opts = { 
  'site': site_example, // {String} Optional: Tag wrapper site identifier used to limit results (Note: roles must be configured to allow access to site data)
  'startDate': startDate_example, // {String} Start date for results in the ISO 8601 format.  Use the format YYYY-MM-DDThh:mm:ss±hh:mm (ex. 2020-01-01T10:59:00-08:00) for a specific time and timezone, or YYYY-MM-DD (e.g. 2020-01-01) to use the default timezone of UTC.
  'endDate': endDate_example, // {String} End date for results in the ISO 8601 format.  Use the format YYYY-MM-DDThh:mm:ss±hh:mm (ex. 2020-01-01T10:59:00-08:00) for a specific time and timezone, or YYYY-MM-DD (e.g. 2020-01-01) to use the default timezone of UTC.  *Results returned through end of day on date entered or end of hour when time is specified.
  'authorization': authorization_example // {String} Bearer token provided by Ad Lightning
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.api10BlockingSummaryGet(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class api10BlockingSummaryGetExample
    {
        public void main()
        {
            
            // Configure API key authorization: universalAuthorizerFunc
            Configuration.Default.ApiKey.Add("Authorization", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("Authorization", "Bearer");

            var apiInstance = new DefaultApi();
            var site = site_example;  // String | Optional: Tag wrapper site identifier used to limit results (Note: roles must be configured to allow access to site data) (optional) 
            var startDate = startDate_example;  // String | Start date for results in the ISO 8601 format.  Use the format YYYY-MM-DDThh:mm:ss±hh:mm (ex. 2020-01-01T10:59:00-08:00) for a specific time and timezone, or YYYY-MM-DD (e.g. 2020-01-01) to use the default timezone of UTC. (optional) 
            var endDate = endDate_example;  // String | End date for results in the ISO 8601 format.  Use the format YYYY-MM-DDThh:mm:ss±hh:mm (ex. 2020-01-01T10:59:00-08:00) for a specific time and timezone, or YYYY-MM-DD (e.g. 2020-01-01) to use the default timezone of UTC.  *Results returned through end of day on date entered or end of hour when time is specified. (optional) 
            var authorization = authorization_example;  // String | Bearer token provided by Ad Lightning (optional) 

            try
            {
                // Summary data for blocking
                ApiBlockingSummaryResponse result = apiInstance.api10BlockingSummaryGet(site, startDate, endDate, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.api10BlockingSummaryGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: universalAuthorizerFunc
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');

$api_instance = new Swagger\Client\Api\DefaultApi();
$site = site_example; // String | Optional: Tag wrapper site identifier used to limit results (Note: roles must be configured to allow access to site data)
$startDate = startDate_example; // String | Start date for results in the ISO 8601 format.  Use the format YYYY-MM-DDThh:mm:ss±hh:mm (ex. 2020-01-01T10:59:00-08:00) for a specific time and timezone, or YYYY-MM-DD (e.g. 2020-01-01) to use the default timezone of UTC.
$endDate = endDate_example; // String | End date for results in the ISO 8601 format.  Use the format YYYY-MM-DDThh:mm:ss±hh:mm (ex. 2020-01-01T10:59:00-08:00) for a specific time and timezone, or YYYY-MM-DD (e.g. 2020-01-01) to use the default timezone of UTC.  *Results returned through end of day on date entered or end of hour when time is specified.
$authorization = authorization_example; // String | Bearer token provided by Ad Lightning

try {
    $result = $api_instance->api10BlockingSummaryGet($site, $startDate, $endDate, $authorization);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->api10BlockingSummaryGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DefaultApi;

# Configure API key authorization: universalAuthorizerFunc
$WWW::SwaggerClient::Configuration::api_key->{'Authorization'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'Authorization'} = "Bearer";

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $site = site_example; # String | Optional: Tag wrapper site identifier used to limit results (Note: roles must be configured to allow access to site data)
my $startDate = startDate_example; # String | Start date for results in the ISO 8601 format.  Use the format YYYY-MM-DDThh:mm:ss±hh:mm (ex. 2020-01-01T10:59:00-08:00) for a specific time and timezone, or YYYY-MM-DD (e.g. 2020-01-01) to use the default timezone of UTC.
my $endDate = endDate_example; # String | End date for results in the ISO 8601 format.  Use the format YYYY-MM-DDThh:mm:ss±hh:mm (ex. 2020-01-01T10:59:00-08:00) for a specific time and timezone, or YYYY-MM-DD (e.g. 2020-01-01) to use the default timezone of UTC.  *Results returned through end of day on date entered or end of hour when time is specified.
my $authorization = authorization_example; # String | Bearer token provided by Ad Lightning

eval { 
    my $result = $api_instance->api10BlockingSummaryGet(site => $site, startDate => $startDate, endDate => $endDate, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->api10BlockingSummaryGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: universalAuthorizerFunc
swagger_client.configuration.api_key['Authorization'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['Authorization'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
site = site_example # String | Optional: Tag wrapper site identifier used to limit results (Note: roles must be configured to allow access to site data) (optional)
startDate = startDate_example # String | Start date for results in the ISO 8601 format.  Use the format YYYY-MM-DDThh:mm:ss±hh:mm (ex. 2020-01-01T10:59:00-08:00) for a specific time and timezone, or YYYY-MM-DD (e.g. 2020-01-01) to use the default timezone of UTC. (optional)
endDate = endDate_example # String | End date for results in the ISO 8601 format.  Use the format YYYY-MM-DDThh:mm:ss±hh:mm (ex. 2020-01-01T10:59:00-08:00) for a specific time and timezone, or YYYY-MM-DD (e.g. 2020-01-01) to use the default timezone of UTC.  *Results returned through end of day on date entered or end of hour when time is specified. (optional)
authorization = authorization_example # String | Bearer token provided by Ad Lightning (optional)

try: 
    # Summary data for blocking
    api_response = api_instance.api10_blocking_summary_get(site=site, startDate=startDate, endDate=endDate, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->api10BlockingSummaryGet: %s\n" % e)

Parameters

Header parameters
Name Description
Authorization
String
Bearer token provided by Ad Lightning
Query parameters
Name Description
site
String
Optional: Tag wrapper site identifier used to limit results (Note: roles must be configured to allow access to site data)
start_date
String
Start date for results in the ISO 8601 format. Use the format YYYY-MM-DDThh:mm:ss±hh:mm (ex. 2020-01-01T10:59:00-08:00) for a specific time and timezone, or YYYY-MM-DD (e.g. 2020-01-01) to use the default timezone of UTC.
end_date
String
End date for results in the ISO 8601 format. Use the format YYYY-MM-DDThh:mm:ss±hh:mm (ex. 2020-01-01T10:59:00-08:00) for a specific time and timezone, or YYYY-MM-DD (e.g. 2020-01-01) to use the default timezone of UTC. *Results returned through end of day on date entered or end of hour when time is specified.

Responses

Status: 200 - 200 response

Status: 400 - 400 response

Status: 500 - 500 response


/api/1.0/blocking/summary - options


Usage and SDK Samples

curl -X OPTIONS "https://api-prod.adlightning.com/blocking-results/api/1.0/blocking/summary"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        try {
            apiInstance.api10BlockingSummaryOptions();
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#api10BlockingSummaryOptions");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        try {
            apiInstance.api10BlockingSummaryOptions();
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#api10BlockingSummaryOptions");
            e.printStackTrace();
        }
    }
}

DefaultApi *apiInstance = [[DefaultApi alloc] init];

[apiInstance api10BlockingSummaryOptionsWithCompletionHandler: 
              ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ProdApiBlockingResultsServerless = require('prod_api_blocking_results_serverless');

var api = new ProdApiBlockingResultsServerless.DefaultApi()

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.api10BlockingSummaryOptions(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class api10BlockingSummaryOptionsExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();

            try
            {
                apiInstance.api10BlockingSummaryOptions();
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.api10BlockingSummaryOptions: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\DefaultApi();

try {
    $api_instance->api10BlockingSummaryOptions();
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->api10BlockingSummaryOptions: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DefaultApi;

my $api_instance = WWW::SwaggerClient::DefaultApi->new();

eval { 
    $api_instance->api10BlockingSummaryOptions();
};
if ($@) {
    warn "Exception when calling DefaultApi->api10BlockingSummaryOptions: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.DefaultApi()

try: 
    api_instance.api10_blocking_summary_options()
except ApiException as e:
    print("Exception when calling DefaultApi->api10BlockingSummaryOptions: %s\n" % e)

Parameters

Responses

Status: 200 - 200 response

Name Type Format Description
Access-Control-Allow-Origin String
Access-Control-Allow-Methods String
Access-Control-Allow-Headers String

/api/2.0/blocking/details - get

Details for blocked item

Returns details about blocked item including markup, denylist matches and location info


Usage and SDK Samples

curl -X GET -H "Authorization: [[apiKey]]" "https://api-prod.adlightning.com/blocking-results/api/2.0/blocking/details?id="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: universalAuthorizerFunc
        ApiKeyAuth universalAuthorizerFunc = (ApiKeyAuth) defaultClient.getAuthentication("universalAuthorizerFunc");
        universalAuthorizerFunc.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //universalAuthorizerFunc.setApiKeyPrefix("Token");

        DefaultApi apiInstance = new DefaultApi();
        String id = id_example; // String | id field found in summary response body
        String authorization = authorization_example; // String | Bearer token provided by Ad Lightning
        try {
            ApiBlockingDetailResponseV2 result = apiInstance.api20BlockingDetailsGet(id, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#api20BlockingDetailsGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String id = id_example; // String | id field found in summary response body
        String authorization = authorization_example; // String | Bearer token provided by Ad Lightning
        try {
            ApiBlockingDetailResponseV2 result = apiInstance.api20BlockingDetailsGet(id, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#api20BlockingDetailsGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: universalAuthorizerFunc)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"Authorization"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"Authorization"];

String *id = id_example; // id field found in summary response body
String *authorization = authorization_example; // Bearer token provided by Ad Lightning (optional)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Details for blocked item
[apiInstance api20BlockingDetailsGetWith:id
    authorization:authorization
              completionHandler: ^(ApiBlockingDetailResponseV2 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ProdApiBlockingResultsServerless = require('prod_api_blocking_results_serverless');
var defaultClient = ProdApiBlockingResultsServerless.ApiClient.instance;

// Configure API key authorization: universalAuthorizerFunc
var universalAuthorizerFunc = defaultClient.authentications['universalAuthorizerFunc'];
universalAuthorizerFunc.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//universalAuthorizerFunc.apiKeyPrefix['Authorization'] = "Token"

var api = new ProdApiBlockingResultsServerless.DefaultApi()

var id = id_example; // {String} id field found in summary response body

var opts = { 
  'authorization': authorization_example // {String} Bearer token provided by Ad Lightning
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.api20BlockingDetailsGet(id, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class api20BlockingDetailsGetExample
    {
        public void main()
        {
            
            // Configure API key authorization: universalAuthorizerFunc
            Configuration.Default.ApiKey.Add("Authorization", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("Authorization", "Bearer");

            var apiInstance = new DefaultApi();
            var id = id_example;  // String | id field found in summary response body
            var authorization = authorization_example;  // String | Bearer token provided by Ad Lightning (optional) 

            try
            {
                // Details for blocked item
                ApiBlockingDetailResponseV2 result = apiInstance.api20BlockingDetailsGet(id, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.api20BlockingDetailsGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: universalAuthorizerFunc
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');

$api_instance = new Swagger\Client\Api\DefaultApi();
$id = id_example; // String | id field found in summary response body
$authorization = authorization_example; // String | Bearer token provided by Ad Lightning

try {
    $result = $api_instance->api20BlockingDetailsGet($id, $authorization);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->api20BlockingDetailsGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DefaultApi;

# Configure API key authorization: universalAuthorizerFunc
$WWW::SwaggerClient::Configuration::api_key->{'Authorization'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'Authorization'} = "Bearer";

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $id = id_example; # String | id field found in summary response body
my $authorization = authorization_example; # String | Bearer token provided by Ad Lightning

eval { 
    my $result = $api_instance->api20BlockingDetailsGet(id => $id, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->api20BlockingDetailsGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: universalAuthorizerFunc
swagger_client.configuration.api_key['Authorization'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['Authorization'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
id = id_example # String | id field found in summary response body
authorization = authorization_example # String | Bearer token provided by Ad Lightning (optional)

try: 
    # Details for blocked item
    api_response = api_instance.api20_blocking_details_get(id, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->api20BlockingDetailsGet: %s\n" % e)

Parameters

Header parameters
Name Description
Authorization
String
Bearer token provided by Ad Lightning
Query parameters
Name Description
id*
String
id field found in summary response body
Required

Responses

Status: 200 - 200 response

Status: 400 - 400 response

Status: 500 - 500 response


/api/2.0/blocking/details - options


Usage and SDK Samples

curl -X OPTIONS "https://api-prod.adlightning.com/blocking-results/api/2.0/blocking/details"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        try {
            apiInstance.api20BlockingDetailsOptions();
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#api20BlockingDetailsOptions");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        try {
            apiInstance.api20BlockingDetailsOptions();
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#api20BlockingDetailsOptions");
            e.printStackTrace();
        }
    }
}

DefaultApi *apiInstance = [[DefaultApi alloc] init];

[apiInstance api20BlockingDetailsOptionsWithCompletionHandler: 
              ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ProdApiBlockingResultsServerless = require('prod_api_blocking_results_serverless');

var api = new ProdApiBlockingResultsServerless.DefaultApi()

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.api20BlockingDetailsOptions(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class api20BlockingDetailsOptionsExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();

            try
            {
                apiInstance.api20BlockingDetailsOptions();
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.api20BlockingDetailsOptions: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\DefaultApi();

try {
    $api_instance->api20BlockingDetailsOptions();
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->api20BlockingDetailsOptions: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DefaultApi;

my $api_instance = WWW::SwaggerClient::DefaultApi->new();

eval { 
    $api_instance->api20BlockingDetailsOptions();
};
if ($@) {
    warn "Exception when calling DefaultApi->api20BlockingDetailsOptions: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.DefaultApi()

try: 
    api_instance.api20_blocking_details_options()
except ApiException as e:
    print("Exception when calling DefaultApi->api20BlockingDetailsOptions: %s\n" % e)

Parameters

Responses

Status: 200 - 200 response

Name Type Format Description
Access-Control-Allow-Origin String
Access-Control-Allow-Methods String
Access-Control-Allow-Headers String

/api/2.0/blocking/network/details - get

Details for blocked item

Returns details about blocked item including markup, denylist matches and location info. NOTE: This endpoint is for specific use-cases, and may not be available to all clients.


Usage and SDK Samples

curl -X GET -H "Authorization: [[apiKey]]" "https://api-prod.adlightning.com/blocking-results/api/2.0/blocking/network/details?id="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: universalAuthorizerFunc
        ApiKeyAuth universalAuthorizerFunc = (ApiKeyAuth) defaultClient.getAuthentication("universalAuthorizerFunc");
        universalAuthorizerFunc.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //universalAuthorizerFunc.setApiKeyPrefix("Token");

        DefaultApi apiInstance = new DefaultApi();
        String id = id_example; // String | id field found in summary response body
        String authorization = authorization_example; // String | Bearer token provided by Ad Lightning
        try {
            ApiBlockingDetailResponseV2 result = apiInstance.api20BlockingNetworkDetailsGet(id, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#api20BlockingNetworkDetailsGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String id = id_example; // String | id field found in summary response body
        String authorization = authorization_example; // String | Bearer token provided by Ad Lightning
        try {
            ApiBlockingDetailResponseV2 result = apiInstance.api20BlockingNetworkDetailsGet(id, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#api20BlockingNetworkDetailsGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: universalAuthorizerFunc)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"Authorization"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"Authorization"];

String *id = id_example; // id field found in summary response body
String *authorization = authorization_example; // Bearer token provided by Ad Lightning (optional)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Details for blocked item
[apiInstance api20BlockingNetworkDetailsGetWith:id
    authorization:authorization
              completionHandler: ^(ApiBlockingDetailResponseV2 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ProdApiBlockingResultsServerless = require('prod_api_blocking_results_serverless');
var defaultClient = ProdApiBlockingResultsServerless.ApiClient.instance;

// Configure API key authorization: universalAuthorizerFunc
var universalAuthorizerFunc = defaultClient.authentications['universalAuthorizerFunc'];
universalAuthorizerFunc.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//universalAuthorizerFunc.apiKeyPrefix['Authorization'] = "Token"

var api = new ProdApiBlockingResultsServerless.DefaultApi()

var id = id_example; // {String} id field found in summary response body

var opts = { 
  'authorization': authorization_example // {String} Bearer token provided by Ad Lightning
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.api20BlockingNetworkDetailsGet(id, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class api20BlockingNetworkDetailsGetExample
    {
        public void main()
        {
            
            // Configure API key authorization: universalAuthorizerFunc
            Configuration.Default.ApiKey.Add("Authorization", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("Authorization", "Bearer");

            var apiInstance = new DefaultApi();
            var id = id_example;  // String | id field found in summary response body
            var authorization = authorization_example;  // String | Bearer token provided by Ad Lightning (optional) 

            try
            {
                // Details for blocked item
                ApiBlockingDetailResponseV2 result = apiInstance.api20BlockingNetworkDetailsGet(id, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.api20BlockingNetworkDetailsGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: universalAuthorizerFunc
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');

$api_instance = new Swagger\Client\Api\DefaultApi();
$id = id_example; // String | id field found in summary response body
$authorization = authorization_example; // String | Bearer token provided by Ad Lightning

try {
    $result = $api_instance->api20BlockingNetworkDetailsGet($id, $authorization);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->api20BlockingNetworkDetailsGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DefaultApi;

# Configure API key authorization: universalAuthorizerFunc
$WWW::SwaggerClient::Configuration::api_key->{'Authorization'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'Authorization'} = "Bearer";

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $id = id_example; # String | id field found in summary response body
my $authorization = authorization_example; # String | Bearer token provided by Ad Lightning

eval { 
    my $result = $api_instance->api20BlockingNetworkDetailsGet(id => $id, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->api20BlockingNetworkDetailsGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: universalAuthorizerFunc
swagger_client.configuration.api_key['Authorization'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['Authorization'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
id = id_example # String | id field found in summary response body
authorization = authorization_example # String | Bearer token provided by Ad Lightning (optional)

try: 
    # Details for blocked item
    api_response = api_instance.api20_blocking_network_details_get(id, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->api20BlockingNetworkDetailsGet: %s\n" % e)

Parameters

Header parameters
Name Description
Authorization
String
Bearer token provided by Ad Lightning
Query parameters
Name Description
id*
String
id field found in summary response body
Required

Responses

Status: 200 - 200 response

Status: 400 - 400 response

Status: 500 - 500 response


/api/2.0/blocking/network/details - options


Usage and SDK Samples

curl -X OPTIONS "https://api-prod.adlightning.com/blocking-results/api/2.0/blocking/network/details"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        try {
            apiInstance.api20BlockingNetworkDetailsOptions();
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#api20BlockingNetworkDetailsOptions");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        try {
            apiInstance.api20BlockingNetworkDetailsOptions();
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#api20BlockingNetworkDetailsOptions");
            e.printStackTrace();
        }
    }
}

DefaultApi *apiInstance = [[DefaultApi alloc] init];

[apiInstance api20BlockingNetworkDetailsOptionsWithCompletionHandler: 
              ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ProdApiBlockingResultsServerless = require('prod_api_blocking_results_serverless');

var api = new ProdApiBlockingResultsServerless.DefaultApi()

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.api20BlockingNetworkDetailsOptions(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class api20BlockingNetworkDetailsOptionsExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();

            try
            {
                apiInstance.api20BlockingNetworkDetailsOptions();
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.api20BlockingNetworkDetailsOptions: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\DefaultApi();

try {
    $api_instance->api20BlockingNetworkDetailsOptions();
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->api20BlockingNetworkDetailsOptions: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DefaultApi;

my $api_instance = WWW::SwaggerClient::DefaultApi->new();

eval { 
    $api_instance->api20BlockingNetworkDetailsOptions();
};
if ($@) {
    warn "Exception when calling DefaultApi->api20BlockingNetworkDetailsOptions: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.DefaultApi()

try: 
    api_instance.api20_blocking_network_details_options()
except ApiException as e:
    print("Exception when calling DefaultApi->api20BlockingNetworkDetailsOptions: %s\n" % e)

Parameters

Responses

Status: 200 - 200 response

Name Type Format Description
Access-Control-Allow-Origin String
Access-Control-Allow-Methods String
Access-Control-Allow-Headers String

/api/2.0/blocking/network_signature_summary - get

Blocked Network Signature Summary

Returns blocked network-signature summary. NOTE: This endpoint is for specific use-cases, and may not be available to all clients.


Usage and SDK Samples

curl -X GET -H "Authorization: [[apiKey]]" "https://api-prod.adlightning.com/blocking-results/api/2.0/blocking/network_signature_summary?start_date=&end_date=&use_crid_ssp=&filters="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: universalAuthorizerFunc
        ApiKeyAuth universalAuthorizerFunc = (ApiKeyAuth) defaultClient.getAuthentication("universalAuthorizerFunc");
        universalAuthorizerFunc.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //universalAuthorizerFunc.setApiKeyPrefix("Token");

        DefaultApi apiInstance = new DefaultApi();
        String startDate = startDate_example; // String | Start date for results in the ISO 8601 format.  Use the format YYYY-MM-DDThh:mm:ss±hh:mm (ex. 2020-01-01T10:59:00-08:00) for a specific time and timezone, or YYYY-MM-DD (e.g. 2020-01-01) to use the default timezone of UTC.
        String endDate = endDate_example; // String | End date for results in the ISO 8601 format.  Use the format YYYY-MM-DDThh:mm:ss±hh:mm (ex. 2020-01-01T10:59:00-08:00) for a specific time and timezone, or YYYY-MM-DD (e.g. 2020-01-01) to use the default timezone of UTC.  *Results returned through end of day on date entered or end of hour when time is specified.
        String useCridSsp = useCridSsp_example; // String | use_crid_ssp limits the SSP/CRID to the configured SSP for the site_id
        String filters = filters_example; // String | Reserved for future purposes
        String authorization = authorization_example; // String | Bearer token provided by Ad Lightning
        try {
            ApiBlockingSignaturesResponse result = apiInstance.api20BlockingNetworkSignatureSummaryGet(startDate, endDate, useCridSsp, filters, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#api20BlockingNetworkSignatureSummaryGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String startDate = startDate_example; // String | Start date for results in the ISO 8601 format.  Use the format YYYY-MM-DDThh:mm:ss±hh:mm (ex. 2020-01-01T10:59:00-08:00) for a specific time and timezone, or YYYY-MM-DD (e.g. 2020-01-01) to use the default timezone of UTC.
        String endDate = endDate_example; // String | End date for results in the ISO 8601 format.  Use the format YYYY-MM-DDThh:mm:ss±hh:mm (ex. 2020-01-01T10:59:00-08:00) for a specific time and timezone, or YYYY-MM-DD (e.g. 2020-01-01) to use the default timezone of UTC.  *Results returned through end of day on date entered or end of hour when time is specified.
        String useCridSsp = useCridSsp_example; // String | use_crid_ssp limits the SSP/CRID to the configured SSP for the site_id
        String filters = filters_example; // String | Reserved for future purposes
        String authorization = authorization_example; // String | Bearer token provided by Ad Lightning
        try {
            ApiBlockingSignaturesResponse result = apiInstance.api20BlockingNetworkSignatureSummaryGet(startDate, endDate, useCridSsp, filters, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#api20BlockingNetworkSignatureSummaryGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: universalAuthorizerFunc)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"Authorization"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"Authorization"];

String *startDate = startDate_example; // Start date for results in the ISO 8601 format.  Use the format YYYY-MM-DDThh:mm:ss±hh:mm (ex. 2020-01-01T10:59:00-08:00) for a specific time and timezone, or YYYY-MM-DD (e.g. 2020-01-01) to use the default timezone of UTC.
String *endDate = endDate_example; // End date for results in the ISO 8601 format.  Use the format YYYY-MM-DDThh:mm:ss±hh:mm (ex. 2020-01-01T10:59:00-08:00) for a specific time and timezone, or YYYY-MM-DD (e.g. 2020-01-01) to use the default timezone of UTC.  *Results returned through end of day on date entered or end of hour when time is specified.
String *useCridSsp = useCridSsp_example; // use_crid_ssp limits the SSP/CRID to the configured SSP for the site_id (optional)
String *filters = filters_example; // Reserved for future purposes (optional)
String *authorization = authorization_example; // Bearer token provided by Ad Lightning (optional)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Blocked Network Signature Summary
[apiInstance api20BlockingNetworkSignatureSummaryGetWith:startDate
    endDate:endDate
    useCridSsp:useCridSsp
    filters:filters
    authorization:authorization
              completionHandler: ^(ApiBlockingSignaturesResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ProdApiBlockingResultsServerless = require('prod_api_blocking_results_serverless');
var defaultClient = ProdApiBlockingResultsServerless.ApiClient.instance;

// Configure API key authorization: universalAuthorizerFunc
var universalAuthorizerFunc = defaultClient.authentications['universalAuthorizerFunc'];
universalAuthorizerFunc.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//universalAuthorizerFunc.apiKeyPrefix['Authorization'] = "Token"

var api = new ProdApiBlockingResultsServerless.DefaultApi()

var startDate = startDate_example; // {String} Start date for results in the ISO 8601 format.  Use the format YYYY-MM-DDThh:mm:ss±hh:mm (ex. 2020-01-01T10:59:00-08:00) for a specific time and timezone, or YYYY-MM-DD (e.g. 2020-01-01) to use the default timezone of UTC.

var endDate = endDate_example; // {String} End date for results in the ISO 8601 format.  Use the format YYYY-MM-DDThh:mm:ss±hh:mm (ex. 2020-01-01T10:59:00-08:00) for a specific time and timezone, or YYYY-MM-DD (e.g. 2020-01-01) to use the default timezone of UTC.  *Results returned through end of day on date entered or end of hour when time is specified.

var opts = { 
  'useCridSsp': useCridSsp_example, // {String} use_crid_ssp limits the SSP/CRID to the configured SSP for the site_id
  'filters': filters_example, // {String} Reserved for future purposes
  'authorization': authorization_example // {String} Bearer token provided by Ad Lightning
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.api20BlockingNetworkSignatureSummaryGet(startDate, endDate, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class api20BlockingNetworkSignatureSummaryGetExample
    {
        public void main()
        {
            
            // Configure API key authorization: universalAuthorizerFunc
            Configuration.Default.ApiKey.Add("Authorization", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("Authorization", "Bearer");

            var apiInstance = new DefaultApi();
            var startDate = startDate_example;  // String | Start date for results in the ISO 8601 format.  Use the format YYYY-MM-DDThh:mm:ss±hh:mm (ex. 2020-01-01T10:59:00-08:00) for a specific time and timezone, or YYYY-MM-DD (e.g. 2020-01-01) to use the default timezone of UTC.
            var endDate = endDate_example;  // String | End date for results in the ISO 8601 format.  Use the format YYYY-MM-DDThh:mm:ss±hh:mm (ex. 2020-01-01T10:59:00-08:00) for a specific time and timezone, or YYYY-MM-DD (e.g. 2020-01-01) to use the default timezone of UTC.  *Results returned through end of day on date entered or end of hour when time is specified.
            var useCridSsp = useCridSsp_example;  // String | use_crid_ssp limits the SSP/CRID to the configured SSP for the site_id (optional) 
            var filters = filters_example;  // String | Reserved for future purposes (optional) 
            var authorization = authorization_example;  // String | Bearer token provided by Ad Lightning (optional) 

            try
            {
                // Blocked Network Signature Summary
                ApiBlockingSignaturesResponse result = apiInstance.api20BlockingNetworkSignatureSummaryGet(startDate, endDate, useCridSsp, filters, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.api20BlockingNetworkSignatureSummaryGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: universalAuthorizerFunc
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');

$api_instance = new Swagger\Client\Api\DefaultApi();
$startDate = startDate_example; // String | Start date for results in the ISO 8601 format.  Use the format YYYY-MM-DDThh:mm:ss±hh:mm (ex. 2020-01-01T10:59:00-08:00) for a specific time and timezone, or YYYY-MM-DD (e.g. 2020-01-01) to use the default timezone of UTC.
$endDate = endDate_example; // String | End date for results in the ISO 8601 format.  Use the format YYYY-MM-DDThh:mm:ss±hh:mm (ex. 2020-01-01T10:59:00-08:00) for a specific time and timezone, or YYYY-MM-DD (e.g. 2020-01-01) to use the default timezone of UTC.  *Results returned through end of day on date entered or end of hour when time is specified.
$useCridSsp = useCridSsp_example; // String | use_crid_ssp limits the SSP/CRID to the configured SSP for the site_id
$filters = filters_example; // String | Reserved for future purposes
$authorization = authorization_example; // String | Bearer token provided by Ad Lightning

try {
    $result = $api_instance->api20BlockingNetworkSignatureSummaryGet($startDate, $endDate, $useCridSsp, $filters, $authorization);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->api20BlockingNetworkSignatureSummaryGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DefaultApi;

# Configure API key authorization: universalAuthorizerFunc
$WWW::SwaggerClient::Configuration::api_key->{'Authorization'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'Authorization'} = "Bearer";

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $startDate = startDate_example; # String | Start date for results in the ISO 8601 format.  Use the format YYYY-MM-DDThh:mm:ss±hh:mm (ex. 2020-01-01T10:59:00-08:00) for a specific time and timezone, or YYYY-MM-DD (e.g. 2020-01-01) to use the default timezone of UTC.
my $endDate = endDate_example; # String | End date for results in the ISO 8601 format.  Use the format YYYY-MM-DDThh:mm:ss±hh:mm (ex. 2020-01-01T10:59:00-08:00) for a specific time and timezone, or YYYY-MM-DD (e.g. 2020-01-01) to use the default timezone of UTC.  *Results returned through end of day on date entered or end of hour when time is specified.
my $useCridSsp = useCridSsp_example; # String | use_crid_ssp limits the SSP/CRID to the configured SSP for the site_id
my $filters = filters_example; # String | Reserved for future purposes
my $authorization = authorization_example; # String | Bearer token provided by Ad Lightning

eval { 
    my $result = $api_instance->api20BlockingNetworkSignatureSummaryGet(startDate => $startDate, endDate => $endDate, useCridSsp => $useCridSsp, filters => $filters, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->api20BlockingNetworkSignatureSummaryGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: universalAuthorizerFunc
swagger_client.configuration.api_key['Authorization'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['Authorization'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
startDate = startDate_example # String | Start date for results in the ISO 8601 format.  Use the format YYYY-MM-DDThh:mm:ss±hh:mm (ex. 2020-01-01T10:59:00-08:00) for a specific time and timezone, or YYYY-MM-DD (e.g. 2020-01-01) to use the default timezone of UTC.
endDate = endDate_example # String | End date for results in the ISO 8601 format.  Use the format YYYY-MM-DDThh:mm:ss±hh:mm (ex. 2020-01-01T10:59:00-08:00) for a specific time and timezone, or YYYY-MM-DD (e.g. 2020-01-01) to use the default timezone of UTC.  *Results returned through end of day on date entered or end of hour when time is specified.
useCridSsp = useCridSsp_example # String | use_crid_ssp limits the SSP/CRID to the configured SSP for the site_id (optional)
filters = filters_example # String | Reserved for future purposes (optional)
authorization = authorization_example # String | Bearer token provided by Ad Lightning (optional)

try: 
    # Blocked Network Signature Summary
    api_response = api_instance.api20_blocking_network_signature_summary_get(startDate, endDate, useCridSsp=useCridSsp, filters=filters, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->api20BlockingNetworkSignatureSummaryGet: %s\n" % e)

Parameters

Header parameters
Name Description
Authorization
String
Bearer token provided by Ad Lightning
Query parameters
Name Description
start_date*
String
Start date for results in the ISO 8601 format. Use the format YYYY-MM-DDThh:mm:ss±hh:mm (ex. 2020-01-01T10:59:00-08:00) for a specific time and timezone, or YYYY-MM-DD (e.g. 2020-01-01) to use the default timezone of UTC.
Required
end_date*
String
End date for results in the ISO 8601 format. Use the format YYYY-MM-DDThh:mm:ss±hh:mm (ex. 2020-01-01T10:59:00-08:00) for a specific time and timezone, or YYYY-MM-DD (e.g. 2020-01-01) to use the default timezone of UTC. *Results returned through end of day on date entered or end of hour when time is specified.
Required
use_crid_ssp
String
use_crid_ssp limits the SSP/CRID to the configured SSP for the site_id
filters
String
Reserved for future purposes

Responses

Status: 200 - 200 response

Status: 400 - 400 response

Status: 500 - 500 response


/api/2.0/blocking/network_signature_summary - options


Usage and SDK Samples

curl -X OPTIONS "https://api-prod.adlightning.com/blocking-results/api/2.0/blocking/network_signature_summary"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        try {
            apiInstance.api20BlockingNetworkSignatureSummaryOptions();
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#api20BlockingNetworkSignatureSummaryOptions");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        try {
            apiInstance.api20BlockingNetworkSignatureSummaryOptions();
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#api20BlockingNetworkSignatureSummaryOptions");
            e.printStackTrace();
        }
    }
}

DefaultApi *apiInstance = [[DefaultApi alloc] init];

[apiInstance api20BlockingNetworkSignatureSummaryOptionsWithCompletionHandler: 
              ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ProdApiBlockingResultsServerless = require('prod_api_blocking_results_serverless');

var api = new ProdApiBlockingResultsServerless.DefaultApi()

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.api20BlockingNetworkSignatureSummaryOptions(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class api20BlockingNetworkSignatureSummaryOptionsExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();

            try
            {
                apiInstance.api20BlockingNetworkSignatureSummaryOptions();
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.api20BlockingNetworkSignatureSummaryOptions: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\DefaultApi();

try {
    $api_instance->api20BlockingNetworkSignatureSummaryOptions();
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->api20BlockingNetworkSignatureSummaryOptions: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DefaultApi;

my $api_instance = WWW::SwaggerClient::DefaultApi->new();

eval { 
    $api_instance->api20BlockingNetworkSignatureSummaryOptions();
};
if ($@) {
    warn "Exception when calling DefaultApi->api20BlockingNetworkSignatureSummaryOptions: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.DefaultApi()

try: 
    api_instance.api20_blocking_network_signature_summary_options()
except ApiException as e:
    print("Exception when calling DefaultApi->api20BlockingNetworkSignatureSummaryOptions: %s\n" % e)

Parameters

Responses

Status: 200 - 200 response

Name Type Format Description
Access-Control-Allow-Origin String
Access-Control-Allow-Methods String
Access-Control-Allow-Headers String

/api/2.0/blocking/protected_impressions - get

Protected Impressions

Returns number of protected impressions within a date range.


Usage and SDK Samples

curl -X GET -H "Authorization: [[apiKey]]" "https://api-prod.adlightning.com/blocking-results/api/2.0/blocking/protected_impressions?start_date=&end_date="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: universalAuthorizerFunc
        ApiKeyAuth universalAuthorizerFunc = (ApiKeyAuth) defaultClient.getAuthentication("universalAuthorizerFunc");
        universalAuthorizerFunc.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //universalAuthorizerFunc.setApiKeyPrefix("Token");

        DefaultApi apiInstance = new DefaultApi();
        String startDate = startDate_example; // String | Start date for results in the ISO 8601 format.  Use the format YYYY-MM-DDThh:mm:ss±hh:mm (ex. 2020-01-01T10:59:00-08:00) for a specific time and timezone, or YYYY-MM-DD (e.g. 2020-01-01) to use the default timezone of UTC.
        String endDate = endDate_example; // String | End date for results in the ISO 8601 format.  Use the format YYYY-MM-DDThh:mm:ss±hh:mm (ex. 2020-01-01T10:59:00-08:00) for a specific time and timezone, or YYYY-MM-DD (e.g. 2020-01-01) to use the default timezone of UTC.  *Results returned through end of day on date entered or end of hour when time is specified.
        String authorization = authorization_example; // String | Bearer token provided by Ad Lightning
        try {
            ApiBlockingProtectedImpressionsResponse result = apiInstance.api20BlockingProtectedImpressionsGet(startDate, endDate, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#api20BlockingProtectedImpressionsGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String startDate = startDate_example; // String | Start date for results in the ISO 8601 format.  Use the format YYYY-MM-DDThh:mm:ss±hh:mm (ex. 2020-01-01T10:59:00-08:00) for a specific time and timezone, or YYYY-MM-DD (e.g. 2020-01-01) to use the default timezone of UTC.
        String endDate = endDate_example; // String | End date for results in the ISO 8601 format.  Use the format YYYY-MM-DDThh:mm:ss±hh:mm (ex. 2020-01-01T10:59:00-08:00) for a specific time and timezone, or YYYY-MM-DD (e.g. 2020-01-01) to use the default timezone of UTC.  *Results returned through end of day on date entered or end of hour when time is specified.
        String authorization = authorization_example; // String | Bearer token provided by Ad Lightning
        try {
            ApiBlockingProtectedImpressionsResponse result = apiInstance.api20BlockingProtectedImpressionsGet(startDate, endDate, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#api20BlockingProtectedImpressionsGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: universalAuthorizerFunc)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"Authorization"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"Authorization"];

String *startDate = startDate_example; // Start date for results in the ISO 8601 format.  Use the format YYYY-MM-DDThh:mm:ss±hh:mm (ex. 2020-01-01T10:59:00-08:00) for a specific time and timezone, or YYYY-MM-DD (e.g. 2020-01-01) to use the default timezone of UTC. (optional)
String *endDate = endDate_example; // End date for results in the ISO 8601 format.  Use the format YYYY-MM-DDThh:mm:ss±hh:mm (ex. 2020-01-01T10:59:00-08:00) for a specific time and timezone, or YYYY-MM-DD (e.g. 2020-01-01) to use the default timezone of UTC.  *Results returned through end of day on date entered or end of hour when time is specified. (optional)
String *authorization = authorization_example; // Bearer token provided by Ad Lightning (optional)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Protected Impressions
[apiInstance api20BlockingProtectedImpressionsGetWith:startDate
    endDate:endDate
    authorization:authorization
              completionHandler: ^(ApiBlockingProtectedImpressionsResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ProdApiBlockingResultsServerless = require('prod_api_blocking_results_serverless');
var defaultClient = ProdApiBlockingResultsServerless.ApiClient.instance;

// Configure API key authorization: universalAuthorizerFunc
var universalAuthorizerFunc = defaultClient.authentications['universalAuthorizerFunc'];
universalAuthorizerFunc.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//universalAuthorizerFunc.apiKeyPrefix['Authorization'] = "Token"

var api = new ProdApiBlockingResultsServerless.DefaultApi()

var opts = { 
  'startDate': startDate_example, // {String} Start date for results in the ISO 8601 format.  Use the format YYYY-MM-DDThh:mm:ss±hh:mm (ex. 2020-01-01T10:59:00-08:00) for a specific time and timezone, or YYYY-MM-DD (e.g. 2020-01-01) to use the default timezone of UTC.
  'endDate': endDate_example, // {String} End date for results in the ISO 8601 format.  Use the format YYYY-MM-DDThh:mm:ss±hh:mm (ex. 2020-01-01T10:59:00-08:00) for a specific time and timezone, or YYYY-MM-DD (e.g. 2020-01-01) to use the default timezone of UTC.  *Results returned through end of day on date entered or end of hour when time is specified.
  'authorization': authorization_example // {String} Bearer token provided by Ad Lightning
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.api20BlockingProtectedImpressionsGet(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class api20BlockingProtectedImpressionsGetExample
    {
        public void main()
        {
            
            // Configure API key authorization: universalAuthorizerFunc
            Configuration.Default.ApiKey.Add("Authorization", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("Authorization", "Bearer");

            var apiInstance = new DefaultApi();
            var startDate = startDate_example;  // String | Start date for results in the ISO 8601 format.  Use the format YYYY-MM-DDThh:mm:ss±hh:mm (ex. 2020-01-01T10:59:00-08:00) for a specific time and timezone, or YYYY-MM-DD (e.g. 2020-01-01) to use the default timezone of UTC. (optional) 
            var endDate = endDate_example;  // String | End date for results in the ISO 8601 format.  Use the format YYYY-MM-DDThh:mm:ss±hh:mm (ex. 2020-01-01T10:59:00-08:00) for a specific time and timezone, or YYYY-MM-DD (e.g. 2020-01-01) to use the default timezone of UTC.  *Results returned through end of day on date entered or end of hour when time is specified. (optional) 
            var authorization = authorization_example;  // String | Bearer token provided by Ad Lightning (optional) 

            try
            {
                // Protected Impressions
                ApiBlockingProtectedImpressionsResponse result = apiInstance.api20BlockingProtectedImpressionsGet(startDate, endDate, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.api20BlockingProtectedImpressionsGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: universalAuthorizerFunc
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');

$api_instance = new Swagger\Client\Api\DefaultApi();
$startDate = startDate_example; // String | Start date for results in the ISO 8601 format.  Use the format YYYY-MM-DDThh:mm:ss±hh:mm (ex. 2020-01-01T10:59:00-08:00) for a specific time and timezone, or YYYY-MM-DD (e.g. 2020-01-01) to use the default timezone of UTC.
$endDate = endDate_example; // String | End date for results in the ISO 8601 format.  Use the format YYYY-MM-DDThh:mm:ss±hh:mm (ex. 2020-01-01T10:59:00-08:00) for a specific time and timezone, or YYYY-MM-DD (e.g. 2020-01-01) to use the default timezone of UTC.  *Results returned through end of day on date entered or end of hour when time is specified.
$authorization = authorization_example; // String | Bearer token provided by Ad Lightning

try {
    $result = $api_instance->api20BlockingProtectedImpressionsGet($startDate, $endDate, $authorization);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->api20BlockingProtectedImpressionsGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DefaultApi;

# Configure API key authorization: universalAuthorizerFunc
$WWW::SwaggerClient::Configuration::api_key->{'Authorization'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'Authorization'} = "Bearer";

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $startDate = startDate_example; # String | Start date for results in the ISO 8601 format.  Use the format YYYY-MM-DDThh:mm:ss±hh:mm (ex. 2020-01-01T10:59:00-08:00) for a specific time and timezone, or YYYY-MM-DD (e.g. 2020-01-01) to use the default timezone of UTC.
my $endDate = endDate_example; # String | End date for results in the ISO 8601 format.  Use the format YYYY-MM-DDThh:mm:ss±hh:mm (ex. 2020-01-01T10:59:00-08:00) for a specific time and timezone, or YYYY-MM-DD (e.g. 2020-01-01) to use the default timezone of UTC.  *Results returned through end of day on date entered or end of hour when time is specified.
my $authorization = authorization_example; # String | Bearer token provided by Ad Lightning

eval { 
    my $result = $api_instance->api20BlockingProtectedImpressionsGet(startDate => $startDate, endDate => $endDate, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->api20BlockingProtectedImpressionsGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: universalAuthorizerFunc
swagger_client.configuration.api_key['Authorization'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['Authorization'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
startDate = startDate_example # String | Start date for results in the ISO 8601 format.  Use the format YYYY-MM-DDThh:mm:ss±hh:mm (ex. 2020-01-01T10:59:00-08:00) for a specific time and timezone, or YYYY-MM-DD (e.g. 2020-01-01) to use the default timezone of UTC. (optional)
endDate = endDate_example # String | End date for results in the ISO 8601 format.  Use the format YYYY-MM-DDThh:mm:ss±hh:mm (ex. 2020-01-01T10:59:00-08:00) for a specific time and timezone, or YYYY-MM-DD (e.g. 2020-01-01) to use the default timezone of UTC.  *Results returned through end of day on date entered or end of hour when time is specified. (optional)
authorization = authorization_example # String | Bearer token provided by Ad Lightning (optional)

try: 
    # Protected Impressions
    api_response = api_instance.api20_blocking_protected_impressions_get(startDate=startDate, endDate=endDate, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->api20BlockingProtectedImpressionsGet: %s\n" % e)

Parameters

Header parameters
Name Description
Authorization
String
Bearer token provided by Ad Lightning
Query parameters
Name Description
start_date
String
Start date for results in the ISO 8601 format. Use the format YYYY-MM-DDThh:mm:ss±hh:mm (ex. 2020-01-01T10:59:00-08:00) for a specific time and timezone, or YYYY-MM-DD (e.g. 2020-01-01) to use the default timezone of UTC.
end_date
String
End date for results in the ISO 8601 format. Use the format YYYY-MM-DDThh:mm:ss±hh:mm (ex. 2020-01-01T10:59:00-08:00) for a specific time and timezone, or YYYY-MM-DD (e.g. 2020-01-01) to use the default timezone of UTC. *Results returned through end of day on date entered or end of hour when time is specified.

Responses

Status: 200 - 200 response

Status: 400 - 400 response

Status: 500 - 500 response


/api/2.0/blocking/protected_impressions - options


Usage and SDK Samples

curl -X OPTIONS "https://api-prod.adlightning.com/blocking-results/api/2.0/blocking/protected_impressions"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        try {
            apiInstance.api20BlockingProtectedImpressionsOptions();
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#api20BlockingProtectedImpressionsOptions");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        try {
            apiInstance.api20BlockingProtectedImpressionsOptions();
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#api20BlockingProtectedImpressionsOptions");
            e.printStackTrace();
        }
    }
}

DefaultApi *apiInstance = [[DefaultApi alloc] init];

[apiInstance api20BlockingProtectedImpressionsOptionsWithCompletionHandler: 
              ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ProdApiBlockingResultsServerless = require('prod_api_blocking_results_serverless');

var api = new ProdApiBlockingResultsServerless.DefaultApi()

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.api20BlockingProtectedImpressionsOptions(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class api20BlockingProtectedImpressionsOptionsExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();

            try
            {
                apiInstance.api20BlockingProtectedImpressionsOptions();
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.api20BlockingProtectedImpressionsOptions: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\DefaultApi();

try {
    $api_instance->api20BlockingProtectedImpressionsOptions();
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->api20BlockingProtectedImpressionsOptions: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DefaultApi;

my $api_instance = WWW::SwaggerClient::DefaultApi->new();

eval { 
    $api_instance->api20BlockingProtectedImpressionsOptions();
};
if ($@) {
    warn "Exception when calling DefaultApi->api20BlockingProtectedImpressionsOptions: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.DefaultApi()

try: 
    api_instance.api20_blocking_protected_impressions_options()
except ApiException as e:
    print("Exception when calling DefaultApi->api20BlockingProtectedImpressionsOptions: %s\n" % e)

Parameters

Responses

Status: 200 - 200 response

Name Type Format Description
Access-Control-Allow-Origin String
Access-Control-Allow-Methods String
Access-Control-Allow-Headers String

/api/2.0/blocking/signature/updated/creatives - get

Updated signatures

Returns updated block signatures and blocked creative ids within a date range. NOTE: This endpoint is for specific use-cases, and may not be available to all clients.


Usage and SDK Samples

curl -X GET -H "Authorization: [[apiKey]]" "https://api-prod.adlightning.com/blocking-results/api/2.0/blocking/signature/updated/creatives?optional_categories=&start_date=&end_date="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        
        // Configure API key authorization: universalAuthorizerFunc
        ApiKeyAuth universalAuthorizerFunc = (ApiKeyAuth) defaultClient.getAuthentication("universalAuthorizerFunc");
        universalAuthorizerFunc.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //universalAuthorizerFunc.setApiKeyPrefix("Token");

        DefaultApi apiInstance = new DefaultApi();
        String startDate = startDate_example; // String | Start date for results in the ISO 8601 format.  Use the format YYYY-MM-DDThh:mm:ss±hh:mm (ex. 2020-01-01T10:59:00-08:00) for a specific time and timezone, or YYYY-MM-DD (e.g. 2020-01-01) to use the default timezone of UTC.
        String endDate = endDate_example; // String | End date for results in the ISO 8601 format.  Use the format YYYY-MM-DDThh:mm:ss±hh:mm (ex. 2020-01-01T10:59:00-08:00) for a specific time and timezone, or YYYY-MM-DD (e.g. 2020-01-01) to use the default timezone of UTC.  *Results returned through end of day on date entered or end of hour when time is specified.
        String optionalCategories = optionalCategories_example; // String | list of optional denylist categories to return updated signatures
        String authorization = authorization_example; // String | Bearer token provided by Ad Lightning
        try {
            ApiBlockingSignaturesResponse result = apiInstance.api20BlockingSignatureUpdatedCreativesGet(startDate, endDate, optionalCategories, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#api20BlockingSignatureUpdatedCreativesGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String startDate = startDate_example; // String | Start date for results in the ISO 8601 format.  Use the format YYYY-MM-DDThh:mm:ss±hh:mm (ex. 2020-01-01T10:59:00-08:00) for a specific time and timezone, or YYYY-MM-DD (e.g. 2020-01-01) to use the default timezone of UTC.
        String endDate = endDate_example; // String | End date for results in the ISO 8601 format.  Use the format YYYY-MM-DDThh:mm:ss±hh:mm (ex. 2020-01-01T10:59:00-08:00) for a specific time and timezone, or YYYY-MM-DD (e.g. 2020-01-01) to use the default timezone of UTC.  *Results returned through end of day on date entered or end of hour when time is specified.
        String optionalCategories = optionalCategories_example; // String | list of optional denylist categories to return updated signatures
        String authorization = authorization_example; // String | Bearer token provided by Ad Lightning
        try {
            ApiBlockingSignaturesResponse result = apiInstance.api20BlockingSignatureUpdatedCreativesGet(startDate, endDate, optionalCategories, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#api20BlockingSignatureUpdatedCreativesGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: universalAuthorizerFunc)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"Authorization"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"Authorization"];

String *startDate = startDate_example; // Start date for results in the ISO 8601 format.  Use the format YYYY-MM-DDThh:mm:ss±hh:mm (ex. 2020-01-01T10:59:00-08:00) for a specific time and timezone, or YYYY-MM-DD (e.g. 2020-01-01) to use the default timezone of UTC.
String *endDate = endDate_example; // End date for results in the ISO 8601 format.  Use the format YYYY-MM-DDThh:mm:ss±hh:mm (ex. 2020-01-01T10:59:00-08:00) for a specific time and timezone, or YYYY-MM-DD (e.g. 2020-01-01) to use the default timezone of UTC.  *Results returned through end of day on date entered or end of hour when time is specified.
String *optionalCategories = optionalCategories_example; // list of optional denylist categories to return updated signatures (optional)
String *authorization = authorization_example; // Bearer token provided by Ad Lightning (optional)

DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Updated signatures
[apiInstance api20BlockingSignatureUpdatedCreativesGetWith:startDate
    endDate:endDate
    optionalCategories:optionalCategories
    authorization:authorization
              completionHandler: ^(ApiBlockingSignaturesResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ProdApiBlockingResultsServerless = require('prod_api_blocking_results_serverless');
var defaultClient = ProdApiBlockingResultsServerless.ApiClient.instance;

// Configure API key authorization: universalAuthorizerFunc
var universalAuthorizerFunc = defaultClient.authentications['universalAuthorizerFunc'];
universalAuthorizerFunc.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//universalAuthorizerFunc.apiKeyPrefix['Authorization'] = "Token"

var api = new ProdApiBlockingResultsServerless.DefaultApi()

var startDate = startDate_example; // {String} Start date for results in the ISO 8601 format.  Use the format YYYY-MM-DDThh:mm:ss±hh:mm (ex. 2020-01-01T10:59:00-08:00) for a specific time and timezone, or YYYY-MM-DD (e.g. 2020-01-01) to use the default timezone of UTC.

var endDate = endDate_example; // {String} End date for results in the ISO 8601 format.  Use the format YYYY-MM-DDThh:mm:ss±hh:mm (ex. 2020-01-01T10:59:00-08:00) for a specific time and timezone, or YYYY-MM-DD (e.g. 2020-01-01) to use the default timezone of UTC.  *Results returned through end of day on date entered or end of hour when time is specified.

var opts = { 
  'optionalCategories': optionalCategories_example, // {String} list of optional denylist categories to return updated signatures
  'authorization': authorization_example // {String} Bearer token provided by Ad Lightning
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.api20BlockingSignatureUpdatedCreativesGet(startDate, endDate, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class api20BlockingSignatureUpdatedCreativesGetExample
    {
        public void main()
        {
            
            // Configure API key authorization: universalAuthorizerFunc
            Configuration.Default.ApiKey.Add("Authorization", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("Authorization", "Bearer");

            var apiInstance = new DefaultApi();
            var startDate = startDate_example;  // String | Start date for results in the ISO 8601 format.  Use the format YYYY-MM-DDThh:mm:ss±hh:mm (ex. 2020-01-01T10:59:00-08:00) for a specific time and timezone, or YYYY-MM-DD (e.g. 2020-01-01) to use the default timezone of UTC.
            var endDate = endDate_example;  // String | End date for results in the ISO 8601 format.  Use the format YYYY-MM-DDThh:mm:ss±hh:mm (ex. 2020-01-01T10:59:00-08:00) for a specific time and timezone, or YYYY-MM-DD (e.g. 2020-01-01) to use the default timezone of UTC.  *Results returned through end of day on date entered or end of hour when time is specified.
            var optionalCategories = optionalCategories_example;  // String | list of optional denylist categories to return updated signatures (optional) 
            var authorization = authorization_example;  // String | Bearer token provided by Ad Lightning (optional) 

            try
            {
                // Updated signatures
                ApiBlockingSignaturesResponse result = apiInstance.api20BlockingSignatureUpdatedCreativesGet(startDate, endDate, optionalCategories, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.api20BlockingSignatureUpdatedCreativesGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: universalAuthorizerFunc
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');

$api_instance = new Swagger\Client\Api\DefaultApi();
$startDate = startDate_example; // String | Start date for results in the ISO 8601 format.  Use the format YYYY-MM-DDThh:mm:ss±hh:mm (ex. 2020-01-01T10:59:00-08:00) for a specific time and timezone, or YYYY-MM-DD (e.g. 2020-01-01) to use the default timezone of UTC.
$endDate = endDate_example; // String | End date for results in the ISO 8601 format.  Use the format YYYY-MM-DDThh:mm:ss±hh:mm (ex. 2020-01-01T10:59:00-08:00) for a specific time and timezone, or YYYY-MM-DD (e.g. 2020-01-01) to use the default timezone of UTC.  *Results returned through end of day on date entered or end of hour when time is specified.
$optionalCategories = optionalCategories_example; // String | list of optional denylist categories to return updated signatures
$authorization = authorization_example; // String | Bearer token provided by Ad Lightning

try {
    $result = $api_instance->api20BlockingSignatureUpdatedCreativesGet($startDate, $endDate, $optionalCategories, $authorization);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->api20BlockingSignatureUpdatedCreativesGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DefaultApi;

# Configure API key authorization: universalAuthorizerFunc
$WWW::SwaggerClient::Configuration::api_key->{'Authorization'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'Authorization'} = "Bearer";

my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $startDate = startDate_example; # String | Start date for results in the ISO 8601 format.  Use the format YYYY-MM-DDThh:mm:ss±hh:mm (ex. 2020-01-01T10:59:00-08:00) for a specific time and timezone, or YYYY-MM-DD (e.g. 2020-01-01) to use the default timezone of UTC.
my $endDate = endDate_example; # String | End date for results in the ISO 8601 format.  Use the format YYYY-MM-DDThh:mm:ss±hh:mm (ex. 2020-01-01T10:59:00-08:00) for a specific time and timezone, or YYYY-MM-DD (e.g. 2020-01-01) to use the default timezone of UTC.  *Results returned through end of day on date entered or end of hour when time is specified.
my $optionalCategories = optionalCategories_example; # String | list of optional denylist categories to return updated signatures
my $authorization = authorization_example; # String | Bearer token provided by Ad Lightning

eval { 
    my $result = $api_instance->api20BlockingSignatureUpdatedCreativesGet(startDate => $startDate, endDate => $endDate, optionalCategories => $optionalCategories, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->api20BlockingSignatureUpdatedCreativesGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: universalAuthorizerFunc
swagger_client.configuration.api_key['Authorization'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['Authorization'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.DefaultApi()
startDate = startDate_example # String | Start date for results in the ISO 8601 format.  Use the format YYYY-MM-DDThh:mm:ss±hh:mm (ex. 2020-01-01T10:59:00-08:00) for a specific time and timezone, or YYYY-MM-DD (e.g. 2020-01-01) to use the default timezone of UTC.
endDate = endDate_example # String | End date for results in the ISO 8601 format.  Use the format YYYY-MM-DDThh:mm:ss±hh:mm (ex. 2020-01-01T10:59:00-08:00) for a specific time and timezone, or YYYY-MM-DD (e.g. 2020-01-01) to use the default timezone of UTC.  *Results returned through end of day on date entered or end of hour when time is specified.
optionalCategories = optionalCategories_example # String | list of optional denylist categories to return updated signatures (optional)
authorization = authorization_example # String | Bearer token provided by Ad Lightning (optional)

try: 
    # Updated signatures
    api_response = api_instance.api20_blocking_signature_updated_creatives_get(startDate, endDate, optionalCategories=optionalCategories, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->api20BlockingSignatureUpdatedCreativesGet: %s\n" % e)

Parameters

Header parameters
Name Description
Authorization
String
Bearer token provided by Ad Lightning
Query parameters
Name Description
optional_categories
String
list of optional denylist categories to return updated signatures
start_date*
String
Start date for results in the ISO 8601 format. Use the format YYYY-MM-DDThh:mm:ss±hh:mm (ex. 2020-01-01T10:59:00-08:00) for a specific time and timezone, or YYYY-MM-DD (e.g. 2020-01-01) to use the default timezone of UTC.
Required
end_date*
String
End date for results in the ISO 8601 format. Use the format YYYY-MM-DDThh:mm:ss±hh:mm (ex. 2020-01-01T10:59:00-08:00) for a specific time and timezone, or YYYY-MM-DD (e.g. 2020-01-01) to use the default timezone of UTC. *Results returned through end of day on date entered or end of hour when time is specified.
Required

Responses

Status: 200 - 200 response

Status: 400 - 400 response

Status: 500 - 500 response


/api/2.0/blocking/signature/updated/creatives - options


Usage and SDK Samples

curl -X OPTIONS "https://api-prod.adlightning.com/blocking-results/api/2.0/blocking/signature/updated/creatives"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {

    public static void main(String[] args) {
        
        DefaultApi apiInstance = new DefaultApi();
        try {
            apiInstance.api20BlockingSignatureUpdatedCreativesOptions();
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#api20BlockingSignatureUpdatedCreativesOptions");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DefaultApi;

public class DefaultApiExample {

    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        try {
            apiInstance.api20BlockingSignatureUpdatedCreativesOptions();
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#api20BlockingSignatureUpdatedCreativesOptions");
            e.printStackTrace();
        }
    }
}

DefaultApi *apiInstance = [[DefaultApi alloc] init];

[apiInstance api20BlockingSignatureUpdatedCreativesOptionsWithCompletionHandler: 
              ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var ProdApiBlockingResultsServerless = require('prod_api_blocking_results_serverless');

var api = new ProdApiBlockingResultsServerless.DefaultApi()

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.api20BlockingSignatureUpdatedCreativesOptions(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class api20BlockingSignatureUpdatedCreativesOptionsExample
    {
        public void main()
        {
            
            var apiInstance = new DefaultApi();

            try
            {
                apiInstance.api20BlockingSignatureUpdatedCreativesOptions();
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DefaultApi.api20BlockingSignatureUpdatedCreativesOptions: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\DefaultApi();

try {
    $api_instance->api20BlockingSignatureUpdatedCreativesOptions();
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->api20BlockingSignatureUpdatedCreativesOptions: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DefaultApi;

my $api_instance = WWW::SwaggerClient::DefaultApi->new();

eval { 
    $api_instance->api20BlockingSignatureUpdatedCreativesOptions();
};
if ($@) {
    warn "Exception when calling DefaultApi->api20BlockingSignatureUpdatedCreativesOptions: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.DefaultApi()

try: 
    api_instance.api20_blocking_signature_updated_creatives_options()
except ApiException as e:
    print("Exception when calling DefaultApi->api20BlockingSignatureUpdatedCreativesOptions: %s\n" % e)

Parameters

Responses

Status: 200 - 200 response

Name Type Format Description
Access-Control-Allow-Origin String
Access-Control-Allow-Methods String
Access-Control-Allow-Headers String