Ví dụ về mã
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.
Tạo ví dụ về mã chiến dịch Quảng cáo ứng dụng
Vì có nhiều bước và lựa chọn liên quan đến việc tạo chiến dịch Quảng cáo ứng dụng, nên chúng tôi đã cung cấp một ví dụ về mã minh hoạ việc tạo chiến dịch Quảng cáo ứng dụng từ đầu đến cuối. Ví dụ này tập trung vào việc nhận được nhiều lượt cài đặt hơn, nhắm đến 2 khu vực địa lý và ngôn ngữ cụ thể. Loại phụ là APP_CAMPAIGN
nên AppAdInfo
được điền sẵn dòng tiêu đề và nội dung mô tả.
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2025-08-27 UTC.
[null,null,["Cập nhật lần gần đây nhất: 2025-08-27 UTC."],[[["\u003cp\u003eThis page provides a code example demonstrating the complete process of creating an app campaign within Google Ads.\u003c/p\u003e\n"],["\u003cp\u003eThe example focuses on an app install campaign, targeting specific geographic locations and languages for increased installs.\u003c/p\u003e\n"],["\u003cp\u003eIt utilizes \u003ccode\u003eAPP_CAMPAIGN\u003c/code\u003e subtype and \u003ccode\u003eAppAdInfo\u003c/code\u003e to include headlines and descriptions for the app ads.\u003c/p\u003e\n"]]],[],null,["# Code example\n\nCreate app campaign code example\n--------------------------------\n\nSince there are many steps and options involved in creating an app campaign,\nwe have provided a [code example](/google-ads/api/samples/add-app-campaign) that\nillustrates the creation of an app campaign from beginning to end. This example\nfocuses on getting more installs, targeted to two specific geographies and\nlanguages. The sub type is `APP_CAMPAIGN` so [`AppAdInfo`](/google-ads/api/reference/rpc/v21/AppAdInfo)\nis populated with headlines and descriptions."]]