v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-13177414729.5 KB
advertisers

Updates an ad group ad. This method is only supported for Demand Gen ads.

patch/v4/advertisers/{+advertiserId}/adGroupAds/{+adGroupAdId}

Path parameters

advertiserIdstring required

Output only. The unique ID of the advertiser the ad belongs to.

adGroupAdIdstring required

Output only. The unique ID of the ad. Assigned by the system.

Query parameters

updateMaskstring

Required. The mask to control which fields to update.

Request body

adGroupIdstring int64

Required. Immutable. The unique ID of the ad group that the ad belongs to.

adGroupAdIdstring int64

Output only. The unique ID of the ad. Assigned by the system.

advertiserIdstring int64

Output only. The unique ID of the advertiser the ad belongs to.

displayNamestring

Required. The display name of the ad. Must be UTF-8 encoded with a maximum size of 255 bytes.

namestring

Output only. The resource name of the ad.

entityStatus'ENTITY_STATUS_UNSPECIFIED' | 'ENTITY_STATUS_ACTIVE' | 'ENTITY_STATUS_ARCHIVED' | 'ENTITY_STATUS_DRAFT' | 'ENTITY_STATUS_PAUSED' | 'ENTITY_STATUS_SCHEDULED_FOR_DELETION'

Required. The entity status of the ad.

Response

Successful response