type ContentBundle (v202405)
Service
ContentBundleService
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.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202405
Field
|
id
|
xsd:long
ID that uniquely identifies the ContentBundle . This attribute is read-only and is
assigned by Google when a content bundle is created.
|
name
|
xsd:string
The name of the ContentBundle . This attribute is required and has a maximum length of
255 characters.
|
status
|
ContentBundleStatus
The ContentBundleStatus of the ContentBundle . This attribute is read-only and
defaults to ContentBundleStatus.INACTIVE.
Enumerations
-
ACTIVE
- The object is active and stats are collected.
-
INACTIVE
- The object is no longer active and no stats collected.
-
ARCHIVED
- The object has been archived.
-
UNKNOWN
- The value returned if the actual value is not exposed by the requested API version.
|
lastModifiedDateTime
|
DateTime
The date and time at which this content bundle was last modified. New content that matches this
bundle will not update this field.
This attribute is read-only.
|
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 2024-05-15 UTC.
[null,null,["Last updated 2024-05-15 UTC."],[[["A `ContentBundle` in Google Ad Manager is a collection of individual `Content` items, grouped by filter rules and explicit inclusions or exclusions."],["`ContentBundle` objects have unique IDs, user-defined names (up to 255 characters), and statuses (active, inactive, archived, or unknown) that determine their functionality."],["`ContentBundles` can be managed through the `ContentBundleService`, which offers methods for creating, updating, and retrieving bundles, and their status defaults to `INACTIVE` upon creation."],["Key properties of a `ContentBundle` include its ID (`id`), name (`name`), status (`status`), and the last modified date and time (`lastModifiedDateTime`), with the ID assigned by Google and read-only."]]],["The `ContentBundleService` manages `ContentBundle`, groupings of individual `Content`. Key actions include `createContentBundles()` and `updateContentBundles()`. A `ContentBundle` has an `id` (read-only), `name` (required, max 255 characters), `status` (read-only, default `INACTIVE`), and `lastModifiedDateTime` (read-only). The `status` can be `ACTIVE`, `INACTIVE`, `ARCHIVED`, or `UNKNOWN`. `ContentBundle` includes `Content` matching certain filters and can include or exclude specific `Content` IDs.\n"]]