- Resource: AccountLink
- AccountLinkStatus
- LinkedAccountType
- ThirdPartyAppAnalyticsLinkIdentifier
- DataPartnerLinkIdentifier
- GoogleAdsLinkIdentifier
- Methods
Resource: AccountLink
Represents the data sharing connection between a Google Ads account and another account
JSON representation | |
---|---|
{ "resourceName": string, "status": enum ( |
Fields | ||
---|---|---|
resourceName |
Immutable. Resource name of the account link. AccountLink resource names have the form: |
|
status |
The status of the link. |
|
type |
Output only. The type of the linked account. |
|
accountLinkId |
Output only. The ID of the link. This field is read only. |
|
Union field linked_account . An account linked to this Google Ads account. linked_account can be only one of the following: |
||
thirdPartyAppAnalytics |
Immutable. A third party app analytics link. |
|
dataPartner |
Output only. Data partner link. |
|
googleAds |
Output only. Google Ads link. |
AccountLinkStatus
Describes the possible statuses for a link between a Google Ads customer and another account.
Enums | |
---|---|
UNSPECIFIED |
Not specified. |
UNKNOWN |
Used for return value only. Represents value unknown in this version. |
ENABLED |
The link is enabled. |
REMOVED |
The link is removed/disabled. |
REQUESTED |
The link to the other account has been requested. A user on the other account may now approve the link by setting the status to ENABLED. |
PENDING_APPROVAL |
This link has been requested by a user on the other account. It may be approved by a user on this account by setting the status to ENABLED. |
REJECTED |
The link is rejected by the approver. |
REVOKED |
The link is revoked by the user who requested the link. |
LinkedAccountType
Describes the possible link types between a Google Ads customer and another account.
Enums | |
---|---|
UNSPECIFIED |
Not specified. |
UNKNOWN |
Used for return value only. Represents value unknown in this version. |
THIRD_PARTY_APP_ANALYTICS |
A link to provide third party app analytics data. |
DATA_PARTNER |
A link to Data partner. |
GOOGLE_ADS |
A link to Google Ads. |
ThirdPartyAppAnalyticsLinkIdentifier
The identifiers of a Third Party App Analytics Link.
JSON representation | |
---|---|
{
"appVendor": enum ( |
Fields | |
---|---|
appVendor |
Immutable. The vendor of the app. This field should not be empty when creating a new third party app analytics link. It is unable to be modified after the creation of the link. |
appAnalyticsProviderId |
Immutable. The ID of the app analytics provider. This field should not be empty when creating a new third party app analytics link. It is unable to be modified after the creation of the link. |
appId |
Immutable. A string that uniquely identifies a mobile application from which the data was collected to the Google Ads API. For iOS, the ID string is the 9 digit string that appears at the end of an App Store URL (e.g., "422689480" for "Gmail" whose App Store link is https://apps.apple.com/us/app/gmail-email-by-google/id422689480). For Android, the ID string is the application's package name (e.g., "com.google.android.gm" for "Gmail" given Google Play link https://play.google.com/store/apps/details?id=com.google.android.gm) This field should not be empty when creating a new third party app analytics link. It is unable to be modified after the creation of the link. |
DataPartnerLinkIdentifier
The identifier for Data Partner account.
JSON representation | |
---|---|
{ "dataPartnerId": string } |
Fields | |
---|---|
dataPartnerId |
Immutable. The customer ID of the Data partner account. This field is required and should not be empty when creating a new data partner link. It is unable to be modified after the creation of the link. |
GoogleAdsLinkIdentifier
The identifier for Google Ads account.
JSON representation | |
---|---|
{ "customer": string } |
Fields | |
---|---|
customer |
Immutable. The resource name of the Google Ads account. This field is required and should not be empty when creating a new Google Ads link. It is unable to be modified after the creation of the link. |
Methods |
|
---|---|
|
Creates an account link. |
|
Returns the account link in full detail. |
|
Creates or removes an account link. |