Click or drag to resize
ConnectorImportAds Method (String, String)
Imports ads from the specified importFile to the eSales cluster.

Namespace:  Apptus.ESales.Connector
Assembly:  Apptus.Esales.ConnectorApi (in Apptus.Esales.ConnectorApi.dll) Version: 4.5.0
Syntax
C#
public void ImportAds(
	string importFile,
	string name
)

Parameters

importFile
Type: SystemString
The file containing ad data
name
Type: SystemString
A unique identifier for the request. If null, a generated id will be used.
Exceptions
ExceptionCondition
ArgumentExceptionimportFile is a zero-length string, contains only white space, or contains one or more invalid characters as defined by InvalidPathChars.
ArgumentNullExceptionimportFile is .
PathTooLongExceptionThe specified path, file name, or both exceed the system-defined maximum length.
DirectoryNotFoundExceptionThe specified path is invalid, (for example, it is on an unmapped drive).
UnauthorizedAccessExceptionimportFile specified a directory.

-or-

The caller does not have the required permission.
FileNotFoundExceptionThe file specified in importFile was not found.
NotSupportedExceptionimportFile is in an invalid format.
FetchClusterExceptionNo server could provide required connection information for the cluster.
BusyClusterExceptionCluster is busy with another task.
IOExceptionA server reconfigured the connector to use an empty cluster.
See Also