Method: ads.update

  • The content provides details on how to update an existing ad using a PUT HTTP request.

  • It outlines the necessary path parameters, specifically the profileId, for the request.

  • The request and response bodies both utilize an instance of the Ad resource.

  • Updating an ad requires authorization using the https://www.googleapis.com/auth/dfatrafficking OAuth scope.

Updates an existing ad.

HTTP request

PUT 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.

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