Skip to content

Latest commit

 

History

History
318 lines (199 loc) · 9.85 KB

FeedItemServiceApi.md

File metadata and controls

318 lines (199 loc) · 9.85 KB

Yahoo\FeedItemServiceApi

All URIs are relative to https://ads-search.yahooapis.jp/api/v1

Method HTTP request Description
feedItemServiceAddPost POST /FeedItemService/add
feedItemServiceGetPost POST /FeedItemService/get
feedItemServiceRemovePost POST /FeedItemService/remove
feedItemServiceSetPost POST /FeedItemService/set
feedItemServiceSetTrademarkStatusPost POST /FeedItemService/setTrademarkStatus

feedItemServiceAddPost

\Yahoo\Model\FeedItemServiceMutateResponse feedItemServiceAddPost($feedItemServiceOperation)

フィードアイテム情報を追加します。
Add Feed Item information.

Example

<?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\FeedItemServiceApi(
    // 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
);
$feedItemServiceOperation = new \Yahoo\Model\FeedItemServiceOperation(); // \Yahoo\Model\FeedItemServiceOperation | 

try {
    $result = $apiInstance->feedItemServiceAddPost($feedItemServiceOperation);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling FeedItemServiceApi->feedItemServiceAddPost: ', $e->getMessage(), PHP_EOL;
}
?>

Parameters

Name Type Description Notes
feedItemServiceOperation \Yahoo\Model\FeedItemServiceOperation [optional]

Return type

\Yahoo\Model\FeedItemServiceMutateResponse

Authorization

oAuth

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

feedItemServiceGetPost

\Yahoo\Model\FeedItemServiceGetResponse feedItemServiceGetPost($feedItemServiceSelector)

フィードアイテム情報を取得します。
Get Feed Item information.

Example

<?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\FeedItemServiceApi(
    // 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
);
$feedItemServiceSelector = new \Yahoo\Model\FeedItemServiceSelector(); // \Yahoo\Model\FeedItemServiceSelector | 

try {
    $result = $apiInstance->feedItemServiceGetPost($feedItemServiceSelector);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling FeedItemServiceApi->feedItemServiceGetPost: ', $e->getMessage(), PHP_EOL;
}
?>

Parameters

Name Type Description Notes
feedItemServiceSelector \Yahoo\Model\FeedItemServiceSelector [optional]

Return type

\Yahoo\Model\FeedItemServiceGetResponse

Authorization

oAuth

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

feedItemServiceRemovePost

\Yahoo\Model\FeedItemServiceMutateResponse feedItemServiceRemovePost($feedItemServiceOperation)

フィードアイテム情報を削除します。
Remove the Feed Item details.

Example

<?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\FeedItemServiceApi(
    // 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
);
$feedItemServiceOperation = new \Yahoo\Model\FeedItemServiceOperation(); // \Yahoo\Model\FeedItemServiceOperation | 

try {
    $result = $apiInstance->feedItemServiceRemovePost($feedItemServiceOperation);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling FeedItemServiceApi->feedItemServiceRemovePost: ', $e->getMessage(), PHP_EOL;
}
?>

Parameters

Name Type Description Notes
feedItemServiceOperation \Yahoo\Model\FeedItemServiceOperation [optional]

Return type

\Yahoo\Model\FeedItemServiceMutateResponse

Authorization

oAuth

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

feedItemServiceSetPost

\Yahoo\Model\FeedItemServiceMutateResponse feedItemServiceSetPost($feedItemServiceOperation)

フィードアイテム情報を更新します。
Updates the Feed Item details.

Example

<?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\FeedItemServiceApi(
    // 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
);
$feedItemServiceOperation = new \Yahoo\Model\FeedItemServiceOperation(); // \Yahoo\Model\FeedItemServiceOperation | 

try {
    $result = $apiInstance->feedItemServiceSetPost($feedItemServiceOperation);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling FeedItemServiceApi->feedItemServiceSetPost: ', $e->getMessage(), PHP_EOL;
}
?>

Parameters

Name Type Description Notes
feedItemServiceOperation \Yahoo\Model\FeedItemServiceOperation [optional]

Return type

\Yahoo\Model\FeedItemServiceMutateResponse

Authorization

oAuth

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

feedItemServiceSetTrademarkStatusPost

\Yahoo\Model\FeedItemServiceSetTrademarkStatusResponse feedItemServiceSetTrademarkStatusPost($feedItemServiceSetTrademarkStatusOperation)

商標の使用制限解除を確認します。
Confirm the status of trademark restriction.

Example

<?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\FeedItemServiceApi(
    // 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
);
$feedItemServiceSetTrademarkStatusOperation = new \Yahoo\Model\FeedItemServiceSetTrademarkStatusOperation(); // \Yahoo\Model\FeedItemServiceSetTrademarkStatusOperation | 

try {
    $result = $apiInstance->feedItemServiceSetTrademarkStatusPost($feedItemServiceSetTrademarkStatusOperation);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling FeedItemServiceApi->feedItemServiceSetTrademarkStatusPost: ', $e->getMessage(), PHP_EOL;
}
?>

Parameters

Name Type Description Notes
feedItemServiceSetTrademarkStatusOperation \Yahoo\Model\FeedItemServiceSetTrademarkStatusOperation [optional]

Return type

\Yahoo\Model\FeedItemServiceSetTrademarkStatusResponse

Authorization

oAuth

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]