Home

PHP

Retrieve Networks Configurations

Retrieve all network configurations available for a client account regardless of their status (not joined, pending or active).

API Function: get_networks_configurations

API EndPoint

https://synced.io/api/v2_account?wsdl

Parameters:

Name Type Description
username string Your API username. You should have received this with your account
subscription_id string Your Subscription ID. You can copy or regenerate it from your API management interface.

 

Response fields:

Name Type Description
config_id string The id of the network configuration
network_id numeric Id of the network associated with the configuration
network_name string Network name associated with the configuration
network_url string Network url associated with the configuration
network_logo string Network logo associated with the configuration
network_country_id numeric Country id associated with the configuration
network_country_name string Country name associated with the configuration
network_affiliate_id string Encrypted affiliate id of the publisher account associated with the configuration, null if not joined
network_username string Encrypted username of the publisher account associated with the configuration, null if not joined
network_password string Encrypted password of the publisher account associated with the configuration, null if not joined
network_token string Encrypted token of the publisher account associated with the configuration, null if not joined
network_user_id string Encrypted network user id of the publisher account associated with the configuration, null if not joined
network_feed_password string Encrypted network feed password of the publisher account associated with the configuration, null if not joined
network_ad_space string Network ad space of the publisher account associated with the configuration, null if not joined
network_authorization_key string Encrypted network authorization key of the publisher account associated with the configuration, null if not joined
network_currency_id numeric Network currency id of the publisher account associated with the configuration
network_status string Configuration status, can be accepted, pending, rejected
network_has_postback string Indicate if the network associated with the configuration support or not postback
network_guide string Network guide for adding the required data
                    
                    

                    
                    

                    
                    
                                            
<?php   
$api_username      = '*******';
$api_subscription  = '*******';

try
{

        $client     = new SoapClient('https://synced.io/api/v2_account?wsdl');
        $response   = $client->get_networks_configurations($api_username, $api_subscription);

        print_r($response);            


} catch (Exception $e)
{

    print_r($e);
    echo $client->__getLastRequest() . "\n";
    exit;
}

?>