Method: billingAssignments.list

  • This API call retrieves a list of billing assignments.

  • The request uses a GET method with specific path parameters for profileId and billingProfileId.

  • The request body must be empty.

  • The response body contains a list of billing assignments and a kind field.

  • The API call requires the https://www.googleapis.com/auth/dfatrafficking authorization scope.

Retrieves a list of billing assignments.

HTTP request

GET https://dfareporting.googleapis.com/dfareporting/v4/userprofiles/{profileId}/billingProfiles/{billingProfileId}/billingAssignments

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
profileId

string (int64 format)

User profile ID associated with this request.

billingProfileId

string (int64 format)

Billing profile ID of this billing assignment.

Request body

The request body must be empty.

Response body

Billing assignment billingAssignments.list Response

If successful, the response body contains data with the following structure:

JSON representation
{
  "kind": string,
  "billingAssignments": [
    {
      object (BillingAssignment)
    }
  ]
}
Fields
kind

string

Identifies what kind of resource this is. Value: the fixed string

"dfareporting#billingAssignmentsListResponse"

.

billingAssignments[]

object (BillingAssignment)

Billing assignments collection.

Authorization scopes

Requires the following OAuth scope:

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