Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

ListPopulationTerm

import type { ListPopulationTerm } from "https://googleapis.deno.dev/v1/dfareporting:v4.ts";

Remarketing List Population Rule Term.

interface ListPopulationTerm {
contains?: boolean;
negation?: boolean;
operator?:
| "NUM_EQUALS"
| "NUM_LESS_THAN"
| "NUM_LESS_THAN_EQUAL"
| "NUM_GREATER_THAN"
| "NUM_GREATER_THAN_EQUAL"
| "STRING_EQUALS"
| "STRING_CONTAINS";
remarketingListId?: bigint;
type?: "CUSTOM_VARIABLE_TERM" | "LIST_MEMBERSHIP_TERM" | "REFERRER_TERM";
value?: string;
variableFriendlyName?: string;
variableName?: string;
}

§Properties

§
contains?: boolean
[src]

Will be true if the term should check if the user is in the list and false if the term should check if the user is not in the list. This field is only relevant when type is set to LIST_MEMBERSHIP_TERM. False by default.

§
negation?: boolean
[src]

Whether to negate the comparison result of this term during rule evaluation. This field is only relevant when type is left unset or set to CUSTOM_VARIABLE_TERM or REFERRER_TERM.

§
operator?: "NUM_EQUALS" | "NUM_LESS_THAN" | "NUM_LESS_THAN_EQUAL" | "NUM_GREATER_THAN" | "NUM_GREATER_THAN_EQUAL" | "STRING_EQUALS" | "STRING_CONTAINS"
[src]

Comparison operator of this term. This field is only relevant when type is left unset or set to CUSTOM_VARIABLE_TERM or REFERRER_TERM.

§
remarketingListId?: bigint
[src]

ID of the list in question. This field is only relevant when type is set to LIST_MEMBERSHIP_TERM.

§
type?: "CUSTOM_VARIABLE_TERM" | "LIST_MEMBERSHIP_TERM" | "REFERRER_TERM"
[src]

List population term type determines the applicable fields in this object. If left unset or set to CUSTOM_VARIABLE_TERM, then variableName, variableFriendlyName, operator, value, and negation are applicable. If set to LIST_MEMBERSHIP_TERM then remarketingListId and contains are applicable. If set to REFERRER_TERM then operator, value, and negation are applicable.

§
value?: string
[src]

Literal to compare the variable to. This field is only relevant when type is left unset or set to CUSTOM_VARIABLE_TERM or REFERRER_TERM.

§
variableFriendlyName?: string
[src]

Friendly name of this term's variable. This is a read-only, auto-generated field. This field is only relevant when type is left unset or set to CUSTOM_VARIABLE_TERM.

§
variableName?: string
[src]

Name of the variable (U1, U2, etc.) being compared in this term. This field is only relevant when type is set to null, CUSTOM_VARIABLE_TERM or REFERRER_TERM.