Skip to content

Commit 993c0e0

Browse files
authored
Merge pull request #1 from nfl/feature/api-update
refactor(API): update GPT API list
2 parents 13de01d + 4d514ef commit 993c0e0

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

src/utils/apiList.js

+11-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// This file is generated by `npm run update-apilist`.
33
// Note that only APIs that's documented in https://developers.google.com/doubleclick-gpt/reference is officially supported.
44

5-
export const gptVersion = 83;
5+
export const gptVersion = 95;
66
export const gptAPI = [
77
["getVersion", "function"],
88
["cmd", "object"],
@@ -15,20 +15,22 @@ export const gptAPI = [
1515
["defineSlot", "function"],
1616
["defineUnit", "function"],
1717
["destroySlots", "function"],
18+
["getSlots", "function"],
1819
["display", "function"],
1920
["companionAds", "function"],
2021
["content", "function"],
2122
["debug_log", "object"],
2223
["service_manager_instance", "object"],
2324
["disablePublisherConsole", "function"],
2425
["onPubConsoleJsLoad", "function"],
26+
["openConsole", "function"],
2527
["sizeMapping", "function"],
2628
["evalScripts", "function"],
2729
["apiReady", "boolean"],
2830
["slot_manager_instance", "object"],
2931
["pubadsReady", "boolean"]
3032
];
31-
export const pubadsVersion = 84;
33+
export const pubadsVersion = 95;
3234
export const pubadsAPI = [
3335
["set", "function"],
3436
["get", "function"],
@@ -41,6 +43,8 @@ export const pubadsAPI = [
4143
["setKidsFriendlyAds", "function"],
4244
["setTargeting", "function"],
4345
["clearTargeting", "function"],
46+
["getTargeting", "function"],
47+
["getTargetingKeys", "function"],
4448
["setCategoryExclusion", "function"],
4549
["clearCategoryExclusions", "function"],
4650
["disableInitialLoad", "function"],
@@ -67,7 +71,9 @@ export const pubadsAPI = [
6771
["markAsAmp", "function"],
6872
["setSafeFrameConfig", "function"],
6973
["setForceSafeFrame", "function"],
74+
["enableChromeInterventionSignals", "function"],
7075
["markAsGladeControl", "function"],
76+
["markAsGladeOptOut", "function"],
7177
["getName", "function"],
7278
["getVersion", "function"],
7379
["getSlots", "function"],
@@ -83,6 +89,7 @@ export const slotAPI = [
8389
["addService", "function"],
8490
["getName", "function"],
8591
["getAdUnitPath", "function"],
92+
["getInstance", "function"],
8693
["getSlotElementId", "function"],
8794
["getSlotId", "function"],
8895
["getServices", "function"],
@@ -112,10 +119,12 @@ export const slotAPI = [
112119
["renderStarted", "function"],
113120
["getResponseInformation", "function"],
114121
["renderEnded", "function"],
122+
["loaded", "function"],
115123
["impressionViewable", "function"],
116124
["visibilityChanged", "function"],
117125
["setFirstLook", "function"],
118126
["getFirstLook", "function"],
119127
["getDefinedId", "function"],
128+
["getEscapedQemQueryId", "function"],
120129
["setSafeFrameConfig", "function"]
121130
];

0 commit comments

Comments
 (0)