Destination

  • A Destination represents the Google product you are sending data to, such as a Google Ads account.

  • A Destination includes references to ProductAccount objects for login, linked, and operating accounts, and a productDestinationId for the specific object within the account.

  • A ProductAccount represents a specific account and includes the account ID and account type.

  • The product field in ProductAccount is deprecated and replaced by accountType .

  • AccountType defines the types of Google accounts, such as Google Ads, Display & Video 360, and Data Partner.

The Google product you're sending data to. For example, a Google Ads account.

JSON representation
 { 
 "reference" 
 : 
 string 
 , 
 "loginAccount" 
 : 
 { 
 object (  ProductAccount 
 
) 
 } 
 , 
 "linkedAccount" 
 : 
 { 
 object (  ProductAccount 
 
) 
 } 
 , 
 "operatingAccount" 
 : 
 { 
 object (  ProductAccount 
 
) 
 } 
 , 
 "productDestinationId" 
 : 
 string 
 } 
Fields
reference

string

Optional. ID for this Destination resource, unique within the request. Use to reference this Destination in the IngestEventsRequest and IngestAudienceMembersRequest .

productDestinationId

string

Required. The object within the product account to ingest into. For example, a Google Ads audience ID, a Display & Video 360 audience ID or a Google Ads conversion action ID.

ProductAccount

Represents a specific account.

JSON representation
 { 
 "product" 
 : 
 enum (  Product 
 
) 
 , 
 "accountId" 
 : 
 string 
 , 
 "accountType" 
 : 
 enum (  AccountType 
 
) 
 } 
Fields
product
(deprecated)

enum ( Product )

Deprecated. Use accountType instead.

accountId

string

Required. The ID of the account. For example, your Google Ads account ID.

accountType

enum ( AccountType )

Optional. The type of the account. For example, GOOGLE_ADS . Either accountType or the deprecated product is required. If both are set, the values must match.

Product

Deprecated. Use AccountType instead. Represents a specific Google product.

Enums
PRODUCT_UNSPECIFIED Unspecified product. Should never be used.
GOOGLE_ADS Google Ads.
DISPLAY_VIDEO_PARTNER Display & Video 360 partner.
DISPLAY_VIDEO_ADVERTISER Display & Video 360 advertiser.
DATA_PARTNER Data Partner.

AccountType

Represents Google account types. Used to locate accounts and destinations.

Enums
ACCOUNT_TYPE_UNSPECIFIED Unspecified product. Should never be used.
GOOGLE_ADS Google Ads.
DISPLAY_VIDEO_PARTNER Display & Video 360 partner.
DISPLAY_VIDEO_ADVERTISER Display & Video 360 advertiser.
DATA_PARTNER Data Partner.
GOOGLE_ANALYTICS_PROPERTY Google Analytics.
Design a Mobile Site
View Site in Mobile | Classic
Share by: