File tree Expand file tree Collapse file tree 3 files changed +14
-4
lines changed
types/google-publisher-tag Expand file tree Collapse file tree 3 files changed +14
-4
lines changed Original file line number Diff line number Diff line change 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
55function test_googletag_cmd ( ) {
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change 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" : [
You can’t perform that action at this time.
0 commit comments