All URIs are relative to https://ads-search.yahooapis.jp/api/v1
Method | HTTP request | Description |
---|---|---|
campaignWebpageServiceAddPost | POST /CampaignWebpageService/add | |
campaignWebpageServiceGetPost | POST /CampaignWebpageService/get | |
campaignWebpageServiceRemovePost | POST /CampaignWebpageService/remove |
\Yahoo\Model\CampaignWebpageServiceMutateResponse campaignWebpageServiceAddPost($campaignWebpageServiceOperation)
<?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\CampaignWebpageServiceApi(
// 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
);
$campaignWebpageServiceOperation = new \Yahoo\Model\CampaignWebpageServiceOperation(); // \Yahoo\Model\CampaignWebpageServiceOperation |
try {
$result = $apiInstance->campaignWebpageServiceAddPost($campaignWebpageServiceOperation);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling CampaignWebpageServiceApi->campaignWebpageServiceAddPost: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
campaignWebpageServiceOperation | \Yahoo\Model\CampaignWebpageServiceOperation | [optional] |
\Yahoo\Model\CampaignWebpageServiceMutateResponse
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\Yahoo\Model\CampaignWebpageServiceGetResponse campaignWebpageServiceGetPost($campaignWebpageServiceSelector)
<?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\CampaignWebpageServiceApi(
// 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
);
$campaignWebpageServiceSelector = new \Yahoo\Model\CampaignWebpageServiceSelector(); // \Yahoo\Model\CampaignWebpageServiceSelector |
try {
$result = $apiInstance->campaignWebpageServiceGetPost($campaignWebpageServiceSelector);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling CampaignWebpageServiceApi->campaignWebpageServiceGetPost: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
campaignWebpageServiceSelector | \Yahoo\Model\CampaignWebpageServiceSelector | [optional] |
\Yahoo\Model\CampaignWebpageServiceGetResponse
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\Yahoo\Model\CampaignWebpageServiceMutateResponse campaignWebpageServiceRemovePost($campaignWebpageServiceOperation)
<?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\CampaignWebpageServiceApi(
// 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
);
$campaignWebpageServiceOperation = new \Yahoo\Model\CampaignWebpageServiceOperation(); // \Yahoo\Model\CampaignWebpageServiceOperation |
try {
$result = $apiInstance->campaignWebpageServiceRemovePost($campaignWebpageServiceOperation);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling CampaignWebpageServiceApi->campaignWebpageServiceRemovePost: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
campaignWebpageServiceOperation | \Yahoo\Model\CampaignWebpageServiceOperation | [optional] |
\Yahoo\Model\CampaignWebpageServiceMutateResponse
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]