REST Resource: networks.contentBundles

  • A ContentBundle groups individual Content based on filter rules and explicit inclusions/exclusions of Content IDs.

  • Each ContentBundle has a unique resource name identifier and a required display name up to 255 characters.

  • Available methods include retrieving a single ContentBundle object using get or a list of ContentBundle objects using list.

Resource: ContentBundle

A ContentBundle is a grouping of individual Content. A ContentBundle is defined as including the Content that match certain filter rules along with the option to explicitly include or exclude certain Content IDs.

JSON representation
{
  "name": string,
  "displayName": string,
  "status": enum (ContentBundleStatus),
  "updateTime": string
}
Fields
name

string

Identifier. The resource name of the ContentBundle. Format: networks/{networkCode}/contentBundles/{contentBundleId}

displayName

string

Required. The name of the ContentBundle. This attribute is required and has a maximum length of 255 characters.

status

enum (ContentBundleStatus)

Output only. The ContentBundleStatus of the ContentBundle. This attribute is read-only and defaults to [ContentBundleStatus.INACTIVE][].

updateTime

string (Timestamp format)

Output only. The time the ContentBundle was last modified.

Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: "2014-10-02T15:01:23Z", "2014-10-02T15:01:23.045123456Z" or "2014-10-02T15:01:23+05:30".

ContentBundleStatus

Status for ContentBundle objects.

Enums
CONTENT_BUNDLE_STATUS_UNSPECIFIED Default value. This value is unused.
ACTIVE The object is active and stats are collected.
ARCHIVED The object has been archived.
INACTIVE The object is no longer active and no stats collected.

Methods

get

Retrieves a ContentBundle object.

list

Lists ContentBundle objects.