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

UrlRestriction

import type { UrlRestriction } from "https://googleapis.deno.dev/v1/realtimebidding:v1.ts";

Deprecated. This will be removed in October 2023. For more information, see the release notes: https://developers.google.com/authorized-buyers/apis/relnotes#real-time-bidding-api Represents the URL restriction (for the URL captured by the pixel callback) for a user list.

interface UrlRestriction {
endDate?: Date;
restrictionType?:
| "RESTRICTION_TYPE_UNSPECIFIED"
| "CONTAINS"
| "EQUALS"
| "STARTS_WITH"
| "ENDS_WITH"
| "DOES_NOT_EQUAL"
| "DOES_NOT_CONTAIN"
| "DOES_NOT_START_WITH"
| "DOES_NOT_END_WITH";
startDate?: Date;
url?: string;
}

§Properties

§
endDate?: Date
[src]

End date (if specified) of the URL restriction. End date should be later than the start date for the date range to be valid.

§
restrictionType?: "RESTRICTION_TYPE_UNSPECIFIED" | "CONTAINS" | "EQUALS" | "STARTS_WITH" | "ENDS_WITH" | "DOES_NOT_EQUAL" | "DOES_NOT_CONTAIN" | "DOES_NOT_START_WITH" | "DOES_NOT_END_WITH"
[src]

The restriction type for the specified URL.

§
startDate?: Date
[src]

Start date (if specified) of the URL restriction.

§
url?: string
[src]

Required. The URL to use for applying the restriction on the user list.