Skip to main content
Version: v3

Publish ad

POST 

/ad-publishing/google/ads/:adId/publish

Publish a Google ad and push it live

Request

Version stringrequired

API Version

Available optionsv3
adId stringrequired

Ad identifier

application/json

Bodyrequired

    locationIdstringrequired

    Location identifier

application/json

The campaign moved to PUBLISHING. Returns the raw document, so the id is _id and adGroups are not populated.

Schema
    _idstringrequired

    Campaign identifier, as _id rather than id

    __vnumberrequired

    Mongoose internal version key

    namestringrequired

    Campaign name

    locationIdstringrequired

    Location identifier

    googleAdAccountIdstringrequired

    Google Ads customer id

    advertisingChannelTypestringrequired

    Advertising channel

    Available optionsSEARCHDEMAND_GEN
    publishingStatusstringrequired

    Status after the publish request, normally PUBLISHING

    Available optionsDRAFTSCHEDULEDPUBLISHEDPUBLISHINGFAILEDIN_REVIEWPAUSEDARCHIVEDWITH_ISSUESREJECTED
    sourcestringrequired

    Where the campaign was created from

    budgetobjectrequired

    Budget configuration

    networkSettingsobjectrequired

    Network placement settings

    biddingStrategyobjectrequired

    Bidding configuration. value is omitted for strategies that do not take a target.

    assetsobjectrequired

    Attached assets by kind

    audienceobjectrequired

    Campaign level targeting

    adScheduleobject[]required

    Ad scheduling windows

    metaobject

    Ancillary campaign metadata

    googleErrorstringnullable

    Publish error from Google, null when the request was accepted

    isEuPoliticalAdsbooleanrequired

    Whether the campaign is declared as EU political advertising

    createdBystringrequired

    User who created the campaign

    updatedBystringrequired

    User who last updated the campaign

    createdAtstringrequired

    Created at

    updatedAtstringrequired

    Updated at