Method: ads.update

  • Updates an existing advertisement using a PUT request to the specified endpoint.

  • Requires a profile ID to be passed as a path parameter.

  • Uses an Ad object in the request body to define the advertisement details.

  • Returns the updated Ad object in the response body if successful.

  • Needs dfatrafficking authorization scope for access.

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