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.4.1
public void ImportAds(
	string importFile,
	string name


Type: SystemString
The file containing ad data
Type: SystemString
A unique identifier for the request. If null, a generated id will be used.
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.


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