Class /GOOG/CL_YOUTUBEANALYTICS_V2

Class

/GOOG/CL_YOUTUBEANALYTICS_V2
  • Inheriting from:/GOOG/CL_HTTP_CLIENT
  • Description:YouTube Analytics API v2
For general information about a class in ABAP SDK for Google Cloud, see API client stub.

Types

Type Description Visibility
TY_001 EmptyResponse PUBLIC
TY_002 ErrorProto PUBLIC
TY_003 Errors PUBLIC
TY_004 Group PUBLIC
TY_005 GroupContentDetails PUBLIC
TY_006 GroupItem PUBLIC
TY_007 GroupItemResource PUBLIC
TY_008 GroupSnippet PUBLIC
TY_009 ListGroupItemsResponse PUBLIC
TY_010 ListGroupsResponse PUBLIC
TY_011 QueryResponse PUBLIC
TY_012 ResultTableColumnHeader PUBLIC
TY_T_002 ErrorProto PUBLIC
TY_T_004 Group PUBLIC
TY_T_006 GroupItem PUBLIC
TY_T_012 ResultTableColumnHeader PUBLIC
TY_T_STRING Table of Strings PUBLIC

Constants

Name Type Description Value Visibility
C_SUPPORTED_AUTH /GOOG/SUPP_AUTH Supported Auth Types IJIJWW PUBLIC
C_SERVICE_NAME /GOOG/SERVICE_NAME Google Service Name youtubeAnalytics:v2 PUBLIC
C_ROOT_URL STRING API Root URL https://youtubeanalytics.googleapis.com PUBLIC
C_REVISION_DATE DATUM Discovery Document revision Date 20250305 PUBLIC
C_PATH_PREFIX STRING API Path Prefix PUBLIC
C_ON_PREM_VERSION /GOOG/SDK_VERSION Lowest On-premises Version 1.10 PUBLIC
C_CLOUD_VERSION /GOOG/SDK_VERSION Lowest Cloud Version PUBLIC

Methods

For general information about a method in ABAP SDK for Google Cloud, see API method.

CONSTRUCTOR

  • Description: Constructor
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_KEY_NAME IMPORTING /GOOG/KEYNAME Google Cloud Key Name
IV_LOG_OBJ IMPORTING BALOBJ_D Application log: Object name (Application code)
IV_LOG_SUBOBJ IMPORTING BALSUBOBJ Application Log: Subobject

Exception

Name Description
/GOOG/CX_SDK ABAP SDK for Google Cloud: Exception Class

DELETE_GROUPS

  • Description: youtubeAnalytics.groups.delete
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_Q_ID IMPORTING STRING id
IV_Q_ONBEHALFOFCONTENTOWNER IMPORTING STRING onBehalfOfContentOwner
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_001 EmptyResponse
EV_RET_CODE EXPORTING I Return Code
EV_ERR_TEXT EXPORTING STRING Error Text
ES_ERR_RESP EXPORTING /GOOG/ERR_RESP Error Response

Exception

Name Description
/GOOG/CX_SDK ABAP SDK for Google Cloud: Exception Class

DELETE_GROUP_ITEMS

  • Description: youtubeAnalytics.groupItems.delete
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_Q_ID IMPORTING STRING id
IV_Q_ONBEHALFOFCONTENTOWNER IMPORTING STRING onBehalfOfContentOwner
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_001 EmptyResponse
EV_RET_CODE EXPORTING I Return Code
EV_ERR_TEXT EXPORTING STRING Error Text
ES_ERR_RESP EXPORTING /GOOG/ERR_RESP Error Response

Exception

Name Description
/GOOG/CX_SDK ABAP SDK for Google Cloud: Exception Class

INSERT_GROUPS

  • Description: youtubeAnalytics.groups.insert
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_Q_ONBEHALFOFCONTENTOWNER IMPORTING STRING onBehalfOfContentOwner
IS_INPUT IMPORTING TY_004 Group
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_004 Group
EV_RET_CODE EXPORTING I Return Code
EV_ERR_TEXT EXPORTING STRING Error Text
ES_ERR_RESP EXPORTING /GOOG/ERR_RESP Error Response

Exception

Name Description
/GOOG/CX_SDK ABAP SDK for Google Cloud: Exception Class

INSERT_GROUP_ITEMS

  • Description: youtubeAnalytics.groupItems.insert
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_Q_ONBEHALFOFCONTENTOWNER IMPORTING STRING onBehalfOfContentOwner
IS_INPUT IMPORTING TY_006 GroupItem
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_006 GroupItem
EV_RET_CODE EXPORTING I Return Code
EV_ERR_TEXT EXPORTING STRING Error Text
ES_ERR_RESP EXPORTING /GOOG/ERR_RESP Error Response

Exception

Name Description
/GOOG/CX_SDK ABAP SDK for Google Cloud: Exception Class

LIST_GROUPS

  • Description: youtubeAnalytics.groups.list
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_Q_ID IMPORTING STRING id
IV_Q_MINE IMPORTING STRING mine
IV_Q_ONBEHALFOFCONTENTOWNER IMPORTING STRING onBehalfOfContentOwner
IV_Q_PAGETOKEN IMPORTING STRING pageToken
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_010 ListGroupsResponse
EV_RET_CODE EXPORTING I Return Code
EV_ERR_TEXT EXPORTING STRING Error Text
ES_ERR_RESP EXPORTING /GOOG/ERR_RESP Error Response

Exception

Name Description
/GOOG/CX_SDK ABAP SDK for Google Cloud: Exception Class

LIST_GROUP_ITEMS

  • Description: youtubeAnalytics.groupItems.list
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_Q_GROUPID IMPORTING STRING groupId
IV_Q_ONBEHALFOFCONTENTOWNER IMPORTING STRING onBehalfOfContentOwner
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_009 ListGroupItemsResponse
EV_RET_CODE EXPORTING I Return Code
EV_ERR_TEXT EXPORTING STRING Error Text
ES_ERR_RESP EXPORTING /GOOG/ERR_RESP Error Response

Exception

Name Description
/GOOG/CX_SDK ABAP SDK for Google Cloud: Exception Class

QUERY_REPORTS

  • Description: youtubeAnalytics.reports.query
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_Q_CURRENCY IMPORTING STRING currency
IV_Q_DIMENSIONS IMPORTING STRING dimensions
IV_Q_ENDDATE IMPORTING STRING endDate
IV_Q_FILTERS IMPORTING STRING filters
IV_Q_IDS IMPORTING STRING ids
IV_Q_INCLUDEHISTORICALCHANNELD IMPORTING STRING includeHistoricalChannelData
IV_Q_MAXRESULTS IMPORTING STRING maxResults
IV_Q_METRICS IMPORTING STRING metrics
IV_Q_SORT IMPORTING STRING sort
IV_Q_STARTDATE IMPORTING STRING startDate
IV_Q_STARTINDEX IMPORTING STRING startIndex
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_011 QueryResponse
EV_RET_CODE EXPORTING I Return Code
EV_ERR_TEXT EXPORTING STRING Error Text
ES_ERR_RESP EXPORTING /GOOG/ERR_RESP Error Response

Exception

Name Description
/GOOG/CX_SDK ABAP SDK for Google Cloud: Exception Class

UPDATE_GROUPS

  • Description: youtubeAnalytics.groups.update
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_Q_ONBEHALFOFCONTENTOWNER IMPORTING STRING onBehalfOfContentOwner
IS_INPUT IMPORTING TY_004 Group
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_004 Group
EV_RET_CODE EXPORTING I Return Code
EV_ERR_TEXT EXPORTING STRING Error Text
ES_ERR_RESP EXPORTING /GOOG/ERR_RESP Error Response

Exception

Name Description
/GOOG/CX_SDK ABAP SDK for Google Cloud: Exception Class

CLOSE

  • Description: Close Connection
  • Visibility: PUBLIC