File tree Expand file tree Collapse file tree 3 files changed +14
-6
lines changed
types/google-publisher-tag Expand file tree Collapse file tree 3 files changed +14
-6
lines changed Original file line number Diff line number Diff line change 1- // Tests for Google Publisher Tag 1.20260126
2- // Synced from: https://github.com/googleads/google-publisher-tag-types/commit/73204dbcec799a1e93c07bdce1110a1e7e63b420
1+ // Tests for Google Publisher Tag 1.20260202
2+ // Synced from: https://github.com/googleads/google-publisher-tag-types/commit/4c584da266672a58c8bbed7add283c848a179fcb
33
44// Test for googletag.cmd
55function test_googletag_cmd ( ) {
Original file line number Diff line number Diff line change @@ -1717,19 +1717,27 @@ declare namespace googletag {
17171717 /** Array of two numbers representing [width, height]. */
17181718 type SingleSizeArray = [ number , number ] ;
17191719
1720+ /**
1721+ * The size string where the ad container takes 100% width of its parent div and
1722+ * then resizes its height to fit the creative content. Similar to how regular
1723+ * block elements on a page behave. Used for native ads (see
1724+ * [related article](https://support.google.com/admanager/answer/6366845)).
1725+ */
1726+ type FluidSize = "fluid" ;
1727+
17201728 /**
17211729 * Named sizes that a slot can have. In most cases size is a fixed-size
17221730 * rectangle but there are some cases when we need other kinds of size
17231731 * specifications. Only the following are valid named sizes:
17241732 *
1725- * - **fluid**: the ad container takes 100% width of parent div and then
1726- * resizes its height to fit creative content. Similar to how regular block
1733+ * - **fluid**: the ad container takes 100% width of its parent div and then
1734+ * resizes its height to fit the creative content. Similar to how regular block
17271735 * elements on a page behave. Used for native ads (see
17281736 * [related article](https://support.google.com/admanager/answer/6366845)).
17291737 * Note that both `fluid` and `['fluid']` are acceptable forms to declare a
17301738 * slot size as fluid.
17311739 */
1732- type NamedSize = "fluid" | [ "fluid" ] ;
1740+ type NamedSize = FluidSize | [ FluidSize ] ;
17331741
17341742 /**
17351743 * A single valid size for a slot.
Original file line number Diff line number Diff line change 11{
22 "private" : true ,
33 "name" : " @types/google-publisher-tag" ,
4- "version" : " 1.20260126 .9999" ,
4+ "version" : " 1.20260202 .9999" ,
55 "nonNpm" : " conflict" ,
66 "nonNpmDescription" : " Google Publisher Tag" ,
77 "projects" : [
You can’t perform that action at this time.
0 commit comments