RemarketingAction

  • A remarketing action is a JavaScript code snippet used on a website to collect product IDs and page types visited by users.

  • It is identified by a resource name in the format customers/{customer_id}/remarketingActions/{remarketing_action_id}.

  • Remarketing actions use tag snippets for tracking.

  • They have an output-only ID and a required name.

A remarketing action. A snippet of JavaScript code that will collect the product id and the type of page people visited (product page, shopping cart page, purchase page, general site visit) on an advertiser's website.

Fields

resource_name

string

Immutable. The resource name of the remarketing action. Remarketing action resource names have the form:

customers/{customer_id}/remarketingActions/{remarketing_action_id}

tag_snippets[]

TagSnippet

Output only. The snippets used for tracking remarketing actions.

id

int64

Output only. Id of the remarketing action.

name

string

The name of the remarketing action.

This field is required and should not be empty when creating new remarketing actions.