An activity is a specific user action that an advertiser wants to
track, such as the completion of a purchase or a visit to a
webpage. You create and manage activities in Ad Manager. When a
user performs the action after seeing an advertiser's ad, that's a
conversion.
For example, you set up an activity in Ad Manager to track how
many users visit an advertiser's promotional website after viewing
or clicking on an ad. When a user views an ad, then visits the
page, that's one conversion.
Namespace
https://www.google.com/apis/ads/publisher/v202402
Field
id
xsd:long
The unique ID of the Activity. This value is readonly and is assigned by Google.
Tracks conversions for each visit to a webpage. This is a counter type.
DAILY_VISITS
Tracks conversions for visits to a webpage, but only counts one conversion per user per day,
even if a user visits the page multiple times. This is a counter type.
CUSTOM
Tracks conversions for visits to a webpage, but only counts one conversion per user per user
session. Session length is set by the advertiser. This is a counter type.
ITEMS_PURCHASED
Tracks conversions where the user has made a purchase, the monetary value of each purchase,
plus the number of items that were purchased and the order ID. This is a sales type.
TRANSACTIONS
Tracks conversions where the user has made a purchase, the monetary value of each purchase,
plus the order ID (but not the number of items purchased). This is a sales type.
IOS_APPLICATION_DOWNLOADS
Tracks conversions where the user has installed an iOS application. This is a counter type.
ANDROID_APPLICATION_DOWNLOADS
Tracks conversions where the user has installed an Android application. This is a counter
type.
UNKNOWN
The value returned if the actual value is not exposed by the requested API version.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-02-13 UTC."],[[["Activities in Ad Manager track specific user actions, like purchases or website visits, that advertisers want to monitor as conversions."],["Each activity has properties such as ID, name, status, type, and associated activity group, and optionally the expected URL where tracking tags are placed."],["Activity types include page views, daily visits, custom user sessions, purchases (with item or transaction details), and iOS/Android app downloads."],["When a user completes a tracked action after viewing an ad, it's counted as a conversion, providing insights into ad effectiveness."],["Activities can be created and managed within Ad Manager to align with specific advertiser goals and campaign tracking needs."]]],["The `ActivityService` manages user actions advertisers track, like purchases or webpage visits, defining them as conversions. Core functions include `createActivities()` and `updateActivities()`. An Activity has attributes like `id`, `activityGroupId`, `name`, `expectedURL`, `status` (ACTIVE or INACTIVE), and `type`. Activity types range from `PAGE_VIEWS` and `DAILY_VISITS` to `ITEMS_PURCHASED` and `ANDROID_APPLICATION_DOWNLOADS`, indicating what user action is being tracked.\n"]]