Class /GOOG/CL_ADSENSEPLATFORM_V1

Class

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

Types

Type Description Visibility
TY_001 Account PUBLIC
TY_002 Address PUBLIC
TY_006 Event PUBLIC
TY_007 EventInfo PUBLIC
TY_008 ListAccountsResponse PUBLIC
TY_009 ListSitesResponse PUBLIC
TY_010 LookupAccountResponse PUBLIC
TY_012 Site PUBLIC
TY_013 TimeZone PUBLIC
TY_T_001 Account PUBLIC
TY_T_012 Site PUBLIC

Constants

Name Type Description Value Visibility
C_CLOUD_VERSION /GOOG/SDK_VERSION Lowest Cloud Version PUBLIC
C_ON_PREM_VERSION /GOOG/SDK_VERSION Lowest On-premises Version 1.7 PUBLIC
C_PATH_PREFIX STRING API Path Prefix PUBLIC
C_REVISION_DATE DATUM Discovery Document revision Date 20250306 PUBLIC
C_ROOT_URL STRING API Root URL https://adsenseplatform.googleapis.com PUBLIC
C_SERVICE_NAME /GOOG/SERVICE_NAME Google Service Name adsenseplatform:v1 PUBLIC
C_SUPPORTED_AUTH /GOOG/SUPP_AUTH Supported Auth Types IJIJWW 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

CLOSE_ACCOUNTS

  • Description: adsenseplatform.platforms.accounts.close
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_P_PLATFORMS_ID IMPORTING STRING platformsId
IV_P_ACCOUNTS_ID IMPORTING STRING accountsId
IS_INPUT IMPORTING DATA Input Data
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING DATA Output Data
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

CREATE_ACCOUNTS

  • Description: adsenseplatform.platforms.accounts.create
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_P_PLATFORMS_ID IMPORTING STRING platformsId
IS_INPUT IMPORTING TY_001 Account
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_001 Account
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

CREATE_EVENTS

  • Description: adsenseplatform.platforms.accounts.events.create
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_P_PLATFORMS_ID IMPORTING STRING platformsId
IV_P_ACCOUNTS_ID IMPORTING STRING accountsId
IS_INPUT IMPORTING TY_006 Event
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_006 Event
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

CREATE_SITES

  • Description: adsenseplatform.platforms.accounts.sites.create
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_P_PLATFORMS_ID IMPORTING STRING platformsId
IV_P_ACCOUNTS_ID IMPORTING STRING accountsId
IS_INPUT IMPORTING TY_012 Site
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_012 Site
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_SITES

  • Description: adsenseplatform.platforms.accounts.sites.delete
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_P_PLATFORMS_ID IMPORTING STRING platformsId
IV_P_ACCOUNTS_ID IMPORTING STRING accountsId
IV_P_SITES_ID IMPORTING STRING sitesId
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING DATA Output Data
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: adsenseplatform.platforms.accounts.get
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_P_PLATFORMS_ID IMPORTING STRING platformsId
IV_P_ACCOUNTS_ID IMPORTING STRING accountsId
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_001 Account
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_SITES

  • Description: adsenseplatform.platforms.accounts.sites.get
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_P_PLATFORMS_ID IMPORTING STRING platformsId
IV_P_ACCOUNTS_ID IMPORTING STRING accountsId
IV_P_SITES_ID IMPORTING STRING sitesId
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_012 Site
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: adsenseplatform.platforms.accounts.list
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_Q_PAGESIZE IMPORTING STRING pageSize
IV_Q_PAGETOKEN IMPORTING STRING pageToken
IV_P_PLATFORMS_ID IMPORTING STRING platformsId
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_008 ListAccountsResponse
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_SITES

  • Description: adsenseplatform.platforms.accounts.sites.list
  • Visibility: PUBLIC

Parameters

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

LOOKUP_ACCOUNTS

  • Description: adsenseplatform.platforms.accounts.lookup
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_Q_CREATIONREQUESTID IMPORTING STRING creationRequestId
IV_P_PLATFORMS_ID IMPORTING STRING platformsId
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING TY_010 LookupAccountResponse
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

REQUEST_REVIEW_SITES

  • Description: adsenseplatform.platforms.accounts.sites.requestReview
  • Visibility: PUBLIC

Parameters

Name Category Type Description
IV_P_PLATFORMS_ID IMPORTING STRING platformsId
IV_P_ACCOUNTS_ID IMPORTING STRING accountsId
IV_P_SITES_ID IMPORTING STRING sitesId
ES_RAW EXPORTING DATA Raw Output Data
ES_OUTPUT EXPORTING DATA Output Data
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