diff --git a/lib/modules/admob/AdRequest.js b/lib/modules/admob/AdRequest.js index 217db457..e2a3a8db 100644 --- a/lib/modules/admob/AdRequest.js +++ b/lib/modules/admob/AdRequest.js @@ -3,6 +3,9 @@ export default class AdRequest { constructor() { this._props = { keywords: [], + contentUrl: null, + isDesignedForFamilies: null, + tagForChildDirectedTreatment: null, }; } @@ -15,8 +18,38 @@ export default class AdRequest { return this; } - addKeyword(word: string) { - this._props.keywords.push(word); + addKeyword(keyword: string) { + this._props.keywords.push(keyword); + return this; + } + + setBirthday() { + // TODO + } + + setContentUrl(url: string) { + this._props.contentUrl = url; + } + + setGender() { + // TODO + } + + setLocation() { + // TODO + } + + setRequestAgent() { + // TODO + } + + setIsDesignedForFamilies(isDesignedForFamilies: boolean) { + this._props.isDesignedForFamilies = isDesignedForFamilies; + return this; + } + + tagForChildDirectedTreatment(tagForChildDirectedTreatment: boolean) { + this._props.tagForChildDirectedTreatment = tagForChildDirectedTreatment; return this; } }