Skip to content

Commit e4bec9f

Browse files
🤖 Merge PR DefinitelyTyped#74415 Sync latest changes to @types/google-publisher-tag by @google-publisher-tag
Co-authored-by: jimper <jimper@users.noreply.github.com>
1 parent ab0b2c6 commit e4bec9f

File tree

3 files changed

+14
-4
lines changed

3 files changed

+14
-4
lines changed

‎types/google-publisher-tag/google-publisher-tag-tests.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// Tests for Google Publisher Tag 1.20251117
2-
// Synced from: https://github.com/googleads/google-publisher-tag-types/commit/b4114e351762295c878195e3b243c2afdbb5b889
1+
// Tests for Google Publisher Tag 1.20260126
2+
// Synced from: https://github.com/googleads/google-publisher-tag-types/commit/73204dbcec799a1e93c07bdce1110a1e7e63b420
33

44
// Test for googletag.cmd
55
function test_googletag_cmd() {

‎types/google-publisher-tag/index.d.ts‎

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -841,7 +841,17 @@ declare namespace googletag {
841841

842842
/**
843843
* Constructs and displays an ad slot with the given ad unit path and size.
844-
* This method does not work with single request mode.
844+
*
845+
* This method is a shorthand equivalent to calling
846+
* {@link googletag.defineSlot} followed immediately by
847+
* {@link googletag.display}.
848+
*
849+
* The behavior of this method depends on whether
850+
* {@link googletag.config.PageSettingsConfig.singleRequest | Single Request Architecture (SRA)}
851+
* is enabled:
852+
* * **SRA enabled:** All ad slots defined up to the point of this call will
853+
* be batched and requested together.
854+
* * **SRA disabled (default):** The ad slot will be requested individually.
845855
*
846856
* **Note:** When this method is called, a snapshot of the slot and page
847857
* state is created to ensure consistency when sending the ad request and

‎types/google-publisher-tag/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"private": true,
33
"name": "@types/google-publisher-tag",
4-
"version": "1.20251117.9999",
4+
"version": "1.20260126.9999",
55
"nonNpm": "conflict",
66
"nonNpmDescription": "Google Publisher Tag",
77
"projects": [

0 commit comments

Comments
 (0)