Imports ads from the specified importFile to the eSales cluster.
Namespace: Apptus.ESales.Connector
Assembly: Apptus.Esales.ConnectorApi (in Apptus.Esales.ConnectorApi.dll) Version: 3.47.3
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
Exception | Condition |
---|---|
ArgumentException | importFile is a zero-length string, contains only white space, or contains one or more invalid characters as defined by InvalidPathChars. |
ArgumentNullException | importFile is . |
PathTooLongException | The specified path, file name, or both exceed the system-defined maximum length. |
DirectoryNotFoundException | The specified path is invalid, (for example, it is on an unmapped drive). |
UnauthorizedAccessException | importFile specified a directory.
-or- The caller does not have the required permission. |
FileNotFoundException | The file specified in importFile was not found. |
NotSupportedException | importFile is in an invalid format. |
FetchClusterException | No server could provide required connection information for the cluster. |
BusyClusterException | Cluster is busy with another task. |
IOException | A server reconfigured the connector to use an empty cluster. |
See Also