גודל הדף המבוקש. חייב להיות בין 1 לבין 200. אם לא צוין ערך, ברירת המחדל תהיה 100. הפונקציה מחזירה את קוד השגיאה INVALID_ARGUMENT אם צוין ערך לא חוקי.
pageToken
string
אסימון שמזהה דף תוצאות שהשרת אמור להציג. בדרך כלל, זהו הערך של nextPageToken שהוחזר מהקריאה הקודמת לשיטה channels.list. אם לא יצוין, יוצג דף התוצאות הראשון.
orderBy
string
השדה שלפיו רוצים למיין את הרשימה. הערכים הקבילים הם:
displayName (ברירת מחדל)
channelId
סדר המיון שמוגדר כברירת מחדל הוא עולה. כדי לציין סדר יורד בשדה, צריך להוסיף את הסיומת 'desc' לשם השדה. דוגמה: displayName desc
filter
string
מאפשר סינון לפי שדות של ערוצים.
תחביר נתמך:
ביטויי סינון לערוץ יכולים לכלול רק הגבלה אחת לכל היותר.
הפורמט של הגבלה הוא {field} {operator} {value}.
בכל השדות צריך להשתמש באופרטור HAS (:).
השדות הנתמכים:
displayName
דוגמאות:
כל הערוצים שהשם המוצג שלהם מכיל את המילה 'google': displayName : "google".
[[["התוכן קל להבנה","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-02-25 (שעון UTC)."],[[["Lists channels for an advertiser or partner using the `ListChannels` method."],["Requires specifying the owner (either `advertiserId` or `partnerId`) as a path parameter."],["Supports optional query parameters like `pageSize`, `pageToken`, `orderBy`, and `filter` for customizing results."],["Request body should be empty, and the response contains a `ListChannelsResponse` object upon success."],["Needs authorization with the `https://www.googleapis.com/auth/display-video` scope."]]],["This content outlines the process of listing channels for a partner or advertiser via the Display & Video 360 API. The `GET` request to the specified URL uses path parameters like `advertiserId` to identify the owner. It supports query parameters including `pageSize`, `pageToken`, `orderBy`, and `filter` for pagination, sorting, and filtering. The request body must be empty, and successful requests return a `ListChannelsResponse`. Authorization requires the `https://www.googleapis.com/auth/display-video` OAuth scope.\n"]]