aYOUne
← Marketing API

GoogleAdsAudienceSyncs

Singular: GoogleAdsAudienceSync — Base URL: https://marketing-api.ayoune.app — Access: CRUD — Machine-readable spec (JSON · YAML)

play_circle Try it now beta

Requests are proxied through the consumer-app to *.ayoune.app. Tokens stay in your browser and are forwarded per call.

Endpoints

MethodPathDescriptionRight
GET /googleadsaudiencesyncs List with filters/pagination marketing.googleadsaudiencesyncs.view
GET /googleadsaudiencesyncs/:id Single record marketing.googleadsaudiencesyncs.view
POST /googleadsaudiencesyncs Create new record marketing.googleadsaudiencesyncs.new
PUT /googleadsaudiencesyncs Update record marketing.googleadsaudiencesyncs.edit
DELETE /googleadsaudiencesyncs/:id Delete record marketing.googleadsaudiencesyncs.delete

SDK

import { aYOUne } from '@tolinax/ayoune';
const ay = new aYOUne('pat_your_token');

// List all
const list = await ay.marketing.googleAdsAudienceSyncs.find().limit(10).exec();

// Single record
const one = await ay.marketing.googleAdsAudienceSyncs.findById('OBJECT_ID').exec();

// Create
const created = await ay.marketing.googleAdsAudienceSyncs.create({ name: 'Foo' });

See also