Skip to content
This repository was archived by the owner on Jan 24, 2026. It is now read-only.
This repository was archived by the owner on Jan 24, 2026. It is now read-only.

Use a adform instance to carry tickets  #1

@AndreasMadsen

Description

@AndreasMadsen

@kesla I love the concept, but please consider using a new Instance API.

var ticket = adform.login(userName, password, function(err) {
    if (err) throw err;

    ticket.getAdvertisers(function(err, advertisers) {
        advertisers.forEach(function(advertiser) {
            console.log('name: %s id: %s', advertiser.name, advertiser.id);
        });
    });
});

Or just adform(username, password, callback) if all the API requires a .login.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions