Google Analytics Admin API (analyticsadmin:v1alpha)

2023-05-11

4 new methods

Additions

    Methods
  • analyticsadmin.properties.adSenseLinks.list

      HTTP Method: GET

      Description: Lists AdSenseLinks on a property.

      Parameter Order: parent

      Flat Path: v1alpha/properties/{propertiesId}/adSenseLinks

      Parameters:

        pageSize

          Description: The maximum number of resources to return. If unspecified, at most 50 resources will be returned. The maximum value is 200 (higher values will be coerced to the maximum).

          Type: integer

          Format: int32

          Location: query

        pageToken

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

          Type: string

          Location: query

        parent

          Required: Yes

          Description: Required. Resource name of the parent property. Format: properties/{propertyId} Example: properties/1234

          Type: string

          Pattern: ^properties/[^/]+$

          Location: path

      Path: v1alpha/{+parent}/adSenseLinks

  • analyticsadmin.properties.adSenseLinks.create

      Description: Creates an AdSenseLink.

      Parameters:

        parent

          Description: Required. The property for which to create an AdSense Link. Format: properties/{propertyId} Example: properties/1234

          Type: string

          Location: path

          Required: Yes

          Pattern: ^properties/[^/]+$

      Flat Path: v1alpha/properties/{propertiesId}/adSenseLinks

      HTTP Method: POST

      Path: v1alpha/{+parent}/adSenseLinks

      Parameter Order: parent

  • analyticsadmin.properties.adSenseLinks.get

      Parameters:

        name

          Required: Yes

          Pattern: ^properties/[^/]+/adSenseLinks/[^/]+$

          Type: string

          Location: path

          Description: Required. Unique identifier for the AdSense Link requested. Format: properties/{propertyId}/adSenseLinks/{linkId} Example: properties/1234/adSenseLinks/5678

      HTTP Method: GET

      Description: Looks up a single AdSenseLink.

      Parameter Order: name

      Path: v1alpha/{+name}

      Flat Path: v1alpha/properties/{propertiesId}/adSenseLinks/{adSenseLinksId}

  • analyticsadmin.properties.adSenseLinks.delete

      Description: Deletes an AdSenseLink.

      Parameters:

        name

          Required: Yes

          Pattern: ^properties/[^/]+/adSenseLinks/[^/]+$

          Type: string

          Location: path

          Description: Required. Unique identifier for the AdSense Link to be deleted. Format: properties/{propertyId}/adSenseLinks/{linkId} Example: properties/1234/adSenseLinks/5678

      Parameter Order: name

      Flat Path: v1alpha/properties/{propertiesId}/adSenseLinks/{adSenseLinksId}

      Path: v1alpha/{+name}

      HTTP Method: DELETE