Ads and Commerce
Ads and Commerce
Resources

Ad Adlabels

Updated: May 18, 2019

Reading

You can’t perform this operation on this endpoint.

Creating

You can't perform this operation on this endpoint.

Updating

/{ad_id}/adlabels

You can update an AdLabel by making a POST request to /{ad_id}/adlabels.

Parameters

Parameter Description
adlabels
list<Object>
Specification of adlabels to be associated with the ad
required
execution_options
list<enum{validate_only}>

Default value: Set
An execution setting
validate_only: when this option is specified, the API call will not perform the mutation but will run through the validation rules against values of each field.
If the call passes validation or review, response will be {"success": true}. If the call does not pass, an error will be returned with more details. These options can be used to improve any UI to display errors to the user much sooner, e.g. as soon as a new value is typed into any field corresponding to this ad object, rather than at the upload/save stage, or after review.

Return Type

This endpoint supports read-after-write and will read the node to which you POSTed.
Struct  {
success: bool,
}

Error Codes

Error Code Description
100
Invalid parameter

Deleting

Did you find this page helpful?
Thumbs up icon
Thumbs down icon