campaign_draft

Help me build a query Proto definition on GitHub

A campaign draft.

Attributed resources
campaign
customer

Fields from the preceding resources can be selected along with this resource in your SELECT and WHERE clauses. These fields do not segment metrics in your SELECT clause.

campaign_draft.base_campaign

Field description

Immutable. The base campaign to which the draft belongs.

CategoryATTRIBUTE
Data TypeRESOURCE_NAME
CapabilitiesSelectable: True
Filterable: True
Sortable: False
Repeated: False
Selectable with

campaign_draft.draft_campaign

Field description

Output only. Resource name of the Campaign that results from overlaying the draft changes onto the base campaign.

This field is read-only.

CategoryATTRIBUTE
Data TypeRESOURCE_NAME
CapabilitiesSelectable: True
Filterable: True
Sortable: True
Repeated: False
Selectable with

campaign_draft.draft_id

Field description

Output only. The ID of the draft.

This field is read-only.

CategoryATTRIBUTE
Data TypeINT64
CapabilitiesSelectable: True
Filterable: True
Sortable: True
Repeated: False
Selectable with

campaign_draft.has_experiment_running

Field description

Output only. Whether there is an experiment based on this draft currently serving.

CategoryATTRIBUTE
Data TypeBOOLEAN
CapabilitiesSelectable: True
Filterable: True
Sortable: True
Repeated: False
Selectable with

campaign_draft.long_running_operation

Field description

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.

CategoryATTRIBUTE
Data TypeSTRING
CapabilitiesSelectable: True
Filterable: False
Sortable: False
Repeated: False
Selectable with

campaign_draft.name

Field description

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.

CategoryATTRIBUTE
Data TypeSTRING
CapabilitiesSelectable: True
Filterable: True
Sortable: True
Repeated: False
Selectable with

campaign_draft.resource_name

Field description

Immutable. The resource name of the campaign draft. Campaign draft resource names have the form:

customers/{customer_id}/campaignDrafts/{base_campaign_id}~{draft_id}

CategoryATTRIBUTE
Data TypeRESOURCE_NAME
CapabilitiesSelectable: True
Filterable: True
Sortable: False
Repeated: False
Selectable with

campaign_draft.status

Field description

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.

CategoryATTRIBUTE
Data Type
Type URLgoogle.ads.googleads.v24.enums.CampaignDraftStatusEnum.CampaignDraftStatus
CapabilitiesSelectable: True
Filterable: True
Sortable: True
Repeated: False
Selectable with