Generate GoogleAnalyticsAdminV1alphaAdSenseLink
for Google API Client Library
#8045
Closed
4 tasks done
Labels
Module: AdSense
Google AdSense module related issues
Module: Analytics
Google Analytics module related issues
P1
Medium priority
PHP
Type: Infrastructure
Engineering infrastructure & tooling
Feature Description
We need to replicate the Google API Client library's
GoogleAnalyticsAdminV1alphaAdSenseLink
for the REST Route we'll need to get linked accounts. See: https://docs.google.com/document/d/1-JenwPTAkw0eTkmESzjTOfgphs9qpRYH0h3xk_s3a4o/edit#heading=h.mjj6lw6stv0xDo not alter or remove anything below. The following sections will be managed by moderators only.
Acceptance criteria
properties.adSenseLinks.list
AdSense API method should be callable from PHP code in a similar manner to the existing API methods.Implementation Brief
Google_GoogleAnalyticsAdminV1alphaAdSenseLink
class, and any related dependencies that are missing from our installed version of the Google API Client library.packages/apiclient-services-adsenselinks
.composer.json
file.packages/apiclient-services-subscribewithgoogle
for an example.Google\Site_Kit\Modules\Analytics_4\GoogleAnalyticsAdmin\AdSenseLinksService
This can follow the example of an existing service, sayPropertiesEnhancedMeasurementService
.Google_GoogleAnalyticsAdminV1alphaAdSenseLink
from the generatedGoogle_Service_GoogleAnalyticsAdmin
class into theAdSenseLinksService
class.Test Coverage
QA Brief
Changelog entry
The text was updated successfully, but these errors were encountered: