Skip to content

Latest commit

 

History

History
256 lines (160 loc) · 8.24 KB

BiddingStrategyServiceApi.md

File metadata and controls

256 lines (160 loc) · 8.24 KB

Yahoo\BiddingStrategyServiceApi

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

Method HTTP request Description
biddingStrategyServiceAddPost POST /BiddingStrategyService/add
biddingStrategyServiceGetPost POST /BiddingStrategyService/get
biddingStrategyServiceRemovePost POST /BiddingStrategyService/remove
biddingStrategyServiceSetPost POST /BiddingStrategyService/set

biddingStrategyServiceAddPost

\Yahoo\Model\BiddingStrategyServiceMutateResponse biddingStrategyServiceAddPost($biddingStrategyServiceOperation)

自動入札設定を追加します。
Creates the Auto bidding.

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\BiddingStrategyServiceApi(
    // 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
);
$biddingStrategyServiceOperation = new \Yahoo\Model\BiddingStrategyServiceOperation(); // \Yahoo\Model\BiddingStrategyServiceOperation | 

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

Parameters

Name Type Description Notes
biddingStrategyServiceOperation \Yahoo\Model\BiddingStrategyServiceOperation [optional]

Return type

\Yahoo\Model\BiddingStrategyServiceMutateResponse

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]

biddingStrategyServiceGetPost

\Yahoo\Model\BiddingStrategyServiceGetResponse biddingStrategyServiceGetPost($biddingStrategyServiceSelector)

自動入札設定に関する情報を取得します。
Returns auto bidding 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\BiddingStrategyServiceApi(
    // 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
);
$biddingStrategyServiceSelector = new \Yahoo\Model\BiddingStrategyServiceSelector(); // \Yahoo\Model\BiddingStrategyServiceSelector | 

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

Parameters

Name Type Description Notes
biddingStrategyServiceSelector \Yahoo\Model\BiddingStrategyServiceSelector [optional]

Return type

\Yahoo\Model\BiddingStrategyServiceGetResponse

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]

biddingStrategyServiceRemovePost

\Yahoo\Model\BiddingStrategyServiceMutateResponse biddingStrategyServiceRemovePost($biddingStrategyServiceOperation)

自動入札設定を削除します。
Remove the auto bidding setting.

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\BiddingStrategyServiceApi(
    // 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
);
$biddingStrategyServiceOperation = new \Yahoo\Model\BiddingStrategyServiceOperation(); // \Yahoo\Model\BiddingStrategyServiceOperation | 

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

Parameters

Name Type Description Notes
biddingStrategyServiceOperation \Yahoo\Model\BiddingStrategyServiceOperation [optional]

Return type

\Yahoo\Model\BiddingStrategyServiceMutateResponse

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]

biddingStrategyServiceSetPost

\Yahoo\Model\BiddingStrategyServiceMutateResponse biddingStrategyServiceSetPost($biddingStrategyServiceOperation)

自動入札設定を更新します。
Updates an auto bidding.

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\BiddingStrategyServiceApi(
    // 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
);
$biddingStrategyServiceOperation = new \Yahoo\Model\BiddingStrategyServiceOperation(); // \Yahoo\Model\BiddingStrategyServiceOperation | 

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

Parameters

Name Type Description Notes
biddingStrategyServiceOperation \Yahoo\Model\BiddingStrategyServiceOperation [optional]

Return type

\Yahoo\Model\BiddingStrategyServiceMutateResponse

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]