Class: default
client/apis/AdConfigurationAPI.default
Hierarchy
↳ default
Table of contents
Constructors
Properties
Methods
Constructors
constructor
+ new default(client
: default): default
Parameters:
Name | Type |
---|---|
client |
default |
Returns: default
Inherited from: default
Defined in: client/apis/AdConfigurationAPI.ts:51
Properties
client
• client: default
Inherited from: default.client
Defined in: client/apis/BaseAPI.ts:25
options
• options: BaseAPIOptions
Inherited from: default.options
Defined in: client/apis/BaseAPI.ts:26
Methods
createAd
▸ createAd(options
: unknown): Promise<unknown>
Parameters:
Name | Type |
---|---|
options |
unknown |
Returns: Promise<unknown>
Defined in: client/apis/AdConfigurationAPI.ts:86
getCreateAdMetaData
▸ getCreateAdMetaData(): Promise<GetCreateAdMetaData>
Returns: Promise<GetCreateAdMetaData>
Defined in: client/apis/AdConfigurationAPI.ts:59
getSponsoredGames
▸ getSponsoredGames(options
: GetSponsoredGamesOptions): Promise<GetSponsoredGames>
Parameters:
Name | Type |
---|---|
options |
GetSponsoredGamesOptions |
Returns: Promise<GetSponsoredGames>
Defined in: client/apis/AdConfigurationAPI.ts:70
request
▸ request(options
: BaseAPIRequestOptions): Promise<RESTResponseDataType>
Parameters:
Name | Type |
---|---|
options |
BaseAPIRequestOptions |
Returns: Promise<RESTResponseDataType>
Inherited from: default
Defined in: client/apis/BaseAPI.ts:33
runAd
▸ runAd(options
: unknown): Promise<unknown>
Parameters:
Name | Type |
---|---|
options |
unknown |
Returns: Promise<unknown>
Defined in: client/apis/AdConfigurationAPI.ts:99
stopAd
▸ stopAd(options
: unknown): Promise<unknown>
Parameters:
Name | Type |
---|---|
options |
unknown |
Returns: Promise<unknown>
Defined in: client/apis/AdConfigurationAPI.ts:112