AdCreate
The request body for creating a new Ad object.
Declaration
object AdCreateProperties
| Name | Type | Description |
|---|---|---|
adGroupId Required | int64 | The ad group this ad belongs to. Must be a valid ad group ID within the same account. |
creativeId Required | int64 | The identifier of the ad creative to link to this ad. The ad creative must have a |
name Required | string | Advertiser-given name for this ad. Must be at least 1 character long. |
status Required | AdCreate.Status | Advertiser-configurable status. Set to |
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"
}