Maksymalizacja skuteczności
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Skrypty Google Ads obsługują w przypadku kampanii Performance Max funkcje mutate i search, które umożliwiają tworzenie kampanii i zarządzanie nimi.
Ten przewodnik pokazuje, jak za pomocą metody mutate utworzyć kampanię Performance Max. Przedstawione w nim koncepcje można jednak wykorzystać w przypadku każdego typu kampanii obsługiwanego przez interfejs Google Ads API.
Performance Max umożliwiają dostęp do wszystkich kanałów i zasobów reklamowych Google Ads w ramach jednej ujednoliconej kampanii. Pomaga optymalizować skuteczność i pracować wydajniej, m.in. dzięki zmniejszeniu złożoności i nakładu pracy potrzebnych do zarządzania wieloma typami kampanii.
Kampanie Performance Max dynamicznie przydzielają budżety do kanałów o najwyższej skuteczności, w tym do sieci wyszukiwania, YouTube, sieci reklamowej, Gmaila, Map i kart Discover. Pomaga to uzyskiwać więcej konwersji przy najwyższym zwrocie z inwestycji (ROI) w ramach budżetu, a także eliminuje konieczność zarządzania budżetami w kilku kampaniach i ich aktualizowania.
Aby utworzyć je za pomocą skryptów Google Ads, będziesz w dużej mierze korzystać z funkcji mutate, która zapewnia bezpośredni dostęp do interfejsu Google Ads API i większości jego funkcji. Żądania są formatowane w JSON i używają tego samego formatu co punkty końcowe REST interfejsu API.
W tym przewodniku znajdziesz informacje na te tematy:
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-08-27 UTC.
[null,null,["Ostatnia aktualizacja: 2025-08-27 UTC."],[[["\u003cp\u003eGoogle Ads scripts support the \u003ccode\u003emutate\u003c/code\u003e and \u003ccode\u003esearch\u003c/code\u003e functions for Performance Max, enabling campaign creation and management.\u003c/p\u003e\n"],["\u003cp\u003ePerformance Max campaigns leverage a single unified campaign to access all Google Ads channels, optimizing performance and streamlining management.\u003c/p\u003e\n"],["\u003cp\u003eBudget allocation in Performance Max campaigns is dynamic, automatically shifting to the highest-performing channels for improved ROI.\u003c/p\u003e\n"],["\u003cp\u003eCreating Performance Max campaigns using Google Ads scripts heavily relies on the \u003ccode\u003emutate\u003c/code\u003e function, which interfaces with the Google Ads API.\u003c/p\u003e\n"],["\u003cp\u003eThis guide covers interacting with Performance Max campaigns using the classic \u003ccode\u003eAdsApp\u003c/code\u003e interface, mutate strategies, asset uploading, required and optional campaign components, and reporting.\u003c/p\u003e\n"]]],[],null,["# Performance Max\n\nGoogle Ads scripts supports [mutate](/google-ads/scripts/docs/features/mutate) and\n[search](/google-ads/scripts/docs/features/reports) for Performance Max, which\nallows for campaign creation and management workflows.\n\nThis guide shows how to use mutate to create a [Performance Max campaign](/google-ads/api/performance-max),\nbut the concepts presented can be used for any campaign type supported by the\n[Google Ads API](/google-ads/api/docs/start).\n\n[Performance Max](//support.google.com/google-ads/answer/10724896) lets\nyou access all Google Ads channels and inventory from a single unified\ncampaign. It helps you optimize performance and work more efficiently, in part\nby reducing the complexity and overhead needed to manage multiple campaign\ntypes.\n\nPerformance Max campaigns allocate budgets dynamically to the\nhighest-performing channels, including Search, YouTube, Display, Discover,\nGmail, and Maps. This helps you get more conversions at the strongest return on\ninvestment (ROI) from your budget, and also eliminates the need for you to\nmanage and update budgets across several campaigns.\n\nTo create these using Google Ads scripts, you'll heavily rely on\n[mutate](/google-ads/scripts/docs/features/mutate), which allows access to the\nGoogle Ads API and most of its features directly. Requests are formatted in JSON and\nuse the same format as the API's [REST endpoints](/google-ads/api/rest/overview).\n\nThis guide covers the following topics:\n\n- Interacting with Performance Max campaigns using the [classic `AdsApp` interface](/google-ads/scripts/docs/features/performance-max/using-ads-app).\n- [Strategies when using mutates](/google-ads/scripts/docs/features/performance-max/mutate-strategy)\n- [Uploading assets](/google-ads/scripts/docs/features/performance-max/assets) to be used when creating the campaigns\n- [Required components](/google-ads/scripts/docs/features/performance-max/required-components) for Performance Max campaigns\n- [Optional components](/google-ads/scripts/docs/features/performance-max/optional-components) for Performance Max campaigns\n- [Reporting](/google-ads/scripts/docs/features/performance-max/reporting) on your Performance Max campaigns"]]