All URIs are relative to https://ads-search.yahooapis.jp/api/v1
Method | HTTP request | Description |
---|---|---|
accountSharedServiceAddPost | POST /AccountSharedService/add | |
accountSharedServiceGetPost | POST /AccountSharedService/get | |
accountSharedServiceRemovePost | POST /AccountSharedService/remove | |
accountSharedServiceSetPost | POST /AccountSharedService/set |
\Yahoo\Model\AccountSharedServiceMutateResponse accountSharedServiceAddPost($accountSharedServiceOperation)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: oAuth
$config = Yahoo\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new Yahoo\Api\AccountSharedServiceApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$accountSharedServiceOperation = new \Yahoo\Model\AccountSharedServiceOperation(); // \Yahoo\Model\AccountSharedServiceOperation |
try {
$result = $apiInstance->accountSharedServiceAddPost($accountSharedServiceOperation);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling AccountSharedServiceApi->accountSharedServiceAddPost: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
accountSharedServiceOperation | \Yahoo\Model\AccountSharedServiceOperation | [optional] |
\Yahoo\Model\AccountSharedServiceMutateResponse
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\Yahoo\Model\AccountSharedServiceGetResponse accountSharedServiceGetPost($accountSharedServiceSelector)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: oAuth
$config = Yahoo\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new Yahoo\Api\AccountSharedServiceApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$accountSharedServiceSelector = new \Yahoo\Model\AccountSharedServiceSelector(); // \Yahoo\Model\AccountSharedServiceSelector |
try {
$result = $apiInstance->accountSharedServiceGetPost($accountSharedServiceSelector);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling AccountSharedServiceApi->accountSharedServiceGetPost: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
accountSharedServiceSelector | \Yahoo\Model\AccountSharedServiceSelector | [optional] |
\Yahoo\Model\AccountSharedServiceGetResponse
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\Yahoo\Model\AccountSharedServiceMutateResponse accountSharedServiceRemovePost($accountSharedServiceOperation)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: oAuth
$config = Yahoo\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new Yahoo\Api\AccountSharedServiceApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$accountSharedServiceOperation = new \Yahoo\Model\AccountSharedServiceOperation(); // \Yahoo\Model\AccountSharedServiceOperation |
try {
$result = $apiInstance->accountSharedServiceRemovePost($accountSharedServiceOperation);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling AccountSharedServiceApi->accountSharedServiceRemovePost: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
accountSharedServiceOperation | \Yahoo\Model\AccountSharedServiceOperation | [optional] |
\Yahoo\Model\AccountSharedServiceMutateResponse
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\Yahoo\Model\AccountSharedServiceMutateResponse accountSharedServiceSetPost($accountSharedServiceOperation)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: oAuth
$config = Yahoo\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new Yahoo\Api\AccountSharedServiceApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$accountSharedServiceOperation = new \Yahoo\Model\AccountSharedServiceOperation(); // \Yahoo\Model\AccountSharedServiceOperation |
try {
$result = $apiInstance->accountSharedServiceSetPost($accountSharedServiceOperation);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling AccountSharedServiceApi->accountSharedServiceSetPost: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
accountSharedServiceOperation | \Yahoo\Model\AccountSharedServiceOperation | [optional] |
\Yahoo\Model\AccountSharedServiceMutateResponse
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]