The "subaccounts" collection of methods.
More...
|
| call ($name, $arguments, $expected_class=null) |
| TODO: This function needs simplifying.
|
|
| get ($profileId, $id, $optParams=array()) |
| Gets one subaccount by ID.
|
|
| insert ($profileId, Google_Service_Dfareporting_Subaccount $postBody, $optParams=array()) |
| Inserts a new subaccount.
|
|
| listSubaccounts ($profileId, $optParams=array()) |
| Gets a list of subaccounts, possibly filtered.
|
|
| patch ($profileId, $id, Google_Service_Dfareporting_Subaccount $postBody, $optParams=array()) |
| Updates an existing subaccount.
|
|
| update ($profileId, Google_Service_Dfareporting_Subaccount $postBody, $optParams=array()) |
| Updates an existing subaccount.
|
|
|
| convertToArrayAndStripNulls ($o) |
|
The "subaccounts" collection of methods.
Typical usage is: $dfareportingService = new Google_Service_Dfareporting(...); $subaccounts = $dfareportingService->subaccounts;
◆ call()
Google_Service_Resource::call |
( |
| $name, |
|
|
| $arguments, |
|
|
| $expected_class = null ) |
|
inherited |
TODO: This function needs simplifying.
- Parameters
-
$name | |
$arguments | |
$expected_class | - optional, the expected class name |
- Return values
-
Google_Http_Request|expected_class | |
- Exceptions
-
◆ get()
Google_Service_Dfareporting_Subaccounts_Resource::get |
( |
| $profileId, |
|
|
| $id, |
|
|
| $optParams = array() ) |
Gets one subaccount by ID.
(subaccounts.get)
- Parameters
-
string | $profileId | User profile ID associated with this request. |
string | $id | Subaccount ID. |
array | $optParams | Optional parameters. |
- Return values
-
◆ insert()
Inserts a new subaccount.
(subaccounts.insert)
- Parameters
-
string | $profileId | User profile ID associated with this request. |
Google_Subaccount | $postBody | |
array | $optParams | Optional parameters. |
- Return values
-
◆ listSubaccounts()
Google_Service_Dfareporting_Subaccounts_Resource::listSubaccounts |
( |
| $profileId, |
|
|
| $optParams = array() ) |
Gets a list of subaccounts, possibly filtered.
(subaccounts.listSubaccounts)
- Parameters
-
string | $profileId | User profile ID associated with this request. |
array | $optParams | Optional parameters. |
@opt_param string searchString Allows searching for objects by name or ID. Wildcards (*) are allowed. For example, "subaccount*2015" will return objects with names like "subaccount June 2015", "subaccount April 2015", or simply "subaccount 2015". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of "subaccount" will match objects with name "my subaccount", "subaccount 2015", or simply "subaccount". @opt_param string sortField Field by which to sort the list. @opt_param string ids Select only subaccounts with these IDs. @opt_param int maxResults Maximum number of results to return. @opt_param string pageToken Value of the nextPageToken from the previous result page. @opt_param string sortOrder Order of sorted results, default is ASCENDING.
- Return values
-
◆ patch()
Updates an existing subaccount.
This method supports patch semantics. (subaccounts.patch)
- Parameters
-
string | $profileId | User profile ID associated with this request. |
string | $id | Subaccount ID. |
Google_Subaccount | $postBody | |
array | $optParams | Optional parameters. |
- Return values
-
◆ update()
Updates an existing subaccount.
(subaccounts.update)
- Parameters
-
string | $profileId | User profile ID associated with this request. |
Google_Subaccount | $postBody | |
array | $optParams | Optional parameters. |
- Return values
-
The documentation for this class was generated from the following file:
- lib/google/src/Google/Service/Dfareporting.php