קוד לדוגמה
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
דוגמה לקוד ליצירת קמפיין לקידום אפליקציה
תהליך יצירת קמפיין לקידום אפליקציה כולל הרבה שלבים ואפשרויות, ולכן סיפקנו דוגמת קוד שממחישה את יצירת הקמפיין לקידום אפליקציה מההתחלה ועד הסוף. בדוגמה הזו
מתמקדים בהשגת יותר התקנות, עם טירגוט לשני אזורים גיאוגרפיים ושתי שפות ספציפיים. סוג המשנה הוא APP_CAMPAIGN
, ולכן AppAdInfo
מאוכלס בכותרות ובתיאורים.
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-08-27 (שעון UTC).
[null,null,["עדכון אחרון: 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."]]