mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-05-22 03:54:50 +08:00
feat(admob-free): add missing config properties (#3344)
This commit is contained in:
parent
7bcbca7696
commit
a0f91635fc
@ -15,6 +15,23 @@ export interface AdMobFreeBannerConfig {
|
|||||||
* Auto show ad when loaded
|
* Auto show ad when loaded
|
||||||
*/
|
*/
|
||||||
autoShow?: boolean;
|
autoShow?: boolean;
|
||||||
|
/**
|
||||||
|
* Child-directed setting. Default is not calling `tagForChildDirectedTreatment`.
|
||||||
|
* Set to `true` for `tagForChildDirectedTreatment(true)`.
|
||||||
|
* Set to `false` for `tagForChildDirectedTreatment(false)`.
|
||||||
|
*/
|
||||||
|
forChild?: boolean | null;
|
||||||
|
/**
|
||||||
|
* Designed for Families setting. Android-only. Default is not calling setIsDesignedForFamilies.
|
||||||
|
* Set to `true` for `setIsDesignedForFamilies(true)`.
|
||||||
|
* Set to `false` for `setIsDesignedForFamilies(false)`.
|
||||||
|
*/
|
||||||
|
forFamily?: boolean | null;
|
||||||
|
/**
|
||||||
|
* Location targeting. It accept an array in the form of `[latitude, longitude]`.
|
||||||
|
* Android-only. Default is not calling `setLatitude` and `setLongitude`.
|
||||||
|
*/
|
||||||
|
location?: (number)[] | null;
|
||||||
/**
|
/**
|
||||||
* Set to true, to put banner at top
|
* Set to true, to put banner at top
|
||||||
*/
|
*/
|
||||||
@ -46,6 +63,23 @@ export interface AdMobFreeInterstitialConfig {
|
|||||||
* Auto show ad when loaded
|
* Auto show ad when loaded
|
||||||
*/
|
*/
|
||||||
autoShow?: boolean;
|
autoShow?: boolean;
|
||||||
|
/**
|
||||||
|
* Child-directed setting. Default is not calling `tagForChildDirectedTreatment`.
|
||||||
|
* Set to `true` for `tagForChildDirectedTreatment(true)`.
|
||||||
|
* Set to `false` for `tagForChildDirectedTreatment(false)`.
|
||||||
|
*/
|
||||||
|
forChild?: boolean | null;
|
||||||
|
/**
|
||||||
|
* Designed for Families setting. Android-only. Default is not calling setIsDesignedForFamilies.
|
||||||
|
* Set to `true` for `setIsDesignedForFamilies(true)`.
|
||||||
|
* Set to `false` for `setIsDesignedForFamilies(false)`.
|
||||||
|
*/
|
||||||
|
forFamily?: boolean | null;
|
||||||
|
/**
|
||||||
|
* Location targeting. It accept an array in the form of `[latitude, longitude]`.
|
||||||
|
* Android-only. Default is not calling `setLatitude` and `setLongitude`.
|
||||||
|
*/
|
||||||
|
location?: (number)[] | null;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface AdMobFreeRewardVideoConfig {
|
export interface AdMobFreeRewardVideoConfig {
|
||||||
@ -61,6 +95,23 @@ export interface AdMobFreeRewardVideoConfig {
|
|||||||
* Auto show ad when loaded
|
* Auto show ad when loaded
|
||||||
*/
|
*/
|
||||||
autoShow?: boolean;
|
autoShow?: boolean;
|
||||||
|
/**
|
||||||
|
* Child-directed setting. Default is not calling `tagForChildDirectedTreatment`.
|
||||||
|
* Set to `true` for `tagForChildDirectedTreatment(true)`.
|
||||||
|
* Set to `false` for `tagForChildDirectedTreatment(false)`.
|
||||||
|
*/
|
||||||
|
forChild?: boolean | null;
|
||||||
|
/**
|
||||||
|
* Designed for Families setting. Android-only. Default is not calling setIsDesignedForFamilies.
|
||||||
|
* Set to `true` for `setIsDesignedForFamilies(true)`.
|
||||||
|
* Set to `false` for `setIsDesignedForFamilies(false)`.
|
||||||
|
*/
|
||||||
|
forFamily?: boolean | null;
|
||||||
|
/**
|
||||||
|
* Location targeting. It accept an array in the form of `[latitude, longitude]`.
|
||||||
|
* Android-only. Default is not calling `setLatitude` and `setLongitude`.
|
||||||
|
*/
|
||||||
|
location?: (number)[] | null;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user