Patch
|
|||||
|
|
Updates an existing remarketing audience. This method supports patch semantics
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
Input
This building block consumes 42 input parameters
Name | Format | Description |
---|---|---|
accountId Required |
STRING |
The account ID of the remarketing audience to update |
webPropertyId Required |
STRING |
The web property ID of the remarketing audience to update |
remarketingAudienceId Required |
STRING |
The ID of the remarketing audience to update |
accountId |
STRING |
Account ID to which this remarketing audience belongs |
audienceDefinition |
OBJECT |
The simple audience definition that will cause a user to be added to an audience |
audienceDefinition.includeConditions |
OBJECT |
JSON template for an Analytics Remarketing Include Conditions |
audienceDefinition.includeConditions.daysToLookBack |
INTEGER |
The look-back window lets you specify a time frame for evaluating the behavior that qualifies users for your audience. For example, if your filters include users from Central Asia, and Transactions Greater than 2, and you set the look-back window to 14 days, then any user from Central Asia whose cumulative transactions exceed 2 during the last 14 days is added to the audience |
audienceDefinition.includeConditions.isSmartList |
BOOLEAN |
Boolean indicating whether this segment is a smart list. https://support.google.com/analytics/answer/4628577 |
audienceDefinition.includeConditions.kind |
STRING |
Resource type for include conditions |
audienceDefinition.includeConditions.membershipDurationDays |
INTEGER |
Number of days (in the range 1 to 540) a user remains in the audience |
audienceDefinition.includeConditions.segment |
STRING |
The segment condition that will cause a user to be added to an audience |
audienceType |
STRING |
The type of audience, either SIMPLE or STATE_BASED |
created |
DATE_TIME |
Time this remarketing audience was created |
description |
STRING |
The description of this remarketing audience |
id |
STRING |
Remarketing Audience ID |
internalWebPropertyId |
STRING |
Internal ID for the web property to which this remarketing audience belongs |
kind |
STRING |
Collection type |
linkedAdAccounts[] |
OBJECT |
JSON template for an Analytics Remarketing Audience Foreign Link |
linkedAdAccounts[].accountId |
STRING |
Account ID to which this linked foreign account belongs |
linkedAdAccounts[].eligibleForSearch |
BOOLEAN |
Boolean indicating whether this is eligible for search |
linkedAdAccounts[].id |
STRING |
Entity ad account link ID |
linkedAdAccounts[].internalWebPropertyId |
STRING |
Internal ID for the web property to which this linked foreign account belongs |
linkedAdAccounts[].kind |
STRING |
Resource type for linked foreign account |
linkedAdAccounts[].linkedAccountId |
STRING |
The foreign account ID. For example the an Google Ads |
linkedAdAccounts[].remarketingAudienceId |
STRING |
Remarketing audience ID to which this linked foreign account belongs |
linkedAdAccounts[].status |
STRING |
The status of this foreign account link |
linkedAdAccounts[].type |
STRING |
The type of the foreign account. For example, |
linkedAdAccounts[].webPropertyId |
STRING |
Web property ID of the form UA-XXXXX-YY to which this linked foreign account belongs |
linkedViews[] |
STRING |
|
name |
STRING |
The name of this remarketing audience |
stateBasedAudienceDefinition |
OBJECT |
A state based audience definition that will cause a user to be added or removed from an audience |
stateBasedAudienceDefinition.excludeConditions |
OBJECT |
Defines the conditions to exclude users from the audience |
stateBasedAudienceDefinition.excludeConditions.exclusionDuration |
STRING |
Whether to make the exclusion TEMPORARY or PERMANENT |
stateBasedAudienceDefinition.excludeConditions.segment |
STRING |
The segment condition that will cause a user to be removed from an audience |
stateBasedAudienceDefinition.includeConditions |
OBJECT |
JSON template for an Analytics Remarketing Include Conditions |
stateBasedAudienceDefinition.includeConditions.daysToLookBack |
INTEGER |
The look-back window lets you specify a time frame for evaluating the behavior that qualifies users for your audience. For example, if your filters include users from Central Asia, and Transactions Greater than 2, and you set the look-back window to 14 days, then any user from Central Asia whose cumulative transactions exceed 2 during the last 14 days is added to the audience |
stateBasedAudienceDefinition.includeConditions.isSmartList |
BOOLEAN |
Boolean indicating whether this segment is a smart list. https://support.google.com/analytics/answer/4628577 |
stateBasedAudienceDefinition.includeConditions.kind |
STRING |
Resource type for include conditions |
stateBasedAudienceDefinition.includeConditions.membershipDurationDays |
INTEGER |
Number of days (in the range 1 to 540) a user remains in the audience |
stateBasedAudienceDefinition.includeConditions.segment |
STRING |
The segment condition that will cause a user to be added to an audience |
updated |
DATE_TIME |
Time this remarketing audience was last modified |
webPropertyId |
STRING |
Web property ID of the form UA-XXXXX-YY to which this remarketing audience belongs |
= Parameter name
= Format
accountId STRING Required The account ID of the remarketing audience to update |
webPropertyId STRING Required The web property ID of the remarketing audience to update |
remarketingAudienceId STRING Required The ID of the remarketing audience to update |
accountId STRING Account ID to which this remarketing audience belongs |
audienceDefinition OBJECT The simple audience definition that will cause a user to be added to an audience |
audienceDefinition.includeConditions OBJECT JSON template for an Analytics Remarketing Include Conditions |
audienceDefinition.includeConditions.daysToLookBack INTEGER The look-back window lets you specify a time frame for evaluating the behavior that qualifies users for your audience. For example, if your filters include users from Central Asia, and Transactions Greater than 2, and you set the look-back window to 14 days, then any user from Central Asia whose cumulative transactions exceed 2 during the last 14 days is added to the audience |
audienceDefinition.includeConditions.isSmartList BOOLEAN Boolean indicating whether this segment is a smart list. https://support.google.com/analytics/answer/4628577 |
audienceDefinition.includeConditions.kind STRING Resource type for include conditions |
audienceDefinition.includeConditions.membershipDurationDays INTEGER Number of days (in the range 1 to 540) a user remains in the audience |
audienceDefinition.includeConditions.segment STRING The segment condition that will cause a user to be added to an audience |
audienceType STRING The type of audience, either SIMPLE or STATE_BASED |
created DATE_TIME Time this remarketing audience was created |
description STRING The description of this remarketing audience |
id STRING Remarketing Audience ID |
internalWebPropertyId STRING Internal ID for the web property to which this remarketing audience belongs |
kind STRING Collection type |
linkedAdAccounts[] OBJECT JSON template for an Analytics Remarketing Audience Foreign Link |
linkedAdAccounts[].accountId STRING Account ID to which this linked foreign account belongs |
linkedAdAccounts[].eligibleForSearch BOOLEAN Boolean indicating whether this is eligible for search |
linkedAdAccounts[].id STRING Entity ad account link ID |
linkedAdAccounts[].internalWebPropertyId STRING Internal ID for the web property to which this linked foreign account belongs |
linkedAdAccounts[].kind STRING Resource type for linked foreign account |
linkedAdAccounts[].linkedAccountId STRING The foreign account ID. For example the an Google Ads |
linkedAdAccounts[].remarketingAudienceId STRING Remarketing audience ID to which this linked foreign account belongs |
linkedAdAccounts[].status STRING The status of this foreign account link |
linkedAdAccounts[].type STRING The type of the foreign account. For example, |
linkedAdAccounts[].webPropertyId STRING Web property ID of the form UA-XXXXX-YY to which this linked foreign account belongs |
linkedViews[] STRING |
name STRING The name of this remarketing audience |
stateBasedAudienceDefinition OBJECT A state based audience definition that will cause a user to be added or removed from an audience |
stateBasedAudienceDefinition.excludeConditions OBJECT Defines the conditions to exclude users from the audience |
stateBasedAudienceDefinition.excludeConditions.exclusionDuration STRING Whether to make the exclusion TEMPORARY or PERMANENT |
stateBasedAudienceDefinition.excludeConditions.segment STRING The segment condition that will cause a user to be removed from an audience |
stateBasedAudienceDefinition.includeConditions OBJECT JSON template for an Analytics Remarketing Include Conditions |
stateBasedAudienceDefinition.includeConditions.daysToLookBack INTEGER The look-back window lets you specify a time frame for evaluating the behavior that qualifies users for your audience. For example, if your filters include users from Central Asia, and Transactions Greater than 2, and you set the look-back window to 14 days, then any user from Central Asia whose cumulative transactions exceed 2 during the last 14 days is added to the audience |
stateBasedAudienceDefinition.includeConditions.isSmartList BOOLEAN Boolean indicating whether this segment is a smart list. https://support.google.com/analytics/answer/4628577 |
stateBasedAudienceDefinition.includeConditions.kind STRING Resource type for include conditions |
stateBasedAudienceDefinition.includeConditions.membershipDurationDays INTEGER Number of days (in the range 1 to 540) a user remains in the audience |
stateBasedAudienceDefinition.includeConditions.segment STRING The segment condition that will cause a user to be added to an audience |
updated DATE_TIME Time this remarketing audience was last modified |
webPropertyId STRING Web property ID of the form UA-XXXXX-YY to which this remarketing audience belongs |
Output
This building block provides 39 output parameters
Name | Format | Description |
---|---|---|
accountId |
STRING |
Account ID to which this remarketing audience belongs |
audienceDefinition |
OBJECT |
The simple audience definition that will cause a user to be added to an audience |
audienceDefinition.includeConditions |
OBJECT |
JSON template for an Analytics Remarketing Include Conditions |
audienceDefinition.includeConditions.daysToLookBack |
INTEGER |
The look-back window lets you specify a time frame for evaluating the behavior that qualifies users for your audience. For example, if your filters include users from Central Asia, and Transactions Greater than 2, and you set the look-back window to 14 days, then any user from Central Asia whose cumulative transactions exceed 2 during the last 14 days is added to the audience |
audienceDefinition.includeConditions.isSmartList |
BOOLEAN |
Boolean indicating whether this segment is a smart list. https://support.google.com/analytics/answer/4628577 |
audienceDefinition.includeConditions.kind |
STRING |
Resource type for include conditions |
audienceDefinition.includeConditions.membershipDurationDays |
INTEGER |
Number of days (in the range 1 to 540) a user remains in the audience |
audienceDefinition.includeConditions.segment |
STRING |
The segment condition that will cause a user to be added to an audience |
audienceType |
STRING |
The type of audience, either SIMPLE or STATE_BASED |
created |
DATE_TIME |
Time this remarketing audience was created |
description |
STRING |
The description of this remarketing audience |
id |
STRING |
Remarketing Audience ID |
internalWebPropertyId |
STRING |
Internal ID for the web property to which this remarketing audience belongs |
kind |
STRING |
Collection type |
linkedAdAccounts[] |
OBJECT |
JSON template for an Analytics Remarketing Audience Foreign Link |
linkedAdAccounts[].accountId |
STRING |
Account ID to which this linked foreign account belongs |
linkedAdAccounts[].eligibleForSearch |
BOOLEAN |
Boolean indicating whether this is eligible for search |
linkedAdAccounts[].id |
STRING |
Entity ad account link ID |
linkedAdAccounts[].internalWebPropertyId |
STRING |
Internal ID for the web property to which this linked foreign account belongs |
linkedAdAccounts[].kind |
STRING |
Resource type for linked foreign account |
linkedAdAccounts[].linkedAccountId |
STRING |
The foreign account ID. For example the an Google Ads |
linkedAdAccounts[].remarketingAudienceId |
STRING |
Remarketing audience ID to which this linked foreign account belongs |
linkedAdAccounts[].status |
STRING |
The status of this foreign account link |
linkedAdAccounts[].type |
STRING |
The type of the foreign account. For example, |
linkedAdAccounts[].webPropertyId |
STRING |
Web property ID of the form UA-XXXXX-YY to which this linked foreign account belongs |
linkedViews[] |
STRING |
|
name |
STRING |
The name of this remarketing audience |
stateBasedAudienceDefinition |
OBJECT |
A state based audience definition that will cause a user to be added or removed from an audience |
stateBasedAudienceDefinition.excludeConditions |
OBJECT |
Defines the conditions to exclude users from the audience |
stateBasedAudienceDefinition.excludeConditions.exclusionDuration |
STRING |
Whether to make the exclusion TEMPORARY or PERMANENT |
stateBasedAudienceDefinition.excludeConditions.segment |
STRING |
The segment condition that will cause a user to be removed from an audience |
stateBasedAudienceDefinition.includeConditions |
OBJECT |
JSON template for an Analytics Remarketing Include Conditions |
stateBasedAudienceDefinition.includeConditions.daysToLookBack |
INTEGER |
The look-back window lets you specify a time frame for evaluating the behavior that qualifies users for your audience. For example, if your filters include users from Central Asia, and Transactions Greater than 2, and you set the look-back window to 14 days, then any user from Central Asia whose cumulative transactions exceed 2 during the last 14 days is added to the audience |
stateBasedAudienceDefinition.includeConditions.isSmartList |
BOOLEAN |
Boolean indicating whether this segment is a smart list. https://support.google.com/analytics/answer/4628577 |
stateBasedAudienceDefinition.includeConditions.kind |
STRING |
Resource type for include conditions |
stateBasedAudienceDefinition.includeConditions.membershipDurationDays |
INTEGER |
Number of days (in the range 1 to 540) a user remains in the audience |
stateBasedAudienceDefinition.includeConditions.segment |
STRING |
The segment condition that will cause a user to be added to an audience |
updated |
DATE_TIME |
Time this remarketing audience was last modified |
webPropertyId |
STRING |
Web property ID of the form UA-XXXXX-YY to which this remarketing audience belongs |
= Parameter name
= Format
accountId STRING Account ID to which this remarketing audience belongs |
audienceDefinition OBJECT The simple audience definition that will cause a user to be added to an audience |
audienceDefinition.includeConditions OBJECT JSON template for an Analytics Remarketing Include Conditions |
audienceDefinition.includeConditions.daysToLookBack INTEGER The look-back window lets you specify a time frame for evaluating the behavior that qualifies users for your audience. For example, if your filters include users from Central Asia, and Transactions Greater than 2, and you set the look-back window to 14 days, then any user from Central Asia whose cumulative transactions exceed 2 during the last 14 days is added to the audience |
audienceDefinition.includeConditions.isSmartList BOOLEAN Boolean indicating whether this segment is a smart list. https://support.google.com/analytics/answer/4628577 |
audienceDefinition.includeConditions.kind STRING Resource type for include conditions |
audienceDefinition.includeConditions.membershipDurationDays INTEGER Number of days (in the range 1 to 540) a user remains in the audience |
audienceDefinition.includeConditions.segment STRING The segment condition that will cause a user to be added to an audience |
audienceType STRING The type of audience, either SIMPLE or STATE_BASED |
created DATE_TIME Time this remarketing audience was created |
description STRING The description of this remarketing audience |
id STRING Remarketing Audience ID |
internalWebPropertyId STRING Internal ID for the web property to which this remarketing audience belongs |
kind STRING Collection type |
linkedAdAccounts[] OBJECT JSON template for an Analytics Remarketing Audience Foreign Link |
linkedAdAccounts[].accountId STRING Account ID to which this linked foreign account belongs |
linkedAdAccounts[].eligibleForSearch BOOLEAN Boolean indicating whether this is eligible for search |
linkedAdAccounts[].id STRING Entity ad account link ID |
linkedAdAccounts[].internalWebPropertyId STRING Internal ID for the web property to which this linked foreign account belongs |
linkedAdAccounts[].kind STRING Resource type for linked foreign account |
linkedAdAccounts[].linkedAccountId STRING The foreign account ID. For example the an Google Ads |
linkedAdAccounts[].remarketingAudienceId STRING Remarketing audience ID to which this linked foreign account belongs |
linkedAdAccounts[].status STRING The status of this foreign account link |
linkedAdAccounts[].type STRING The type of the foreign account. For example, |
linkedAdAccounts[].webPropertyId STRING Web property ID of the form UA-XXXXX-YY to which this linked foreign account belongs |
linkedViews[] STRING |
name STRING The name of this remarketing audience |
stateBasedAudienceDefinition OBJECT A state based audience definition that will cause a user to be added or removed from an audience |
stateBasedAudienceDefinition.excludeConditions OBJECT Defines the conditions to exclude users from the audience |
stateBasedAudienceDefinition.excludeConditions.exclusionDuration STRING Whether to make the exclusion TEMPORARY or PERMANENT |
stateBasedAudienceDefinition.excludeConditions.segment STRING The segment condition that will cause a user to be removed from an audience |
stateBasedAudienceDefinition.includeConditions OBJECT JSON template for an Analytics Remarketing Include Conditions |
stateBasedAudienceDefinition.includeConditions.daysToLookBack INTEGER The look-back window lets you specify a time frame for evaluating the behavior that qualifies users for your audience. For example, if your filters include users from Central Asia, and Transactions Greater than 2, and you set the look-back window to 14 days, then any user from Central Asia whose cumulative transactions exceed 2 during the last 14 days is added to the audience |
stateBasedAudienceDefinition.includeConditions.isSmartList BOOLEAN Boolean indicating whether this segment is a smart list. https://support.google.com/analytics/answer/4628577 |
stateBasedAudienceDefinition.includeConditions.kind STRING Resource type for include conditions |
stateBasedAudienceDefinition.includeConditions.membershipDurationDays INTEGER Number of days (in the range 1 to 540) a user remains in the audience |
stateBasedAudienceDefinition.includeConditions.segment STRING The segment condition that will cause a user to be added to an audience |
updated DATE_TIME Time this remarketing audience was last modified |
webPropertyId STRING Web property ID of the form UA-XXXXX-YY to which this remarketing audience belongs |