Property | Type | Description | |
---|---|---|---|
$classmap | array | Default class map for wsdl=>php | |
$endpoint | string | The endpoint of the service |
Method | Description | |
---|---|---|
__construct ( string $wsdl, array $options, $user ) | Constructor using wsdl location and options array | |
getAllNetworks ( ) : the | Returns the list of {@link Network} objects to which the current login has access. | |
getCurrentNetwork ( ) : the | Returns the current network for which requests are being made. | |
makeTestNetwork ( ) | Creates a new blank network for testing purposes using the current login. | |
updateNetwork ( $network ) : the | Updates the specified network. Currently, only the network display name can be updated. |
public __construct ( string $wsdl, array $options, $user ) | ||
$wsdl | string | WSDL location for this service |
$options | array | Options for the SoapClient |
Intended to be used without a network code in the SOAP header when the login may have more than one network associated with it.
public getAllNetworks ( ) : the | ||
return | the | networks to which the current login has access |
public getCurrentNetwork ( ) : the | ||
return | the | network for which the user is currently making the request |
Each login(i.e. email address) can only have one test network. Data from any of your existing networks will not be transferred to the new test network. Once the test network is created, the test network can be used in the API by supplying the {@link Network#networkCode} in the SOAP header or by logging into the DFP UI.
Test networks are limited in the following ways:
public makeTestNetwork ( ) |
public updateNetwork ( $network ) : the | ||
return | the | updated network |
public static array $classmap | ||
return | array |
public static string $endpoint | ||
return | string |