All URIs are relative to https://ads-search.yahooapis.jp/api/v1
Method | HTTP request | Description |
---|---|---|
campaignTargetServiceAddPost | POST /CampaignTargetService/add | |
campaignTargetServiceGetPost | POST /CampaignTargetService/get | |
campaignTargetServiceRemovePost | POST /CampaignTargetService/remove | |
campaignTargetServiceSetPost | POST /CampaignTargetService/set |
\Yahoo\Model\CampaignTargetServiceMutateResponse campaignTargetServiceAddPost($campaignTargetServiceOperation)
<?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\CampaignTargetServiceApi(
// 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
);
$campaignTargetServiceOperation = new \Yahoo\Model\CampaignTargetServiceOperation(); // \Yahoo\Model\CampaignTargetServiceOperation |
try {
$result = $apiInstance->campaignTargetServiceAddPost($campaignTargetServiceOperation);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling CampaignTargetServiceApi->campaignTargetServiceAddPost: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
campaignTargetServiceOperation | \Yahoo\Model\CampaignTargetServiceOperation | [optional] |
\Yahoo\Model\CampaignTargetServiceMutateResponse
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\Yahoo\Model\CampaignTargetServiceGetResponse campaignTargetServiceGetPost($campaignTargetServiceSelector)
<?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\CampaignTargetServiceApi(
// 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
);
$campaignTargetServiceSelector = new \Yahoo\Model\CampaignTargetServiceSelector(); // \Yahoo\Model\CampaignTargetServiceSelector |
try {
$result = $apiInstance->campaignTargetServiceGetPost($campaignTargetServiceSelector);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling CampaignTargetServiceApi->campaignTargetServiceGetPost: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
campaignTargetServiceSelector | \Yahoo\Model\CampaignTargetServiceSelector | [optional] |
\Yahoo\Model\CampaignTargetServiceGetResponse
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\Yahoo\Model\CampaignTargetServiceMutateResponse campaignTargetServiceRemovePost($campaignTargetServiceOperation)
<?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\CampaignTargetServiceApi(
// 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
);
$campaignTargetServiceOperation = new \Yahoo\Model\CampaignTargetServiceOperation(); // \Yahoo\Model\CampaignTargetServiceOperation |
try {
$result = $apiInstance->campaignTargetServiceRemovePost($campaignTargetServiceOperation);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling CampaignTargetServiceApi->campaignTargetServiceRemovePost: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
campaignTargetServiceOperation | \Yahoo\Model\CampaignTargetServiceOperation | [optional] |
\Yahoo\Model\CampaignTargetServiceMutateResponse
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\Yahoo\Model\CampaignTargetServiceMutateResponse campaignTargetServiceSetPost($campaignTargetServiceOperation)
* Bid Adjustment (bidmultiplier) is only modifiable.
<?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\CampaignTargetServiceApi(
// 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
);
$campaignTargetServiceOperation = new \Yahoo\Model\CampaignTargetServiceOperation(); // \Yahoo\Model\CampaignTargetServiceOperation |
try {
$result = $apiInstance->campaignTargetServiceSetPost($campaignTargetServiceOperation);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling CampaignTargetServiceApi->campaignTargetServiceSetPost: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
campaignTargetServiceOperation | \Yahoo\Model\CampaignTargetServiceOperation | [optional] |
\Yahoo\Model\CampaignTargetServiceMutateResponse
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]