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

doubleclickSearch

import { doubleclickSearch } from "https://googleapis.deno.dev/v1/doubleclicksearch:v2.ts";

The Search Ads 360 API allows developers to automate uploading conversions and downloading reports from Search Ads 360.

class doubleclickSearch {
constructor(client?: CredentialsClient, baseUrl?: string);
async conversionGet(
advertiserId: bigint,
agencyId: bigint,
engineAccountId: bigint,
): Promise<ConversionList>;
async conversionGetByCustomerId(customerId: string, opts?: ConversionGetByCustomerIdOptions): Promise<ConversionList>;
async conversionInsert(req: ConversionList): Promise<ConversionList>;
async conversionUpdate(req: ConversionList): Promise<ConversionList>;
async conversionUpdateAvailability(req: UpdateAvailabilityRequest): Promise<UpdateAvailabilityResponse>;
async reportsGenerate(req: ReportRequest): Promise<Report>;
async reportsGet(reportId: string): Promise<Report>;
async reportsGetFile(reportFragment: number, reportId: string): Promise<void>;
async reportsGetIdMappingFile(advertiserId: bigint, agencyId: bigint): Promise<IdMappingFile>;
async reportsRequest(req: ReportRequest): Promise<Report>;
async savedColumnsList(advertiserId: bigint, agencyId: bigint): Promise<SavedColumnList>;
}

§Constructors

§
new doubleclickSearch(client?: CredentialsClient, baseUrl?: string)
[src]

§Methods

§
conversionGet(advertiserId: bigint, agencyId: bigint, engineAccountId: bigint, opts?: ConversionGetOptions): Promise<ConversionList>
[src]

Retrieves a list of conversions from a DoubleClick Search engine account.

@param advertiserId

Numeric ID of the advertiser.

@param agencyId

Numeric ID of the agency.

@param engineAccountId

Numeric ID of the engine account.

§
conversionGetByCustomerId(customerId: string, opts?: ConversionGetByCustomerIdOptions): Promise<ConversionList>
[src]

Retrieves a list of conversions from a DoubleClick Search engine account.

@param customerId

Customer ID of a client account in the new Search Ads 360 experience.

§
conversionInsert(req: ConversionList): Promise<ConversionList>
[src]

Inserts a batch of new conversions into DoubleClick Search.

§
conversionUpdate(req: ConversionList): Promise<ConversionList>
[src]

Updates a batch of conversions in DoubleClick Search.

§
conversionUpdateAvailability(req: UpdateAvailabilityRequest): Promise<UpdateAvailabilityResponse>
[src]

Updates the availabilities of a batch of floodlight activities in DoubleClick Search.

§
reportsGenerate(req: ReportRequest): Promise<Report>
[src]

Generates and returns a report immediately.

§
reportsGet(reportId: string): Promise<Report>
[src]

Polls for the status of a report request.

@param reportId

ID of the report request being polled.

§
reportsGetFile(reportFragment: number, reportId: string): Promise<void>
[src]

Downloads a report file encoded in UTF-8.

@param reportFragment

The index of the report fragment to download.

@param reportId

ID of the report.

§
reportsGetIdMappingFile(advertiserId: bigint, agencyId: bigint): Promise<IdMappingFile>
[src]

Downloads a csv file(encoded in UTF-8) that contains ID mappings between legacy SA360 and new SA360. The file includes all children entities of the given advertiser(e.g. engine accounts, campaigns, ad groups, etc.) that exist in both legacy SA360 and new SA360.

@param advertiserId

Legacy SA360 advertiser ID.

@param agencyId

Legacy SA360 agency ID.

§
reportsRequest(req: ReportRequest): Promise<Report>
[src]

Inserts a report request into the reporting system.

§
savedColumnsList(advertiserId: bigint, agencyId: bigint): Promise<SavedColumnList>
[src]

Retrieve the list of saved columns for a specified advertiser.

@param advertiserId

DS ID of the advertiser.

@param agencyId

DS ID of the agency.