Method: ads.patch

  • This method updates an existing ad using patch semantics and requires an HTTP PATCH request.

  • The request utilizes path parameters for profile ID and query parameters for the ad ID.

  • Both the request and response bodies utilize the Ad object, detailed in provided documentation.

  • Authorization requires the dfatrafficking scope for successful execution.

Updates an existing ad. This method supports patch semantics.

HTTP request

PATCH https://dfareporting.googleapis.com/dfareporting/v4/userprofiles/{profileId}/ads

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
profileId

string (int64 format)

User profile ID associated with this request.

Query parameters

Parameters
id

string (int64 format)

Required. RemarketingList ID.

Request body

The request body contains an instance of Ad.

Response body

If successful, the response body contains an instance of Ad.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/dfatrafficking