Google Ads API is returning to beta status. Please read our blog post for more details.

campaign_draft

The campaign draft referenced in the query.


Attributed resources

Fields from the following resources may be selected along with this resource in your select and where clauses. These fields will not segment metrics.

campaign_draft.base_campaign

Field descriptionThe base campaign to which the draft belongs.
CategoryATTRIBUTE
Data Type RESOURCE_NAME
Type URLgoogle.protobuf.StringValue
FilterableTrue
SelectableTrue
SortableFalse
RepeatedFalse

campaign_draft.draft_campaign

Field descriptionResource name of the Campaign that results from overlaying the draft changes onto the base campaign. This field is read-only.
CategoryATTRIBUTE
Data Type RESOURCE_NAME
Type URLgoogle.protobuf.StringValue
FilterableTrue
SelectableTrue
SortableTrue
RepeatedFalse

campaign_draft.draft_id

Field descriptionThe ID of the draft. This field is read-only.
CategoryATTRIBUTE
Data Type INT64
Type URLgoogle.protobuf.Int64Value
FilterableTrue
SelectableTrue
SortableTrue
RepeatedFalse

campaign_draft.has_experiment_running

Field descriptionWhether there is an experiment based on this draft currently serving.
CategoryATTRIBUTE
Data Type BOOLEAN
Type URLgoogle.protobuf.BoolValue
FilterableTrue
SelectableTrue
SortableTrue
RepeatedFalse

campaign_draft.long_running_operation

Field descriptionThe 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.
CategoryATTRIBUTE
Data Type STRING
Type URLgoogle.protobuf.StringValue
FilterableFalse
SelectableTrue
SortableFalse
RepeatedFalse

campaign_draft.name

Field descriptionThe 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.
CategoryATTRIBUTE
Data Type STRING
Type URLgoogle.protobuf.StringValue
FilterableTrue
SelectableTrue
SortableTrue
RepeatedFalse

campaign_draft.resource_name

Field descriptionThe resource name of the campaign draft. Campaign draft resource names have the form: `customers/{customer_id}/campaignDrafts/{base_campaign_id}~{draft_id}`
CategoryATTRIBUTE
Data Type RESOURCE_NAME
Type URLN/A
FilterableTrue
SelectableTrue
SortableFalse
RepeatedFalse

campaign_draft.status

Field descriptionThe status of the campaign draft. This field is read-only. When a new campaign draft is added, the status defaults to PROPOSED.
CategoryATTRIBUTE
Data Type
Type URLgoogle.ads.googleads.v2.enums.CampaignDraftStatusEnum.CampaignDraftStatus
FilterableTrue
SelectableTrue
SortableTrue
RepeatedFalse

Skicka feedback om ...

Google Ads API Beta
Google Ads API Beta
Behöver du hjälp? Besök vår supportsida.