Reminder: v201708 will be sunset on August 31, 2018.

type Package (v201805)

A Package represents a group of proposal line items which will be sold together.


Namespace
https://www.google.com/apis/ads/publisher/v201805

Field

id

xsd:long

The unique ID of the Package.

This attribute is read-only and is assigned by Google.

proposalId

xsd:long

The unique ID of the Proposal, to which the Package belongs.

This attribute is required for creation and then is read-only.

productPackageId

xsd:long

The unique ID of the ProductPackage, from which the Package is created.

This attribute is required for creation and then is read-only.

rateCardId

xsd:long

The unique ID of the RateCard, based on which the ProposalLineItem objects in the Package are priced.

This attribute is required for creation of associated ProposalLineItem objects and then is read-only.

name

xsd:string

The name of the Package which should be unique under the same Proposal.

This attribute is required and has a maximum length of 255 characters.

comments

xsd:string

Provides any additional comments that may annotate the Package.

This attribute is optional and has a maximum length of 65,535 characters.

status

PackageStatus

This field specifies the status of the Package, whether the ProposalLineItem objects belonging to the Package have been created.

This attribute is read-only.


Enumerations
IN_PROGRESS
Indicates that the proposal line items under the Package have not been created.
COMPLETED
Indicates that the proposal line items under the Package have been created.
UNKNOWN
The value returned if the actual value is not exposed by the requested API version.

startDateTime

DateTime

The date and time at which the order and line items associated with the Package are eligible to begin serving.

This attribute is read-only and is derived from the earliest ProposalLineItem.startDateTime of ProposalLineItem objects belonging to this package.

This attribute will be null, if this package has no related line items, or none of its line items have a start time.

endDateTime

DateTime

The date and time at which the order and line items associated with the Package stop being served.

This attribute is read-only and is derived from the latest ProposalLineItem.endDateTime of ProposalLineItem objects belonging to this package.

This attribute will be null, if this package has no related line items, or none of its line items have an end time.

lastModifiedDateTime

DateTime

The date and time this Package was last modified.

This attribute is read-only and is assigned by Google when a Package is updated.

发送以下问题的反馈:

此网页
Google Ad Manager API
Google Ad Manager API
需要帮助?请访问我们的支持页面