Back to Firebase Js Sdk

Promotion interface

docs-devsite/analytics.promotion.md

12.12.11.2 KB
Original Source

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 %}

Promotion interface

Warning: This API is now obsolete.

Use Item instead.

Field previously used by some Google Analytics events.

<b>Signature:</b>

typescript
export interface Promotion 

Properties

PropertyTypeDescription
creative_namestring
creative_slotstring
idstring
namestring

Promotion.creative_name

<b>Signature:</b>

typescript
creative_name?: string;

Promotion.creative_slot

<b>Signature:</b>

typescript
creative_slot?: string;

Promotion.id

<b>Signature:</b>

typescript
id?: string;

Promotion.name

<b>Signature:</b>

typescript
name?: string;