type ContentBundle (v202408)
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/v202408
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-08-20 UTC.
[null,null,["Last updated 2024-08-20 UTC."],[[["A `ContentBundle` in Google Ad Manager allows publishers to group individual pieces of content, such as videos or articles, based on filter rules and explicit inclusions or exclusions."],["Each `ContentBundle` is assigned a unique ID, requires a name up to 255 characters, and has a status (e.g., Active, Inactive, Archived) that indicates its current state."],["The `lastModifiedDateTime` field reflects the last time the bundle itself was modified but isn't updated when new content matching the bundle's criteria is added."],["You can manage `ContentBundles` through the `ContentBundleService`, using methods like `createContentBundles()` and `updateContentBundles()` to create or modify them, respectively."]]],["The core content defines a `ContentBundle` as a group of `Content` items, managed through the `ContentBundleService`. Key actions include `createContentBundles()` and `updateContentBundles()`. Each bundle is identified by a unique ID, name, and status. Status options include `ACTIVE`, `INACTIVE`, `ARCHIVED`, and `UNKNOWN`. Bundles also contain a timestamp for `lastModifiedDateTime`. The service allows defining rules for inclusion/exclusion of `Content` within bundles. A content bundle name must be less than 255 charaters.\n"]]