> [!CAUTION]
> **Caution:** This documentation is for Google Ads API **v25** . The latest active version is [**v26**](https://developers.google.com/google-ads/api/reference/rpc/latest/SmartCampaignSettingService/GeneratePMaxDraftCampaign).

<button default="" value="grpc">gRPC</button> <button value="rest">REST</button>

| ### GeneratePMaxDraftCampaign |
|---|
| `` rpc GeneratePMaxDraftCampaign(`GeneratePMaxDraftCampaignRequest`) returns (`GeneratePMaxDraftCampaignResponse`) `` Generates a Performance Max (PMax) draft campaign from an existing Smart campaign, initialized with a status of \[CampaignStatus.PAUSED\] and a creation status of \[CampaignCreationStatus.INCOMPLETE\]. Returns the draft PMax campaign ID and related entity IDs. Note: \* Images are required for the draft PMax campaign to pass validation, so system default placeholder images are added automatically. Review and update the target images after the draft PMax campaign is generated. \* Verify that the EU political advertising status (\[Campaign.contains_eu_political_advertising\]) is accurate. By default, this field is set to \[EuPoliticalAdvertisingStatus.DOES_NOT_CONTAIN_EU_POLITICAL_ADVERTISING\] to satisfy Performance Max campaign validation requirements. [Proto definition ![GitHub](https://developers.google.com/site-assets/logo-github.svg)](https://github.com/googleapis/googleapis/blob/master/google/ads/googleads/v25/services/smart_campaign_setting_service.proto) |

Authorization scopes

:   Requires the following OAuth scope:

    - `https://www.googleapis.com/auth/adwords`

    For more information, see the [OAuth 2.0 Overview](https://developers.google.com/identity/protocols/OAuth2).