class BillingAssignments extends Resource (View source)

The "billingAssignments" collection of methods.

Typical usage is:

 $dfareportingService = new Google\Service\Dfareporting(...);
 $billingAssignments = $dfareportingService->billingAssignments;

Methods

insert(string $profileId, string $billingProfileId, BillingAssignment $postBody, array $optParams = [])

Inserts a new billing assignment and returns the new assignment. Only one of advertiser_id or campaign_id is support per request. If the new assignment has no effect (assigning a campaign to the parent advertiser billing profile or assigning an advertiser to the account billing profile), no assignment will be returned. (billingAssignments.insert)

listBillingAssignments(string $profileId, string $billingProfileId, array $optParams = [])

Retrieves a list of billing assignments.

Details

BillingAssignment insert(string $profileId, string $billingProfileId, BillingAssignment $postBody, array $optParams = [])

Inserts a new billing assignment and returns the new assignment. Only one of advertiser_id or campaign_id is support per request. If the new assignment has no effect (assigning a campaign to the parent advertiser billing profile or assigning an advertiser to the account billing profile), no assignment will be returned. (billingAssignments.insert)

Parameters

string $profileId

User profile ID associated with this request.

string $billingProfileId

Billing profile ID of this billing assignment.

BillingAssignment $postBody
array $optParams

Optional parameters.

Return Value

BillingAssignment

Exceptions

Exception

BillingAssignmentsListResponse listBillingAssignments(string $profileId, string $billingProfileId, array $optParams = [])

Retrieves a list of billing assignments.

(billingAssignments.listBillingAssignments)

Parameters

string $profileId

User profile ID associated with this request.

string $billingProfileId

Billing profile ID of this billing assignment.

array $optParams

Optional parameters.

Return Value

BillingAssignmentsListResponse

Exceptions

Exception