Class /GOOG/CL_ADMOB_V1

Class

/GOOG/CL_ADMOB_V1
  • Inheriting from:/GOOG/CL_HTTP_CLIENT
  • Description:AdMob API v1
For general information about a class in ABAP SDK for Google Cloud, see API client stub.

Types

Type Description Visibility
TY_001 AdUnit PUBLIC
TY_002 App PUBLIC
TY_003 AppLinkedAppInfo PUBLIC
TY_004 AppManualAppInfo PUBLIC
TY_005 Date PUBLIC
TY_006 DateRange PUBLIC
TY_007 GenerateMediationReportRequest PUBLIC
TY_008 GenerateMediationReportResponse PUBLIC
TY_009 GenerateNetworkReportRequest PUBLIC
TY_010 GenerateNetworkReportResponse PUBLIC
TY_011 ListAdUnitsResponse PUBLIC
TY_012 ListAppsResponse PUBLIC
TY_013 ListPublisherAccountsResponse PUBLIC
TY_014 LocalizationSettings PUBLIC
TY_015 MediationReportSpec PUBLIC
TY_016 MediationReportSpecDimensionFilter PUBLIC
TY_017 MediationReportSpecSortCondition PUBLIC
TY_018 NetworkReportSpec PUBLIC
TY_019 NetworkReportSpecDimensionFilter PUBLIC
TY_020 NetworkReportSpecSortCondition PUBLIC
TY_021 PublisherAccount PUBLIC
TY_022 ReportFooter PUBLIC
TY_023 ReportHeader PUBLIC
TY_024 ReportRow PUBLIC
TY_025 ReportRowDimensionValue PUBLIC
TY_026 ReportRowMetricValue PUBLIC
TY_027 ReportWarning PUBLIC
TY_028 StringList PUBLIC
TY_T_001 AdUnit PUBLIC
TY_T_002 App PUBLIC
TY_T_016 MediationReportSpecDimensionFilter PUBLIC
TY_T_017 MediationReportSpecSortCondition PUBLIC
TY_T_019 NetworkReportSpecDimensionFilter PUBLIC
TY_T_020 NetworkReportSpecSortCondition PUBLIC
TY_T_021 PublisherAccount PUBLIC
TY_T_027 ReportWarning PUBLIC
TY_T_STRING Table of Strings PUBLIC

Constants

Name Type Description Value Visibility
C_CLOUD_VERSION /GOOG/SDK_VERSION Lowest Cloud Version PUBLIC
C_SUPPORTED_AUTH /GOOG/SUPP_AUTH Supported Auth Types IJIJWW PUBLIC
C_SERVICE_NAME /GOOG/SERVICE_NAME Google Service Name admob:v1 PUBLIC
C_ROOT_URL STRING API Root URL https://admob.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.7 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

GENERATE_MEDIATION_REPORT

  • Description: admob.accounts.mediationReport.generate
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_P_ACCOUNTS_ID IMPORTING STRING accountsId
IS_INPUT IMPORTING TY_007 GenerateMediationReportRequest
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_008 GenerateMediationReportResponse
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

GENERATE_NETWORK_REPORT

  • Description: admob.accounts.networkReport.generate
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_P_ACCOUNTS_ID IMPORTING STRING accountsId
IS_INPUT IMPORTING TY_009 GenerateNetworkReportRequest
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_010 GenerateNetworkReportResponse
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

GET_ACCOUNTS

  • Description: admob.accounts.get
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_P_ACCOUNTS_ID IMPORTING STRING accountsId
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_021 PublisherAccount
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_ACCOUNTS

  • Description: admob.accounts.list
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_Q_PAGESIZE IMPORTING STRING pageSize
IV_Q_PAGETOKEN IMPORTING STRING pageToken
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_013 ListPublisherAccountsResponse
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_AD_UNITS

  • Description: admob.accounts.adUnits.list
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_Q_PAGESIZE IMPORTING STRING pageSize
IV_Q_PAGETOKEN IMPORTING STRING pageToken
IV_P_ACCOUNTS_ID IMPORTING STRING accountsId
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_011 ListAdUnitsResponse
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_APPS

  • Description: admob.accounts.apps.list
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_Q_PAGESIZE IMPORTING STRING pageSize
IV_Q_PAGETOKEN IMPORTING STRING pageToken
IV_P_ACCOUNTS_ID IMPORTING STRING accountsId
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_012 ListAppsResponse
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