AdSense Management API (adsense:v2)

2023-10-12

2 new methods

Additions

    Methods
  • adsense.accounts.policyIssues.get

      Path: v2/{+name}

      Flat Path: v2/accounts/{accountsId}/policyIssues/{policyIssuesId}

      HTTP Method: GET

      Parameters:

        name

          Description: Required. Name of the policy issue. Format: accounts/{account}/policyIssues/{policy_issue}

          Pattern: ^accounts/[^/]+/policyIssues/[^/]+$

          Location: path

          Required: Yes

          Type: string

      Parameter Order: name

      Scopes: https://www.googleapis.com/auth/adsense

      Description: Gets information about the selected policy issue.

  • adsense.accounts.policyIssues.list

      Path: v2/{+parent}/policyIssues

      Flat Path: v2/accounts/{accountsId}/policyIssues

      HTTP Method: GET

      Parameters:

        parent

          Description: Required. The account for which policy issues are being retrieved. Format: accounts/{account}

          Pattern: ^accounts/[^/]+$

          Location: path

          Required: Yes

          Type: string

        pageSize

          Description: The maximum number of policy issues to include in the response, used for paging. If unspecified, at most 10000 policy issues will be returned. The maximum value is 10000; values above 10000 will be coerced to 10000.

          Location: query

          Type: integer

          Format: int32

        pageToken

          Description: A page token, received from a previous `ListPolicyIssues` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListPolicyIssues` must match the call that provided the page token.

          Location: query

          Type: string

      Parameter Order: parent

      Scopes:

    • https://www.googleapis.com/auth/adsense
    • https://www.googleapis.com/auth/adsense.readonly
    • Description: Lists all the policy issues for the specified account.