All URIs are relative to https://ads-search.yahooapis.jp/api/v1
Method | HTTP request | Description |
---|---|---|
adGroupAdServiceAddPost | POST /AdGroupAdService/add | |
adGroupAdServiceGetPost | POST /AdGroupAdService/get | |
adGroupAdServiceRemovePost | POST /AdGroupAdService/remove | |
adGroupAdServiceSetPost | POST /AdGroupAdService/set | |
adGroupAdServiceSetTrademarkStatusPost | POST /AdGroupAdService/setTrademarkStatus |
\Yahoo\Model\AdGroupAdServiceMutateResponse adGroupAdServiceAddPost($adGroupAdServiceOperation)
<?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\AdGroupAdServiceApi(
// 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
);
$adGroupAdServiceOperation = new \Yahoo\Model\AdGroupAdServiceOperation(); // \Yahoo\Model\AdGroupAdServiceOperation |
try {
$result = $apiInstance->adGroupAdServiceAddPost($adGroupAdServiceOperation);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling AdGroupAdServiceApi->adGroupAdServiceAddPost: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
adGroupAdServiceOperation | \Yahoo\Model\AdGroupAdServiceOperation | [optional] |
\Yahoo\Model\AdGroupAdServiceMutateResponse
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\Yahoo\Model\AdGroupAdServiceGetResponse adGroupAdServiceGetPost($adGroupAdServiceSelector)
<?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\AdGroupAdServiceApi(
// 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
);
$adGroupAdServiceSelector = new \Yahoo\Model\AdGroupAdServiceSelector(); // \Yahoo\Model\AdGroupAdServiceSelector |
try {
$result = $apiInstance->adGroupAdServiceGetPost($adGroupAdServiceSelector);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling AdGroupAdServiceApi->adGroupAdServiceGetPost: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
adGroupAdServiceSelector | \Yahoo\Model\AdGroupAdServiceSelector | [optional] |
\Yahoo\Model\AdGroupAdServiceGetResponse
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\Yahoo\Model\AdGroupAdServiceMutateResponse adGroupAdServiceRemovePost($adGroupAdServiceOperation)
<?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\AdGroupAdServiceApi(
// 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
);
$adGroupAdServiceOperation = new \Yahoo\Model\AdGroupAdServiceOperation(); // \Yahoo\Model\AdGroupAdServiceOperation |
try {
$result = $apiInstance->adGroupAdServiceRemovePost($adGroupAdServiceOperation);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling AdGroupAdServiceApi->adGroupAdServiceRemovePost: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
adGroupAdServiceOperation | \Yahoo\Model\AdGroupAdServiceOperation | [optional] |
\Yahoo\Model\AdGroupAdServiceMutateResponse
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\Yahoo\Model\AdGroupAdServiceMutateResponse adGroupAdServiceSetPost($adGroupAdServiceOperation)
<?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\AdGroupAdServiceApi(
// 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
);
$adGroupAdServiceOperation = new \Yahoo\Model\AdGroupAdServiceOperation(); // \Yahoo\Model\AdGroupAdServiceOperation |
try {
$result = $apiInstance->adGroupAdServiceSetPost($adGroupAdServiceOperation);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling AdGroupAdServiceApi->adGroupAdServiceSetPost: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
adGroupAdServiceOperation | \Yahoo\Model\AdGroupAdServiceOperation | [optional] |
\Yahoo\Model\AdGroupAdServiceMutateResponse
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\Yahoo\Model\AdGroupAdServiceSetTrademarkStatusResponse adGroupAdServiceSetTrademarkStatusPost($adGroupAdServiceSetTrademarkStatusOperation)
<?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\AdGroupAdServiceApi(
// 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
);
$adGroupAdServiceSetTrademarkStatusOperation = new \Yahoo\Model\AdGroupAdServiceSetTrademarkStatusOperation(); // \Yahoo\Model\AdGroupAdServiceSetTrademarkStatusOperation |
try {
$result = $apiInstance->adGroupAdServiceSetTrademarkStatusPost($adGroupAdServiceSetTrademarkStatusOperation);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling AdGroupAdServiceApi->adGroupAdServiceSetTrademarkStatusPost: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
adGroupAdServiceSetTrademarkStatusOperation | \Yahoo\Model\AdGroupAdServiceSetTrademarkStatusOperation | [optional] |
\Yahoo\Model\AdGroupAdServiceSetTrademarkStatusResponse
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]