From 4d514ef23b5322245cbbc75ddfaacd21eb060b6a Mon Sep 17 00:00:00 2001 From: Takashi Aoki Date: Sat, 1 Oct 2016 16:48:24 -0700 Subject: [PATCH 1/3] refactor(API): update GPT API list --- src/utils/apiList.js | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/src/utils/apiList.js b/src/utils/apiList.js index b2fedde..2e757ad 100644 --- a/src/utils/apiList.js +++ b/src/utils/apiList.js @@ -2,7 +2,7 @@ // This file is generated by `npm run update-apilist`. // Note that only APIs that's documented in https://developers.google.com/doubleclick-gpt/reference is officially supported. -export const gptVersion = 83; +export const gptVersion = 95; export const gptAPI = [ ["getVersion", "function"], ["cmd", "object"], @@ -15,6 +15,7 @@ export const gptAPI = [ ["defineSlot", "function"], ["defineUnit", "function"], ["destroySlots", "function"], + ["getSlots", "function"], ["display", "function"], ["companionAds", "function"], ["content", "function"], @@ -22,13 +23,14 @@ export const gptAPI = [ ["service_manager_instance", "object"], ["disablePublisherConsole", "function"], ["onPubConsoleJsLoad", "function"], + ["openConsole", "function"], ["sizeMapping", "function"], ["evalScripts", "function"], ["apiReady", "boolean"], ["slot_manager_instance", "object"], ["pubadsReady", "boolean"] ]; -export const pubadsVersion = 84; +export const pubadsVersion = 95; export const pubadsAPI = [ ["set", "function"], ["get", "function"], @@ -41,6 +43,8 @@ export const pubadsAPI = [ ["setKidsFriendlyAds", "function"], ["setTargeting", "function"], ["clearTargeting", "function"], + ["getTargeting", "function"], + ["getTargetingKeys", "function"], ["setCategoryExclusion", "function"], ["clearCategoryExclusions", "function"], ["disableInitialLoad", "function"], @@ -67,7 +71,9 @@ export const pubadsAPI = [ ["markAsAmp", "function"], ["setSafeFrameConfig", "function"], ["setForceSafeFrame", "function"], + ["enableChromeInterventionSignals", "function"], ["markAsGladeControl", "function"], + ["markAsGladeOptOut", "function"], ["getName", "function"], ["getVersion", "function"], ["getSlots", "function"], @@ -83,6 +89,7 @@ export const slotAPI = [ ["addService", "function"], ["getName", "function"], ["getAdUnitPath", "function"], + ["getInstance", "function"], ["getSlotElementId", "function"], ["getSlotId", "function"], ["getServices", "function"], @@ -112,10 +119,12 @@ export const slotAPI = [ ["renderStarted", "function"], ["getResponseInformation", "function"], ["renderEnded", "function"], + ["loaded", "function"], ["impressionViewable", "function"], ["visibilityChanged", "function"], ["setFirstLook", "function"], ["getFirstLook", "function"], ["getDefinedId", "function"], + ["getEscapedQemQueryId", "function"], ["setSafeFrameConfig", "function"] ]; From e30f39d81c09c4a48ef69638e84493401b25802d Mon Sep 17 00:00:00 2001 From: Takashi Aoki Date: Sat, 1 Oct 2016 16:50:41 -0700 Subject: [PATCH 2/3] chore(example): fix warning from Radium --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index facad61..dab96de 100644 --- a/package.json +++ b/package.json @@ -75,7 +75,7 @@ "mocha": "^2.3.4", "phantom": "^2.0.4", "querystring": "^0.2.0", - "radium": "^0.17.1", + "radium": "^0.18.1", "react": "^15.0.1", "react-addons-test-utils": "^15.0.1", "react-dom": "^15.0.1", From 02b4e4cf165c5ecd900516b9d5d344e7e07d63b6 Mon Sep 17 00:00:00 2001 From: Takashi Aoki Date: Thu, 13 Oct 2016 10:59:39 -0700 Subject: [PATCH 3/3] bump version to 0.2.2 --- CHANGELOG.md | 7 +++++++ package.json | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7913eb1..845d6d1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ + +## [0.2.2](https://github.com/nfl/react-gpt/compare/v0.2.1...v0.2.2) (2016-10-13) + +### Code Refactoring + +* **API:** update GPT API list ([993c0e0](https://github.com/nfl/react-gpt/commit/993c0e0)) + ## 0.2.1 Features: diff --git a/package.json b/package.json index dab96de..c90b035 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-gpt", - "version": "0.2.1", + "version": "0.2.2", "description": "A react display ad component using Google Publisher Tag", "main": "lib/index.js", "contributors": [