Skip to content

Latest commit

 

History

History
132 lines (82 loc) · 4.64 KB

DictionaryServiceApi.md

File metadata and controls

132 lines (82 loc) · 4.64 KB

Yahoo\DictionaryServiceApi

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

Method HTTP request Description
dictionaryServiceGetDisapprovalReasonPost POST /DictionaryService/getDisapprovalReason
dictionaryServiceGetGeographicLocationPost POST /DictionaryService/getGeographicLocation

dictionaryServiceGetDisapprovalReasonPost

\Yahoo\Model\DictionaryServiceGetDisapprovalReasonResponse dictionaryServiceGetDisapprovalReasonPost($dictionaryServiceDisapprovalReasonSelector)

EditorialReasonと推奨する対応方法の一覧を取得します。
Get EditorialReason and recommended resolution list.

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\DictionaryServiceApi(
    // 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
);
$dictionaryServiceDisapprovalReasonSelector = new \Yahoo\Model\DictionaryServiceDisapprovalReasonSelector(); // \Yahoo\Model\DictionaryServiceDisapprovalReasonSelector | 

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

Parameters

Name Type Description Notes
dictionaryServiceDisapprovalReasonSelector \Yahoo\Model\DictionaryServiceDisapprovalReasonSelector [optional]

Return type

\Yahoo\Model\DictionaryServiceGetDisapprovalReasonResponse

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]

dictionaryServiceGetGeographicLocationPost

\Yahoo\Model\DictionaryServiceGetGeographicLocationResponse dictionaryServiceGetGeographicLocationPost($dictionaryServiceGeographicLocationSelector)

地域情報の一覧を取得します。
Get the information list of geo targeting.

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\DictionaryServiceApi(
    // 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
);
$dictionaryServiceGeographicLocationSelector = new \Yahoo\Model\DictionaryServiceGeographicLocationSelector(); // \Yahoo\Model\DictionaryServiceGeographicLocationSelector | 

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

Parameters

Name Type Description Notes
dictionaryServiceGeographicLocationSelector \Yahoo\Model\DictionaryServiceGeographicLocationSelector [optional]

Return type

\Yahoo\Model\DictionaryServiceGetGeographicLocationResponse

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]