docs-devsite/analytics.promotion.md
Project: /docs/reference/js/_project.yaml Book: /docs/reference/_book.yaml page_type: reference
{% comment %} DO NOT EDIT THIS FILE! This is generated by the JS SDK team, and any local changes will be overwritten. Changes should be made in the source code at https://github.com/firebase/firebase-js-sdk {% endcomment %}
Warning: This API is now obsolete.
Use
Iteminstead.
Field previously used by some Google Analytics events.
<b>Signature:</b>
export interface Promotion
| Property | Type | Description |
|---|---|---|
| creative_name | string | |
| creative_slot | string | |
| id | string | |
| name | string |
<b>Signature:</b>
creative_name?: string;
<b>Signature:</b>
creative_slot?: string;
<b>Signature:</b>
id?: string;
<b>Signature:</b>
name?: string;