All URIs are relative to https://ads-search.yahooapis.jp/api/v1
Method | HTTP request | Description |
---|---|---|
feedServiceAddPost | POST /FeedService/add | |
feedServiceGetPost | POST /FeedService/get | |
feedServiceRemovePost | POST /FeedService/remove | |
feedServiceSetPost | POST /FeedService/set |
\Yahoo\Model\FeedServiceMutateResponse feedServiceAddPost($feedServiceOperation)
<?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\FeedServiceApi(
// 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
);
$feedServiceOperation = new \Yahoo\Model\FeedServiceOperation(); // \Yahoo\Model\FeedServiceOperation |
try {
$result = $apiInstance->feedServiceAddPost($feedServiceOperation);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling FeedServiceApi->feedServiceAddPost: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
feedServiceOperation | \Yahoo\Model\FeedServiceOperation | [optional] |
\Yahoo\Model\FeedServiceMutateResponse
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\Yahoo\Model\FeedServiceGetResponse feedServiceGetPost($feedServiceSelector)
<?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\FeedServiceApi(
// 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
);
$feedServiceSelector = new \Yahoo\Model\FeedServiceSelector(); // \Yahoo\Model\FeedServiceSelector |
try {
$result = $apiInstance->feedServiceGetPost($feedServiceSelector);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling FeedServiceApi->feedServiceGetPost: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
feedServiceSelector | \Yahoo\Model\FeedServiceSelector | [optional] |
\Yahoo\Model\FeedServiceGetResponse
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\Yahoo\Model\FeedServiceMutateResponse feedServiceRemovePost($feedServiceOperation)
<?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\FeedServiceApi(
// 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
);
$feedServiceOperation = new \Yahoo\Model\FeedServiceOperation(); // \Yahoo\Model\FeedServiceOperation |
try {
$result = $apiInstance->feedServiceRemovePost($feedServiceOperation);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling FeedServiceApi->feedServiceRemovePost: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
feedServiceOperation | \Yahoo\Model\FeedServiceOperation | [optional] |
\Yahoo\Model\FeedServiceMutateResponse
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\Yahoo\Model\FeedServiceMutateResponse feedServiceSetPost($feedServiceOperation)
<?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\FeedServiceApi(
// 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
);
$feedServiceOperation = new \Yahoo\Model\FeedServiceOperation(); // \Yahoo\Model\FeedServiceOperation |
try {
$result = $apiInstance->feedServiceSetPost($feedServiceOperation);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling FeedServiceApi->feedServiceSetPost: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
feedServiceOperation | \Yahoo\Model\FeedServiceOperation | [optional] |
\Yahoo\Model\FeedServiceMutateResponse
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]