All URIs are relative to https://ads-search.yahooapis.jp/api/v1
Method | HTTP request | Description |
---|---|---|
campaignSharedSetServiceAddPost | POST /CampaignSharedSetService/add | |
campaignSharedSetServiceGetPost | POST /CampaignSharedSetService/get | |
campaignSharedSetServiceRemovePost | POST /CampaignSharedSetService/remove |
\Yahoo\Model\CampaignSharedSetServiceMutateResponse campaignSharedSetServiceAddPost($campaignSharedSetServiceOperation)
<?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\CampaignSharedSetServiceApi(
// 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
);
$campaignSharedSetServiceOperation = new \Yahoo\Model\CampaignSharedSetServiceOperation(); // \Yahoo\Model\CampaignSharedSetServiceOperation |
try {
$result = $apiInstance->campaignSharedSetServiceAddPost($campaignSharedSetServiceOperation);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling CampaignSharedSetServiceApi->campaignSharedSetServiceAddPost: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
campaignSharedSetServiceOperation | \Yahoo\Model\CampaignSharedSetServiceOperation | [optional] |
\Yahoo\Model\CampaignSharedSetServiceMutateResponse
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\Yahoo\Model\CampaignSharedSetServiceGetResponse campaignSharedSetServiceGetPost($campaignSharedSetServiceSelector)
<?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\CampaignSharedSetServiceApi(
// 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
);
$campaignSharedSetServiceSelector = new \Yahoo\Model\CampaignSharedSetServiceSelector(); // \Yahoo\Model\CampaignSharedSetServiceSelector |
try {
$result = $apiInstance->campaignSharedSetServiceGetPost($campaignSharedSetServiceSelector);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling CampaignSharedSetServiceApi->campaignSharedSetServiceGetPost: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
campaignSharedSetServiceSelector | \Yahoo\Model\CampaignSharedSetServiceSelector | [optional] |
\Yahoo\Model\CampaignSharedSetServiceGetResponse
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\Yahoo\Model\CampaignSharedSetServiceMutateResponse campaignSharedSetServiceRemovePost($campaignSharedSetServiceOperation)
<?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\CampaignSharedSetServiceApi(
// 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
);
$campaignSharedSetServiceOperation = new \Yahoo\Model\CampaignSharedSetServiceOperation(); // \Yahoo\Model\CampaignSharedSetServiceOperation |
try {
$result = $apiInstance->campaignSharedSetServiceRemovePost($campaignSharedSetServiceOperation);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling CampaignSharedSetServiceApi->campaignSharedSetServiceRemovePost: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
campaignSharedSetServiceOperation | \Yahoo\Model\CampaignSharedSetServiceOperation | [optional] |
\Yahoo\Model\CampaignSharedSetServiceMutateResponse
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]