Skip to content

Latest commit

 

History

History
132 lines (82 loc) · 4.39 KB

AccountTrackingUrlServiceApi.md

File metadata and controls

132 lines (82 loc) · 4.39 KB

Yahoo\AccountTrackingUrlServiceApi

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

Method HTTP request Description
accountTrackingUrlServiceGetPost POST /AccountTrackingUrlService/get
accountTrackingUrlServiceSetPost POST /AccountTrackingUrlService/set

accountTrackingUrlServiceGetPost

\Yahoo\Model\AccountTrackingUrlServiceGetResponse accountTrackingUrlServiceGetPost($accountTrackingUrlServiceSelector)

アカウントトラッキングに関する情報を取得します。
Retrieves information related to account tracking.

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\AccountTrackingUrlServiceApi(
    // 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
);
$accountTrackingUrlServiceSelector = new \Yahoo\Model\AccountTrackingUrlServiceSelector(); // \Yahoo\Model\AccountTrackingUrlServiceSelector | 

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

Parameters

Name Type Description Notes
accountTrackingUrlServiceSelector \Yahoo\Model\AccountTrackingUrlServiceSelector [optional]

Return type

\Yahoo\Model\AccountTrackingUrlServiceGetResponse

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]

accountTrackingUrlServiceSetPost

\Yahoo\Model\AccountTrackingUrlServiceMutateResponse accountTrackingUrlServiceSetPost($accountTrackingUrlServiceOperation)

アカウントトラッキングを更新します。
Updates account tracking information.

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\AccountTrackingUrlServiceApi(
    // 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
);
$accountTrackingUrlServiceOperation = new \Yahoo\Model\AccountTrackingUrlServiceOperation(); // \Yahoo\Model\AccountTrackingUrlServiceOperation | 

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

Parameters

Name Type Description Notes
accountTrackingUrlServiceOperation \Yahoo\Model\AccountTrackingUrlServiceOperation [optional]

Return type

\Yahoo\Model\AccountTrackingUrlServiceMutateResponse

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]