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.
Output only. Time when this link was last updated.
↳ creator_email_address
string
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.
getName
Output only. Format:
properties/{propertyId}/googleAdsLinks/{googleAdsLinkId}
Note: googleAdsLinkId is not the Google Ads customer ID.
Returns
Type
Description
string
setName
Output only. Format:
properties/{propertyId}/googleAdsLinks/{googleAdsLinkId}
Note: googleAdsLinkId is not the Google Ads customer ID.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getCustomerId
Immutable. Google Ads customer ID.
Returns
Type
Description
string
setCustomerId
Immutable. Google Ads customer ID.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getCanManageClients
Output only. If true, this link is for a Google Ads manager account.
Returns
Type
Description
bool
setCanManageClients
Output only. If true, this link is for a Google Ads manager account.
Parameter
Name
Description
var
bool
Returns
Type
Description
$this
getAdsPersonalizationEnabled
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.
Returns the unboxed value fromgetAdsPersonalizationEnabled()
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.
Returns
Type
Description
bool|null
setAdsPersonalizationEnabled
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.
Sets the field by wrapping a primitive type in a Google\Protobuf\BoolValue object.
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.
Parameter
Name
Description
var
bool|null
Returns
Type
Description
$this
getCreateTime
Output only. Time when this link was originally created.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Analytics Admin V1alpha Client - Class GoogleAdsLink (0.29.1)\n\nVersion latestkeyboard_arrow_down\n\n- [0.29.1 (latest)](/php/docs/reference/analytics-admin/latest/V1alpha.GoogleAdsLink)\n- [0.29.0](/php/docs/reference/analytics-admin/0.29.0/V1alpha.GoogleAdsLink)\n- [0.28.1](/php/docs/reference/analytics-admin/0.28.1/V1alpha.GoogleAdsLink)\n- [0.27.0](/php/docs/reference/analytics-admin/0.27.0/V1alpha.GoogleAdsLink)\n- [0.26.0](/php/docs/reference/analytics-admin/0.26.0/V1alpha.GoogleAdsLink)\n- [0.25.2](/php/docs/reference/analytics-admin/0.25.2/V1alpha.GoogleAdsLink)\n- [0.24.2](/php/docs/reference/analytics-admin/0.24.2/V1alpha.GoogleAdsLink)\n- [0.23.0](/php/docs/reference/analytics-admin/0.23.0/V1alpha.GoogleAdsLink)\n- [0.22.5](/php/docs/reference/analytics-admin/0.22.5/V1alpha.GoogleAdsLink)\n- [0.20.0](/php/docs/reference/analytics-admin/0.20.0/V1alpha.GoogleAdsLink)\n- [0.19.0](/php/docs/reference/analytics-admin/0.19.0/V1alpha.GoogleAdsLink)\n- [0.18.1](/php/docs/reference/analytics-admin/0.18.1/V1alpha.GoogleAdsLink)\n- [0.17.0](/php/docs/reference/analytics-admin/0.17.0/V1alpha.GoogleAdsLink)\n- [0.16.0](/php/docs/reference/analytics-admin/0.16.0/V1alpha.GoogleAdsLink)\n- [0.15.1](/php/docs/reference/analytics-admin/0.15.1/V1alpha.GoogleAdsLink)\n- [0.14.0](/php/docs/reference/analytics-admin/0.14.0/V1alpha.GoogleAdsLink)\n- [0.13.0](/php/docs/reference/analytics-admin/0.13.0/V1alpha.GoogleAdsLink)\n- [0.12.0](/php/docs/reference/analytics-admin/0.12.0/V1alpha.GoogleAdsLink)\n- [0.11.1](/php/docs/reference/analytics-admin/0.11.1/V1alpha.GoogleAdsLink)\n- [0.10.0](/php/docs/reference/analytics-admin/0.10.0/V1alpha.GoogleAdsLink)\n- [0.9.0](/php/docs/reference/analytics-admin/0.9.0/V1alpha.GoogleAdsLink)\n- [0.8.2](/php/docs/reference/analytics-admin/0.8.2/V1alpha.GoogleAdsLink) \n| **Beta**\n|\n|\n| This library is covered by the [Pre-GA Offerings Terms](/terms/service-terms#1)\n| of the Terms of Service. Pre-GA libraries might have limited support,\n| and changes to pre-GA libraries might not be compatible with other pre-GA versions.\n| For more information, see the\n[launch stage descriptions](/products#product-launch-stages). \nReference documentation and code samples for the Google Analytics Admin V1alpha Client class GoogleAdsLink.\n\nA link between a Google Analytics property and a Google Ads account.\n\nGenerated from protobuf message `google.analytics.admin.v1alpha.GoogleAdsLink`\n\nNamespace\n---------\n\nGoogle \\\\ Analytics \\\\ Admin \\\\ V1alpha\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getName\n\nOutput only. Format:\nproperties/{propertyId}/googleAdsLinks/{googleAdsLinkId}\nNote: googleAdsLinkId is not the Google Ads customer ID.\n\n### setName\n\nOutput only. Format:\nproperties/{propertyId}/googleAdsLinks/{googleAdsLinkId}\nNote: googleAdsLinkId is not the Google Ads customer ID.\n\n### getCustomerId\n\nImmutable. Google Ads customer ID.\n\n### setCustomerId\n\nImmutable. Google Ads customer ID.\n\n### getCanManageClients\n\nOutput only. If true, this link is for a Google Ads manager account.\n\n### setCanManageClients\n\nOutput only. If true, this link is for a Google Ads manager account.\n\n### getAdsPersonalizationEnabled\n\nEnable personalized advertising features with this integration.\n\nAutomatically publish my Google Analytics audience lists and Google\nAnalytics remarketing events/parameters to the linked Google Ads account.\nIf this field is not set on create/update, it will be defaulted to true.\n\n### hasAdsPersonalizationEnabled\n\n### clearAdsPersonalizationEnabled\n\n### getAdsPersonalizationEnabledUnwrapped\n\nReturns the unboxed value from `getAdsPersonalizationEnabled()`\n\nEnable personalized advertising features with this integration.\nAutomatically publish my Google Analytics audience lists and Google\nAnalytics remarketing events/parameters to the linked Google Ads account.\nIf this field is not set on create/update, it will be defaulted to true.\n\n### setAdsPersonalizationEnabled\n\nEnable personalized advertising features with this integration.\n\nAutomatically publish my Google Analytics audience lists and Google\nAnalytics remarketing events/parameters to the linked Google Ads account.\nIf this field is not set on create/update, it will be defaulted to true.\n\n### setAdsPersonalizationEnabledUnwrapped\n\nSets the field by wrapping a primitive type in a Google\\\\Protobuf\\\\BoolValue object.\n\nEnable personalized advertising features with this integration.\nAutomatically publish my Google Analytics audience lists and Google\nAnalytics remarketing events/parameters to the linked Google Ads account.\nIf this field is not set on create/update, it will be defaulted to true.\n\n### getCreateTime\n\nOutput only. Time when this link was originally created.\n\n### hasCreateTime\n\n### clearCreateTime\n\n### setCreateTime\n\nOutput only. Time when this link was originally created.\n\n### getUpdateTime\n\nOutput only. Time when this link was last updated.\n\n### hasUpdateTime\n\n### clearUpdateTime\n\n### setUpdateTime\n\nOutput only. Time when this link was last updated.\n\n### getCreatorEmailAddress\n\nOutput only. Email address of the user that created the link.\n\nAn empty string will be returned if the email address can't be retrieved.\n\n### setCreatorEmailAddress\n\nOutput only. Email address of the user that created the link.\n\nAn empty string will be returned if the email address can't be retrieved."]]