Interested in sharing your feedback about the Google Ads API?
Sign up to be invited to participate in user research!
CampaignDraft
bookmark_borderbookmark
Stay organized with collections
Save and categorize content based on your preferences.
Fields |
resource_name
|
string
Immutable. The resource name of the campaign draft. Campaign draft resource names have the form: customers/{customer_id}/campaignDrafts/{base_campaign_id}~{draft_id}
|
status
|
CampaignDraftStatus
Output only. The status of the campaign draft. This field is read-only. When a new campaign draft is added, the status defaults to PROPOSED.
|
draft_id
|
int64
Output only. The ID of the draft. This field is read-only.
|
base_campaign
|
string
Immutable. The base campaign to which the draft belongs.
|
name
|
string
The name of the campaign draft. This field is required and should not be empty when creating new campaign drafts. It must not contain any null (code point 0x0), NL line feed (code point 0xA) or carriage return (code point 0xD) characters.
|
draft_campaign
|
string
Output only. Resource name of the Campaign that results from overlaying the draft changes onto the base campaign. This field is read-only.
|
has_experiment_running
|
bool
Output only. Whether there is an experiment based on this draft currently serving.
|
long_running_operation
|
string
Output only. The resource name of the long-running operation that can be used to poll for completion of draft promotion. This is only set if the draft promotion is in progress or finished.
|
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 2025-02-25 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 2025-02-25 UTC."],[[["Campaign drafts allow advertisers to propose changes to existing base campaigns without directly impacting them."],["A draft's status indicates its stage in the workflow, starting as 'PROPOSED' and potentially progressing to other states."],["Drafts have unique identifiers (draft\\_id) and are linked to a specific base campaign for modification."],["Draft changes can be previewed by overlaying them onto the base campaign to generate a draft campaign for review."],["Experiments can be run using campaign drafts to test their performance before applying the changes permanently."]]],["Campaign drafts are defined by a resource name, status (defaulting to PROPOSED), and unique ID. Each draft links to a base campaign and can be named, excluding null, line feed, and carriage return characters. Upon completion, it generates a resulting campaign. The system tracks if an experiment is running on the draft and provides a long-running operation resource name during or after promotion. Draft information is read only, besides the name.\n"]]