Page Summary
-
TvCampaignDetailcontains data from a TV campaign for specific start dates and date windows. -
TvCampaignTimepointis a single data point withinTvCampaignDetailproviding information for a specific start date and date window. -
The
TvCampaignDetailresource has fields for ID, timepoints, and resource kind. -
The
TvCampaignTimepointresource includes fields for start date, date window, and spend. -
The
getmethod is used to retrieve a specificTvCampaignDetailby its ID.
Resource: TvCampaignDetail
TvCampaignDetail contains data from a TV campaign for specific start dates and date windows.
| JSON representation |
|---|
{
"id": string,
"timepoints": [
{
object ( |
| Fields | |
|---|---|
id |
ID of this TV campaign. |
timepoints[] |
The timepoints of the TV campaign. |
kind |
Identifies what kind of resource this is. Value: the fixed string
. |
TvCampaignTimepoint
A single data point for TvCampaignDetail, which holds information about the TV campaign for a specific start date and date window.
| JSON representation |
|---|
{
"startDate": string,
"dateWindow": enum ( |
| Fields | |
|---|---|
startDate |
The start date of the timepoint. A string in the format of "yyyy-MM-dd". |
dateWindow |
The date window of the timepoint. |
spend |
The spend within the time range of the timepoint. |
TvCampaignDateWindow
Enumeration of date windows for TV campaigns.
| Enums | |
|---|---|
WEEKS_UNSPECIFIED |
Default value, should never be set. |
DAYS_ONE |
One Day. |
WEEKS_ONE |
One week. |
WEEKS_FOUR |
Four weeks. |
WEEKS_EIGHT |
Eight weeks. |
WEEKS_TWELVE |
Twelve weeks. |
Methods |
|
|---|---|
|
Gets one TvCampaignDetail by ID. |