Contents

AdCreate

The request body for creating a new Ad object.

Declaration

object AdCreate

Properties

NameTypeDescription
adGroupId Requiredint64

The ad group this ad belongs to. Must be a valid ad group ID within the same account.

creativeId Requiredint64

The identifier of the ad creative to link to this ad. The ad creative must have a systemStatus of VALID.

name Requiredstring

Advertiser-given name for this ad. Must be at least 1 character long.

status RequiredAdCreate.Status

Advertiser-configurable status. Set to ENABLED to allow the ad to participate in auctions, or PAUSED to create it in a suspended state. See AdStatus.

Discussion

Creating an ad links an ad creative to an ad group with POST /v1/ads (Create an Ad).

An ad can’t be enabled until its parent ad group and campaign are also enabled.

Example

{
  "adGroupId": 555666777,
  "creativeId": 666777888,
  "name": "AwayFinder Default Product Page",
  "status": "ENABLED"
}

Topics

Type Aliases

See Also