@types/doubleclick-gpt
Advanced tools
Comparing version 0.0.0 to 0.0.1
@@ -1,4 +0,5 @@ | ||
// Type definitions for Google Publisher Tag v104 | ||
// Type definitions for Google Publisher Tag v172 | ||
// Project: https://developers.google.com/doubleclick-gpt/reference | ||
// Definitions by: John Wright <https://github.com/johngeorgewright> | ||
// Steven Joyce <https://github.com/steven-joyce> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
@@ -9,3 +10,3 @@ | ||
export type NamedSize = string; | ||
export type NamedSize = string | string[]; | ||
@@ -31,2 +32,3 @@ export type SingleSize = SingleSizeArray | NamedSize; | ||
): void; | ||
getSlots(): Slot[]; | ||
} | ||
@@ -47,3 +49,2 @@ | ||
creativeId?: number; | ||
labelIds: number[]; | ||
lineItemId?: number; | ||
@@ -67,3 +68,3 @@ } | ||
disablePublisherConsole(): void; | ||
display(div?: string): void; | ||
display(div?: string | Element): void; | ||
enableServices(): void; | ||
@@ -120,3 +121,3 @@ getVersion(): string; | ||
disableInitialLoad(): void; | ||
display(adUnitPath: string, size: GeneralSize, opt_div?: string, opt_clickUrl?: string): Slot; | ||
display(adUnitPath: string, size: GeneralSize, opt_div?: string | Element, opt_clickUrl?: string): Slot; | ||
enableAsyncRendering(): boolean; | ||
@@ -162,2 +163,3 @@ enableSingleRequest(): boolean; | ||
export interface SlotRenderEndedEvent { | ||
advertiserId?: number; | ||
creativeId?: number; | ||
@@ -169,2 +171,4 @@ isEmpty: boolean; | ||
slot: Slot; | ||
sourceAgnosticCreativeId?: number; | ||
sourceAgnosticLineItemId?: number; | ||
} | ||
@@ -171,0 +175,0 @@ |
{ | ||
"name": "@types/doubleclick-gpt", | ||
"version": "0.0.0", | ||
"description": "TypeScript definitions for Google Publisher Tag v104", | ||
"version": "0.0.1", | ||
"description": "TypeScript definitions for Google Publisher Tag v172", | ||
"license": "MIT", | ||
"author": "John Wright <https://github.com/johngeorgewright>", | ||
"contributors": [ | ||
{ | ||
"name": "John Wright", | ||
"url": "https://github.com/johngeorgewright", | ||
"githubUsername": "johngeorgewright" | ||
}, | ||
{ | ||
"name": "Steven Joyce", | ||
"url": "https://github.com/steven-joyce", | ||
"githubUsername": "steven-joyce" | ||
} | ||
], | ||
"main": "", | ||
@@ -14,4 +25,4 @@ "repository": { | ||
"dependencies": {}, | ||
"peerDependencies": {}, | ||
"typesPublisherContentHash": "d1cbf2d79deb124be0aaa33e19627655c4b349c2a9240fa494259ab98b3f1788" | ||
"typesPublisherContentHash": "2d63fe6bd4dd74993db9d88103d6a093565d2c48a9d6e3ee2f28ee9dd9924649", | ||
"typeScriptVersion": "2.0" | ||
} |
@@ -5,15 +5,13 @@ # Installation | ||
# Summary | ||
This package contains type definitions for Google Publisher Tag v104 (https://developers.google.com/doubleclick-gpt/reference). | ||
This package contains type definitions for Google Publisher Tag v172 (https://developers.google.com/doubleclick-gpt/reference). | ||
# Details | ||
Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/types-2.0/doubleclick-gpt | ||
Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/doubleclick-gpt | ||
Additional Details | ||
* Last updated: Wed, 30 Nov 2016 23:59:57 GMT | ||
* File structure: Global | ||
* Library Dependencies: none | ||
* Module Dependencies: none | ||
* Last updated: Wed, 28 Feb 2018 23:22:44 GMT | ||
* Dependencies: none | ||
* Global values: googletag | ||
# Credits | ||
These definitions were written by John Wright <https://github.com/johngeorgewright>. | ||
These definitions were written by John Wright <https://github.com/johngeorgewright>, Steven Joyce <https://github.com/steven-joyce>. |
9321
154
17