REST Resource: accounts.projects.deliveries

Resource: Delivery

Represents a delivery of MMM data to a customer.

JSON representation
{
  "name": string,
  "deliveryId": string,
  "createTime": string,
  "startDate": {
    object (Date)
  },
  "endDate": {
    object (Date)
  },
  "fileCount": integer,
  "deliveryMetadata": [
    {
      object (DeliveryMetadata)
    }
  ],

  // Union field destination can be only one of the following:
  "s3Destination": {
    object (S3Destination)
  },
  "gcsDestination": {
    object (GcsDestination)
  },
  "sftpDestination": {
    object (SftpDestination)
  }
  // End of list of possible types for union field destination.
}
Fields
name

string

Output only. Identifier. The unique name of this delivery resource. Format: accounts/{account}/projects/{project}/deliveries/{delivery}

deliveryId

string

Output only. The ID of this delivery. Corresponds to the {delivery} segment in the resource name. Must be a UUID.

createTime

string (Timestamp format)

Output only. The instant when the delivery was completed.

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".

startDate

object (Date)

Output only. The start date for the date range covered by the delivery. The delivered reports may not include all dates if no campaigns were active on certain days within the range.

endDate

object (Date)

Output only. The end date for the date range covered by the delivery. The delivered reports may not include all dates if no campaigns were active on certain days within the range.

fileCount

integer

Output only. How many files were included in this delivery.

deliveryMetadata[]

object (DeliveryMetadata)

Output only. The metadata about the files in this delivery.

Union field destination. The data lake destination of the files in this delivery. destination can be only one of the following:
s3Destination

object (S3Destination)

The S3 destination where the files were delivered.

gcsDestination

object (GcsDestination)

The Google Cloud Storage destination where the files were delivered.

sftpDestination

object (SftpDestination)

The SFTP destination where the files were delivered.

S3Destination

The S3 destination where the files were delivered.

JSON representation
{
  "bucket": string,
  "prefix": string
}
Fields
bucket

string

The name of the S3 bucket where the files were delivered.

prefix

string

The prefix of the files in the S3 bucket.

GcsDestination

The Google Cloud Storage destination where the files were delivered.

JSON representation
{
  "bucket": string,
  "prefix": string
}
Fields
bucket

string

The name of the Cloud Storage bucket where the files were delivered.

prefix

string

The prefix of the files in the Cloud Storage bucket.

SftpDestination

The SFTP destination where the files were delivered.

JSON representation
{
  "host": string,
  "port": string,
  "path": string
}
Fields
host

string

The name of the SFTP server where the files were delivered.

port

string (int64 format)

The port of the SFTP server.

path

string

The path of the files in the SFTP server.

DeliveryMetadata

Metadata about a delivery.

JSON representation
{
  "reportType": enum (ReportType),
  "fileCount": integer,
  "recordCount": string
}
Fields
reportType

enum (ReportType)

Report type of the data in the delivery.

fileCount

integer

Number of files in the delivery for this particular report type.

recordCount

string (int64 format)

Total number of records in the delivery for this particular report type.

Methods

get

Gets a delivery for a given project.

list

Lists deliveries for a given project.