Get

Returns a web property-Google Ads link to which the user has access

3 variables
17 variables

Returns a web property-Google Ads link to which the user has access

Authorization

To use this building block you will have to grant access to at least one of the following scopes:

  • Edit Google Analytics management entities
  • View your Google Analytics data

Input

This building block consumes 3 input parameters

  = Parameter name
  = Format

accountId STRING Required

ID of the account which the given web property belongs to

webPropertyId STRING Required

Web property ID to retrieve the Google Ads link for

webPropertyAdWordsLinkId STRING Required

Web property-Google Ads link ID

Output

This building block provides 17 output parameters

  = Parameter name
  = Format

adWordsAccounts[] OBJECT

JSON template for an Google Ads account

adWordsAccounts[].autoTaggingEnabled BOOLEAN

True if auto-tagging is enabled on the Google Ads account. Read-only after the insert operation

adWordsAccounts[].customerId STRING

Customer ID. This field is required when creating a Google Ads link

adWordsAccounts[].kind STRING

Resource type for Google Ads account

entity OBJECT

Web property being linked

entity.webPropertyRef OBJECT

JSON template for a web property reference

entity.webPropertyRef.accountId STRING

Account ID to which this web property belongs

entity.webPropertyRef.href STRING

Link for this web property

entity.webPropertyRef.id STRING

Web property ID of the form UA-XXXXX-YY

entity.webPropertyRef.internalWebPropertyId STRING

Internal ID for this web property

entity.webPropertyRef.kind STRING

Analytics web property reference

entity.webPropertyRef.name STRING

Name of this web property

id STRING

Entity Google Ads link ID

kind STRING

Resource type for entity Google Ads link

name STRING

Name of the link. This field is required when creating a Google Ads link

profileIds[] STRING

selfLink STRING

URL link for this Google Analytics - Google Ads link