All URIs are relative to https://ads-search.yahooapis.jp/api/v1
Method | HTTP request | Description |
---|---|---|
auditLogServiceAddJobPost | POST /AuditLogService/addJob | |
auditLogServiceDownloadPost | POST /AuditLogService/download | |
auditLogServiceGetPost | POST /AuditLogService/get |
\Yahoo\Model\AuditLogServiceAddJobResponse auditLogServiceAddJobPost($auditLogServiceOperation)
操作履歴ファイルをダウンロードするためのジョブを登録します。
Add a job to download operation history data file.
<?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\AuditLogServiceApi(
// 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
);
$auditLogServiceOperation = new \Yahoo\Model\AuditLogServiceOperation(); // \Yahoo\Model\AuditLogServiceOperation |
try {
$result = $apiInstance->auditLogServiceAddJobPost($auditLogServiceOperation);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling AuditLogServiceApi->auditLogServiceAddJobPost: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
auditLogServiceOperation | \Yahoo\Model\AuditLogServiceOperation | [optional] |
\Yahoo\Model\AuditLogServiceAddJobResponse
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\SplFileObject auditLogServiceDownloadPost($auditLogServiceDownloadSelector)
<?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\AuditLogServiceApi(
// 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
);
$auditLogServiceDownloadSelector = new \Yahoo\Model\AuditLogServiceDownloadSelector(); // \Yahoo\Model\AuditLogServiceDownloadSelector |
try {
$result = $apiInstance->auditLogServiceDownloadPost($auditLogServiceDownloadSelector);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling AuditLogServiceApi->auditLogServiceDownloadPost: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
auditLogServiceDownloadSelector | \Yahoo\Model\AuditLogServiceDownloadSelector | [optional] |
- Content-Type: application/json
- Accept: application/octet-stream
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\Yahoo\Model\AuditLogServiceGetResponse auditLogServiceGetPost($auditLogServiceSelector)
操作履歴のダウンロードURLを取得します。
Get the download URL for operation history data.
<?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\AuditLogServiceApi(
// 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
);
$auditLogServiceSelector = new \Yahoo\Model\AuditLogServiceSelector(); // \Yahoo\Model\AuditLogServiceSelector |
try {
$result = $apiInstance->auditLogServiceGetPost($auditLogServiceSelector);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling AuditLogServiceApi->auditLogServiceGetPost: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
auditLogServiceSelector | \Yahoo\Model\AuditLogServiceSelector | [optional] |
\Yahoo\Model\AuditLogServiceGetResponse
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]