All URIs are relative to https://ads-search.yahooapis.jp/api/v1
Method | HTTP request | Description |
---|---|---|
offlineConversionServiceDownloadErrorFilePost | POST /OfflineConversionService/downloadErrorFile | |
offlineConversionServiceDownloadPost | POST /OfflineConversionService/download | |
offlineConversionServiceGetPost | POST /OfflineConversionService/get | |
offlineConversionServiceUploadPost | POST /OfflineConversionService/upload |
\SplFileObject offlineConversionServiceDownloadErrorFilePost($offlineConversionServiceDownloadSelector)
<?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\OfflineConversionServiceApi(
// 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
);
$offlineConversionServiceDownloadSelector = new \Yahoo\Model\OfflineConversionServiceDownloadSelector(); // \Yahoo\Model\OfflineConversionServiceDownloadSelector |
try {
$result = $apiInstance->offlineConversionServiceDownloadErrorFilePost($offlineConversionServiceDownloadSelector);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling OfflineConversionServiceApi->offlineConversionServiceDownloadErrorFilePost: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
offlineConversionServiceDownloadSelector | \Yahoo\Model\OfflineConversionServiceDownloadSelector | [optional] |
- Content-Type: application/json
- Accept: application/octet-stream
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\SplFileObject offlineConversionServiceDownloadPost($offlineConversionServiceDownloadSelector)
<?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\OfflineConversionServiceApi(
// 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
);
$offlineConversionServiceDownloadSelector = new \Yahoo\Model\OfflineConversionServiceDownloadSelector(); // \Yahoo\Model\OfflineConversionServiceDownloadSelector |
try {
$result = $apiInstance->offlineConversionServiceDownloadPost($offlineConversionServiceDownloadSelector);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling OfflineConversionServiceApi->offlineConversionServiceDownloadPost: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
offlineConversionServiceDownloadSelector | \Yahoo\Model\OfflineConversionServiceDownloadSelector | [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\OfflineConversionServiceGetResponse offlineConversionServiceGetPost($offlineConversionServiceSelector)
<?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\OfflineConversionServiceApi(
// 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
);
$offlineConversionServiceSelector = new \Yahoo\Model\OfflineConversionServiceSelector(); // \Yahoo\Model\OfflineConversionServiceSelector |
try {
$result = $apiInstance->offlineConversionServiceGetPost($offlineConversionServiceSelector);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling OfflineConversionServiceApi->offlineConversionServiceGetPost: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
offlineConversionServiceSelector | \Yahoo\Model\OfflineConversionServiceSelector | [optional] |
\Yahoo\Model\OfflineConversionServiceGetResponse
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\Yahoo\Model\OfflineConversionServiceUploadResponse offlineConversionServiceUploadPost($accountId, $uploadType, $uploadFileName, $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\OfflineConversionServiceApi(
// 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
);
$accountId = 56; // int | <div lang=\"ja\">アカウントIDです。</div> <div lang=\"en\">Account ID.</div>
$uploadType = 'uploadType_example'; // string | <div lang=\"ja\">OfflineConversionUploadTypeは、アップロードする方法の種類を表します。</div><div lang=\"en\">OfflineConversionUploadType describes kind of upload method.</div><hr> <code>NEW</code> - <div lang=\"ja\">新規ファイルのアップロードです。</div><div lang=\"en\">New upload.</div> <code>ADJUSTMENT</code> - <div lang=\"ja\">調整用ファイルのアップロードです。</div><div lang=\"en\">Adjustment upload.</div>
$uploadFileName = 'uploadFileName_example'; // string | <div lang=\"ja\">アップロードファイル名です。</div> <div lang=\"en\">Upload file name.</div>
$file = "/path/to/file.txt"; // \SplFileObject |
try {
$result = $apiInstance->offlineConversionServiceUploadPost($accountId, $uploadType, $uploadFileName, $file);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling OfflineConversionServiceApi->offlineConversionServiceUploadPost: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
accountId | int | <div lang="ja">アカウントIDです。</div> <div lang="en">Account ID.</div> | |
uploadType | string | <div lang="ja">OfflineConversionUploadTypeは、アップロードする方法の種類を表します。</div><div lang="en">OfflineConversionUploadType describes kind of upload method.</div><hr> <code>NEW</code> - <div lang="ja">新規ファイルのアップロードです。</div><div lang="en">New upload.</div> <code>ADJUSTMENT</code> - <div lang="ja">調整用ファイルのアップロードです。</div><div lang="en">Adjustment upload.</div> | |
uploadFileName | string | <div lang="ja">アップロードファイル名です。</div> <div lang="en">Upload file name.</div> | |
file | \SplFileObject**\SplFileObject** | [optional] |
\Yahoo\Model\OfflineConversionServiceUploadResponse
- Content-Type: multipart/form-data
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]