Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Nếu cần thao tác trên nhiều loại thực thể cùng một lúc hoặc muốn ghi vào một điểm cuối thay vì sử dụng một điểm cuối riêng cho mỗi loại tài nguyên, thì bạn có thể sử dụng điểm cuối GoogleAdsService.Mutate cho tất cả các thao tác thay đổi được hỗ trợ.
mutate_operation1=client.operation(:Mutate)mutate_operation2=client.operation(:Mutate)campaign_operation=client.operation(:Campaign)ad_group_operation=client.operation(:AdGroup)# Do some setup here to get campaign_operation and ad_group_operation into the# state you would want them for a regular mutate call to their respective# services.mutate_operation1.campaign_operation=campaign_operationmutate_operation2.ad_group_operation=ad_group_operationgoogle_ads_service.mutate(customer_id,[mutate_operation1,mutate_operation2])
Giống như các dịch vụ khác, điểm cuối này hỗ trợ một phần lỗi và chỉ xác thực.
[[["Dễ hiểu","easyToUnderstand","thumb-up"],["Giúp tôi giải quyết được vấn đề","solvedMyProblem","thumb-up"],["Khác","otherUp","thumb-up"]],[["Thiếu thông tin tôi cần","missingTheInformationINeed","thumb-down"],["Quá phức tạp/quá nhiều bước","tooComplicatedTooManySteps","thumb-down"],["Đã lỗi thời","outOfDate","thumb-down"],["Vấn đề về bản dịch","translationIssue","thumb-down"],["Vấn đề về mẫu/mã","samplesCodeIssue","thumb-down"],["Khác","otherDown","thumb-down"]],["Cập nhật lần gần đây nhất: 2025-03-29 UTC."],[[["Use the `GoogleAdsService.Mutate` endpoint to operate on different entity types or prefer a single endpoint."],["The `MutateGoogleAdsRequest` accepts multiple `MutateOperation` entities, each handling a single operation for one resource type."],["Construct separate `MutateOperation` objects for each desired operation, like creating a campaign and an ad group, and pass them to `GoogleAdsService`."],["This endpoint supports partial failure handling and validate-only requests, similar to other Google Ads API services."]]],[]]