Reference documentation and code samples for the Google Analytics Admin V1alpha Client class AdSenseLink.
A link between a Google Analytics property and an AdSense for Content ad client.
Generated from protobuf message google.analytics.admin.v1alpha.AdSenseLink
Namespace
Google \ Analytics \ Admin \ V1alphaMethods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Output only. The resource name for this AdSense Link resource. Format: properties/{propertyId}/adSenseLinks/{linkId} Example: properties/1234/adSenseLinks/6789
↳ ad_client_code
string
Immutable. The AdSense ad client code that the Google Analytics property is linked to. Example format: "ca-pub-1234567890"
getName
Output only. The resource name for this AdSense Link resource.
Format: properties/{propertyId}/adSenseLinks/{linkId} Example: properties/1234/adSenseLinks/6789
string
setName
Output only. The resource name for this AdSense Link resource.
Format: properties/{propertyId}/adSenseLinks/{linkId} Example: properties/1234/adSenseLinks/6789
var
string
$this
getAdClientCode
Immutable. The AdSense ad client code that the Google Analytics property is linked to. Example format: "ca-pub-1234567890"
string
setAdClientCode
Immutable. The AdSense ad client code that the Google Analytics property is linked to. Example format: "ca-pub-1234567890"
var
string
$this