Skip to main content
Version: SDK 5.0.x

Interface Attribution.Campaign

A representation of the campaign the user was attributed to.

public static interface Attribution.Campaign
extends Attribution.IdString

All Superinterfaces

Attribution.IdString

Enclosing interface

Attribution

Methods

getType

@NonNull
String getType()

Get the type of the campaign. Can be "acquisition" or "retargeting".

Returns

The type of the campaign.

isOrganic

boolean isOrganic()

Check if the campaign is an organic "campaign" (i.e., the user directly installed from the Play Store without seeing any ads).

Returns

Whether the campaign is a campaign for organic users.