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:
-
adsRequest | AdRequest object that contains Ad parameters. |
udid | The 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:
-
ArgumentNullException | Thrown if AdRequest object is null or Ads Category is null |
ArgumentException | Thrown if any invalid value is given for AdRequest object. |
InvalidResponseException | Thrown if the server returns an error. |
- Returns:
- ATT_MSSDK.Advertisementv1.AdResponse An AdResponse object containing the results.