You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
parent: string, Required. The property for which to create an AdSense Link. Format: properties/{propertyId} Example: properties/1234 (required)
107
+
body: object, The request body.
108
+
The object takes the form of:
109
+
110
+
{ # A link between a GA4 Property and an AdSense for Content ad client.
111
+
"adClientCode": "A String", # Immutable. The AdSense ad client code that the GA4 property is linked to. Example format: "ca-pub-1234567890"
112
+
"name": "A String", # Output only. The resource name for this AdSense Link resource. Format: properties/{propertyId}/adSenseLinks/{linkId} Example: properties/1234/adSenseLinks/6789
113
+
}
114
+
115
+
x__xgafv: string, V1 error format.
116
+
Allowed values
117
+
1 - v1 error format
118
+
2 - v2 error format
119
+
120
+
Returns:
121
+
An object of the form:
122
+
123
+
{ # A link between a GA4 Property and an AdSense for Content ad client.
124
+
"adClientCode": "A String", # Immutable. The AdSense ad client code that the GA4 property is linked to. Example format: "ca-pub-1234567890"
125
+
"name": "A String", # Output only. The resource name for this AdSense Link resource. Format: properties/{propertyId}/adSenseLinks/{linkId} Example: properties/1234/adSenseLinks/6789
name: string, Required. Unique identifier for the AdSense Link to be deleted. Format: properties/{propertyId}/adSenseLinks/{linkId} Example: properties/1234/adSenseLinks/5678 (required)
135
+
x__xgafv: string, V1 error format.
136
+
Allowed values
137
+
1 - v1 error format
138
+
2 - v2 error format
139
+
140
+
Returns:
141
+
An object of the form:
142
+
143
+
{ # A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }
name: string, Required. Unique identifier for the AdSense Link requested. Format: properties/{propertyId}/adSenseLinks/{linkId} Example: properties/1234/adSenseLinks/5678 (required)
153
+
x__xgafv: string, V1 error format.
154
+
Allowed values
155
+
1 - v1 error format
156
+
2 - v2 error format
157
+
158
+
Returns:
159
+
An object of the form:
160
+
161
+
{ # A link between a GA4 Property and an AdSense for Content ad client.
162
+
"adClientCode": "A String", # Immutable. The AdSense ad client code that the GA4 property is linked to. Example format: "ca-pub-1234567890"
163
+
"name": "A String", # Output only. The resource name for this AdSense Link resource. Format: properties/{propertyId}/adSenseLinks/{linkId} Example: properties/1234/adSenseLinks/6789
parent: string, Required. Resource name of the parent property. Format: properties/{propertyId} Example: properties/1234 (required)
173
+
pageSize: integer, 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).
174
+
pageToken: string, 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.
175
+
x__xgafv: string, V1 error format.
176
+
Allowed values
177
+
1 - v1 error format
178
+
2 - v2 error format
179
+
180
+
Returns:
181
+
An object of the form:
182
+
183
+
{ # Response message for ListAdSenseLinks method.
184
+
"adsenseLinks": [ # List of AdSenseLinks.
185
+
{ # A link between a GA4 Property and an AdSense for Content ad client.
186
+
"adClientCode": "A String", # Immutable. The AdSense ad client code that the GA4 property is linked to. Example format: "ca-pub-1234567890"
187
+
"name": "A String", # Output only. The resource name for this AdSense Link resource. Format: properties/{propertyId}/adSenseLinks/{linkId} Example: properties/1234/adSenseLinks/6789
188
+
},
189
+
],
190
+
"nextPageToken": "A String", # A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
0 commit comments