CampaignDuration
Stay organized with collections
Save and categorize content based on your preferences.
The duration of a planned campaign.
Fields |
date_range
|
DateRange
Date range of the campaign. Dates are in the yyyy-mm-dd format and inclusive. The end date must be < 1 year in the future and the date range must be <= 92 days long. This field cannot be combined with the duration_in_days field.
|
duration_in_days
|
int32
The duration value in days. This field cannot be combined with the date_range field.
|
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-10-12 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-12 UTC."],[[["Campaign duration can be specified using either a specific date range or a total number of days."],["When using a date range, the start and end dates must be in yyyy-mm-dd format, inclusive, with the end date less than one year in the future and the total range no more than 92 days."],["The `duration_in_days` field provides an alternative way to define campaign length using a numerical value representing the total number of days."],["It's important to note that `date_range` and `duration_in_days` are mutually exclusive and cannot be used together."]]],[]]