Promotion interface
Stay organized with collections
Save and categorize content based on your preferences.
Use Item
instead.
Field previously used by some Google Analytics events.
Signature:
export interface Promotion
Properties
Signature:
creative_name?: string;
Signature:
creative_slot?: string;
Signature:
id?: string;
Signature:
name?: string;
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 2022-07-22 UTC.
[null,null,["Last updated 2022-07-22 UTC."],[],[],null,["# Promotion interface\n\n\u003e | **Warning:** This API is now obsolete.\n\u003e\n\u003e Use `Item` instead.\n\nField previously used by some Google Analytics events.\n\n**Signature:** \n\n export interface Promotion \n\nProperties\n----------\n\n| Property | Type | Description |\n|------------------------------------------------------------------|--------|-------------|\n| [creative_name](./analytics.promotion.md#promotioncreative_name) | string | |\n| [creative_slot](./analytics.promotion.md#promotioncreative_slot) | string | |\n| [id](./analytics.promotion.md#promotionid) | string | |\n| [name](./analytics.promotion.md#promotionname) | string | |\n\nPromotion.creative_name\n-----------------------\n\n**Signature:** \n\n creative_name?: string;\n\nPromotion.creative_slot\n-----------------------\n\n**Signature:** \n\n creative_slot?: string;\n\nPromotion.id\n------------\n\n**Signature:** \n\n id?: string;\n\nPromotion.name\n--------------\n\n**Signature:** \n\n name?: string;"]]