Page Summary
-
A GoogleAdsLink represents a connection between a Google Analytics property and a Google Ads account.
-
The resource includes fields such as
name,customerId,canManageClients, andadsPersonalizationEnabled. -
Methods available for this resource include creating, deleting, listing, and patching GoogleAdsLinks.
Resource: GoogleAdsLink
A link between a Google Analytics property and a Google Ads account.
| JSON representation |
|---|
{ "name" : string , "customerId" : string , "canManageClients" : boolean , "adsPersonalizationEnabled" : boolean , "createTime" : string , "updateTime" : string , "creatorEmailAddress" : string } |
| Fields | |
|---|---|
name
|
Output only. Format: properties/{propertyId}/googleAdsLinks/{googleAdsLinkId} Note: googleAdsLinkId is not the Google Ads customer ID. |
customerId
|
Immutable. Google Ads customer ID. |
canManageClients
|
Output only. If true, this link is for a Google Ads manager account. |
adsPersonalizationEnabled
|
Enable personalized advertising features with this integration. Automatically publish my Google Analytics audience lists and Google Analytics remarketing events/parameters to the linked Google Ads account. If this field is not set on create/update, it will be defaulted to true. |
createTime
|
Output only. Time when this link was originally created. Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
updateTime
|
Output only. Time when this link was last updated. Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
creatorEmailAddress
|
Output only. Email address of the user that created the link. An empty string will be returned if the email address can't be retrieved. |
Methods |
|
|---|---|
|
Creates a GoogleAdsLink. |
|
Deletes a GoogleAdsLink on a property |
|
Lists GoogleAdsLinks on a property. |
|
Updates a GoogleAdsLink on a property |

