AdsApp.AdTextAsset
Stay organized with collections
Save and categorize content based on your preferences.
A Text asset with an optional pinning.
Properties:
Member | Type | Description |
pinning |
String |
The (possibly null) pinned location for this asset. |
text |
String |
The text of this asset (e.g. |
property pinning
Type: String
The (possibly null) pinned location for this asset. Possible legal values:
HEADLINE_1, HEADLINE_2, HEADLINE_3 for headline, and DESCRIPTION_1,
DESCRIPTION_2 for description.
property text
Type: String
The text of this asset (e.g. "headline").
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-25 UTC.
[null,null,["Last updated 2025-08-25 UTC."],[[["\u003cp\u003eA text asset allows for optional pinning to specific locations, such as headlines or descriptions.\u003c/p\u003e\n"],["\u003cp\u003eThe text asset is defined by two properties: \u003ccode\u003epinning\u003c/code\u003e which indicates the pinned location (if any), and \u003ccode\u003etext\u003c/code\u003e which contains the actual text content.\u003c/p\u003e\n"],["\u003cp\u003ePinning locations for headlines include HEADLINE_1, HEADLINE_2, and HEADLINE_3, while descriptions can be pinned to DESCRIPTION_1 or DESCRIPTION_2.\u003c/p\u003e\n"]]],[],null,["# AdsApp.AdTextAsset\n\nA Text asset with an optional pinning.\n\n### Properties:\n\n| Member | Type | Description |\n|---------------------|----------|-----------------------------------------------------|\n| [pinning](#pinning) | `String` | The (possibly null) pinned location for this asset. |\n| [text](#text) | `String` | The text of this asset (e.g. |\n\nproperty pinning\n----------------\n\nType: `String`\nThe (possibly null) pinned location for this asset. Possible legal values: HEADLINE_1, HEADLINE_2, HEADLINE_3 for headline, and DESCRIPTION_1, DESCRIPTION_2 for description.\n\nproperty text\n-------------\n\nType: `String`\nThe text of this asset (e.g. \"headline\")."]]