AT&T API Platform SDK for Microsoft®  2.3.3
Wrapper classes that allow developers to build robust applications using .NET
 All Classes Namespaces Functions Enumerations Properties
Advertisement Methods

Classes

class  ATT_MSSDK.RequestFactory
 The RequestFactory manages the connections and calls to the AT&T API Platform. More...

Functions

AdResponse ATT_MSSDK.RequestFactory.GetAdvertisement (AdRequest adsRequest, string udid=null)
 Gets Advertisement details This method gets client credentials and issues the API request. Once the response is received, the response will be parsed into an AdResponse object.

Function Documentation

AdResponse ATT_MSSDK.RequestFactory.GetAdvertisement ( AdRequest  adsRequest,
string  udid = null 
)

Gets Advertisement details This method gets client credentials and issues the API request. Once the response is received, the response will be parsed into an AdResponse object.

Parameters:
adsRequestAdRequest object that contains Ad parameters.
udidThe UDID Parameter is used for ad tracking purpose and should be at least 30 characters. If not specified, default value of Guid() will be passed.
Exceptions:
ArgumentNullExceptionThrown if AdRequest object is null or Ads Category is null
ArgumentExceptionThrown if any invalid value is given for AdRequest object.
InvalidResponseExceptionThrown if the server returns an error.
Returns:
ATT_MSSDK.Advertisementv1.AdResponse An AdResponse object containing the results.