AdsApp.AdTextAsset
Stay organized with collections
Save and categorize content based on your preferences.
A Text asset with an optional pinning. Properties:
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-09-03 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-03 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\")."]]