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 affecting them."],["A campaign draft resource includes details like its status, associated base campaign, a unique draft ID, and its generated campaign if applied."],["Campaign drafts can also be used to create experiments by overlaying the draft changes onto the base campaign to test the effectiveness."],["When a draft is promoted to apply changes, it may take time with details tracked in a dedicated 'long_running_operation' field."],["Once applied, the draft will generate a new campaign which reflect the draft's changes, referenced by the 'draft_campaign' field."]]],[]]