All URIs are relative to https://ads-search.yahooapis.jp/api/v1
Method | HTTP request | Description |
---|---|---|
accountTrackingUrlServiceGetPost | POST /AccountTrackingUrlService/get | |
accountTrackingUrlServiceSetPost | POST /AccountTrackingUrlService/set |
\Yahoo\Model\AccountTrackingUrlServiceGetResponse accountTrackingUrlServiceGetPost($accountTrackingUrlServiceSelector)
アカウントトラッキングに関する情報を取得します。
Retrieves information related to account tracking.
<?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\AccountTrackingUrlServiceApi(
// 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
);
$accountTrackingUrlServiceSelector = new \Yahoo\Model\AccountTrackingUrlServiceSelector(); // \Yahoo\Model\AccountTrackingUrlServiceSelector |
try {
$result = $apiInstance->accountTrackingUrlServiceGetPost($accountTrackingUrlServiceSelector);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling AccountTrackingUrlServiceApi->accountTrackingUrlServiceGetPost: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
accountTrackingUrlServiceSelector | \Yahoo\Model\AccountTrackingUrlServiceSelector | [optional] |
\Yahoo\Model\AccountTrackingUrlServiceGetResponse
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\Yahoo\Model\AccountTrackingUrlServiceMutateResponse accountTrackingUrlServiceSetPost($accountTrackingUrlServiceOperation)
アカウントトラッキングを更新します。
Updates account tracking information.
<?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\AccountTrackingUrlServiceApi(
// 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
);
$accountTrackingUrlServiceOperation = new \Yahoo\Model\AccountTrackingUrlServiceOperation(); // \Yahoo\Model\AccountTrackingUrlServiceOperation |
try {
$result = $apiInstance->accountTrackingUrlServiceSetPost($accountTrackingUrlServiceOperation);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling AccountTrackingUrlServiceApi->accountTrackingUrlServiceSetPost: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
accountTrackingUrlServiceOperation | \Yahoo\Model\AccountTrackingUrlServiceOperation | [optional] |
\Yahoo\Model\AccountTrackingUrlServiceMutateResponse
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]