Method: gtag_config.get

שם מלא: accounts.containers.workspaces.gtag_config.get

הפונקציה מקבלת הגדרה של Google Tag.

בקשת HTTP

GET https://tagmanager.googleapis.com/tagmanager/v2/{path}

פרמטרים של נתיב

פרמטרים
path

string

הנתיב היחסי של ה-API בהגדרות של Google Tag. הוא מופיע בפורמט accounts/{account}/containers/{container}/workspaces/{workspace}/gtag_config/{gtag_config}.

גוף הבקשה

גוף הבקשה חייב להיות ריק.

גוף התשובה

אם הפעולה מצליחה, גוף התגובה מכיל מופע של GtagConfig.

היקפי הרשאה

נדרש אחד מהיקפי ההרשאות הבאים של OAuth:

  • https://www.googleapis.com/auth/tagmanager.edit.containers
  • https://www.googleapis.com/auth/tagmanager.readonly

מידע נוסף זמין בOAuth 2.0 Overview.