- Resource: FloodlightActivity
- CountingMethod
- TagFormat
- CacheBustingCodeType
- FloodlightActivityDynamicTag
- FloodlightActivityPublisherDynamicTag
- TagFormat
- Status
- Methods
Resource: FloodlightActivity
Contains properties of a Floodlight activity.
JSON representation |
---|
{ "id": string, "name": string, "tagString": string, "expectedUrl": string, "secure": boolean, "kind": string, "countingMethod": enum ( |
Fields | |
---|---|
id |
ID of this floodlight activity. This is a read-only, auto-generated field. |
name |
Name of this floodlight activity. This is a required field. Must be less than 129 characters long and cannot contain quotes. |
tag |
Value of the
parameter in the floodlight tag, which the ad servers use to identify the activity. This is optional: if empty, a new tag string will be generated for you. This string must be 1 to 8 characters long, with valid characters being
. This tag string must also be unique among activities of the same activity group. This field is read-only after insertion. |
expected |
URL where this tag will be deployed. If specified, must be less than 256 characters long. |
secure |
Whether this tag should use SSL. |
kind |
Identifies what kind of resource this is. Value: the fixed string
. |
counting |
Counting method for conversions for this floodlight activity. This is a required field. |
tag |
Tag format type for the floodlight activity. If left blank, the tag format will default to
. |
cache |
Code type used for cache busting in the generated tag. Applicable only when
is
and
is
or
. |
user |
floodlightActivities.list of the user-defined variables used by this conversion tag. These map to the "
" in the tags. Each of these can have a user defined type. Acceptable values are
to
, inclusive. |
notes |
General notes or implementation instructions for the tag. |
default |
Dynamic floodlight tags. |
publisher |
Publisher dynamic floodlight tags. |
floodlight |
Floodlight activity group ID of this floodlight activity. This is a required field. |
floodlight |
Floodlight configuration ID of this floodlight activity. If this field is left blank, the value will be copied over either from the activity group's floodlight configuration or from the existing activity's floodlight configuration. |
advertiser |
Advertiser ID of this floodlight activity. If this field is left blank, the value will be copied over either from the activity group's advertiser or the existing activity's advertiser. |
subaccount |
Subaccount ID of this floodlight activity. This is a read-only field that can be left blank. |
account |
Account ID of this floodlight activity. This is a read-only field that can be left blank. |
floodlight |
Type of the associated floodlight activity group. This is a read-only field. |
floodlight |
Tag string of the associated floodlight activity group. This is a read-only field. |
floodlight |
Name of the associated floodlight activity group. This is a read-only field. |
ssl |
Whether the floodlight activity is SSL-compliant. This is a read-only field, its value detected by the system from the floodlight tags. |
advertiser |
Dimension value for the ID of the advertiser. This is a read-only, auto-generated field. |
floodlight |
Dimension value for the ID of the floodlight configuration. This is a read-only, auto-generated field. |
id |
Dimension value for the ID of this floodlight activity. This is a read-only, auto-generated field. |
ssl |
Whether this floodlight activity must be SSL-compliant. |
floodlight |
The type of Floodlight tag this activity will generate. This is a required field. |
status |
The status of the activity. This can only be set to
or
. The
status is no longer supported and cannot be set for Floodlight activities. The
status indicates that a Floodlight activity is violating Google policy. Contact your account manager for more information. |
attribution |
Whether the activity is enabled for attribution. |
CountingMethod
Types of counting methods for conversions for spotlight activity
Enums | |
---|---|
STANDARD_COUNTING |
Count every conversion. |
UNIQUE_COUNTING |
Count the first conversion for each unique user during each 24-hour day, from midnight to midnight, Eastern Time. |
SESSION_COUNTING |
Count one conversion per user per session. Session length is set by the site where the Spotlight tag is deployed. |
TRANSACTIONS_COUNTING |
Count all conversions, plus the total number of sales that take place and the total revenue for these transactions. |
ITEMS_SOLD_COUNTING |
Count each conversion, plus the total number of items sold and the total revenue for these sales. |
TagFormat
Tag format types for spotlight activity.
Enums | |
---|---|
HTML |
|
XHTML |
CacheBustingCodeType
Cache busting code types for spotlight activity
Enums | |
---|---|
JAVASCRIPT |
|
ACTIVE_SERVER_PAGE |
|
JSP |
|
PHP |
|
COLD_FUSION |
FloodlightActivityDynamicTag
Dynamic Tag
JSON representation |
---|
{ "id": string, "name": string, "tag": string } |
Fields | |
---|---|
id |
ID of this dynamic tag. This is a read-only, auto-generated field. |
name |
Name of this tag. |
tag |
Tag code. |
FloodlightActivityPublisherDynamicTag
Publisher Dynamic Tag
JSON representation |
---|
{ "dynamicTag": { object ( |
Fields | |
---|---|
dynamic |
Dynamic floodlight tag. |
site |
Site ID of this dynamic tag. |
directory |
Directory site ID of this dynamic tag. This is a write-only field that can be used as an alternative to the
field. When this resource is retrieved, only the
field will be populated. |
click |
Whether this tag is applicable only for click-throughs. |
view |
Whether this tag is applicable only for view-throughs. |
site |
Dimension value for the ID of the site. This is a read-only, auto-generated field. |
TagFormat
Enums | |
---|---|
IFRAME |
|
IMAGE |
|
GLOBAL_SITE_TAG |
Status
Enums | |
---|---|
ACTIVE |
|
ARCHIVED_AND_DISABLED |
|
ARCHIVED |
|
DISABLED_POLICY |
Methods |
|
---|---|
|
Deletes an existing floodlight activity. |
|
Generates a tag for a floodlight activity. |
|
Gets one floodlight activity by ID. |
|
Inserts a new floodlight activity. |
|
Retrieves a list of floodlight activities, possibly filtered. |
|
Updates an existing floodlight activity. |
|
Updates an existing floodlight activity. |