קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
אפשר לקרוא ל-Google Ads API באמצעות gRPC או REST. שני הממשקים חושפים עיצוב מוכוון-משאבים שמשותף עם ממשקי API אחרים של Google Cloud.
מומלץ להשתמש בספריות הלקוח הרשמיות של Google כשאפשר. הם מספקים קוד אידיומטי ובטוח בכל שפה נתמכת, ומטפלים בפרטים רבים ברמה נמוכה של התקשורת עם ה-API (כמו הגדרות של פסק זמן, עימוד של הגדרות ואימות). ספריות הלקוח שלנו כוללות גם מגוון רחב של דוגמאות לקודים וכלי תחזוקה שמסייעים במשימות נפוצות, כמו יצירת שמות משאבים וטיפול במסכות שדות.
במדריך הזה מוצגים פרטים ספציפיים ל-REST, ומה צריך לדעת כדי לקרוא לממשק REST ישירות, ללא שימוש בספריית לקוח שנתמכת על ידי Google. המדריך הזה יכול להיות שימושי אם אתם כותבים קוד מותאם אישית משלכם כדי להשתמש ב-REST ישירות, או משתמשים בספריית לקוח HTTP של צד שלישי.
[[["התוכן קל להבנה","easyToUnderstand","thumb-up"],["התוכן עזר לי לפתור בעיה","solvedMyProblem","thumb-up"],["סיבה אחרת","otherUp","thumb-up"]],[["חסרים לי מידע או פרטים","missingTheInformationINeed","thumb-down"],["התוכן מורכב מדי או עם יותר מדי שלבים","tooComplicatedTooManySteps","thumb-down"],["התוכן לא עדכני","outOfDate","thumb-down"],["בעיה בתרגום","translationIssue","thumb-down"],["בעיה בדוגמאות/בקוד","samplesCodeIssue","thumb-down"],["סיבה אחרת","otherDown","thumb-down"]],["עדכון אחרון: 2025-03-12 (שעון UTC)."],[[["Google Ads API can be accessed using either gRPC or REST, with gRPC being the recommended method for interacting with the API."],["Official Google client libraries, built on gRPC (except for Perl which uses REST), are strongly encouraged for ease of use and handling low-level communication details."],["This guide focuses on using the REST interface directly, primarily for users building custom solutions or using third-party HTTP client libraries."],["Client libraries provide benefits like idiomatic code, type safety, pagination handling, authentication, and access to code examples and utilities for common tasks."]]],["The Google Ads API utilizes gRPC or REST interfaces, sharing a resource-oriented design. Using Google's client libraries is highly recommended for type-safe code, handling communication details like timeouts, pagination, and authentication. The official client libraries use gRPC, except for the Perl library, which uses REST. This guide details using REST directly without client libraries, useful for custom code or third-party HTTP clients. It focuses on information outside of what the official client libraries cover.\n"]]