Skip to content

Latest commit

 

History

History
194 lines (121 loc) · 6.44 KB

ConversionTrackerServiceApi.md

File metadata and controls

194 lines (121 loc) · 6.44 KB

Yahoo\ConversionTrackerServiceApi

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

Method HTTP request Description
conversionTrackerServiceAddPost POST /ConversionTrackerService/add
conversionTrackerServiceGetPost POST /ConversionTrackerService/get
conversionTrackerServiceSetPost POST /ConversionTrackerService/set

conversionTrackerServiceAddPost

\Yahoo\Model\ConversionTrackerServiceMutateResponse conversionTrackerServiceAddPost($conversionTrackerServiceOperation)

コンバージョントラッカー情報を追加します。
Add ConversionTracker informations.

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\ConversionTrackerServiceApi(
    // 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
);
$conversionTrackerServiceOperation = new \Yahoo\Model\ConversionTrackerServiceOperation(); // \Yahoo\Model\ConversionTrackerServiceOperation | 

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

Parameters

Name Type Description Notes
conversionTrackerServiceOperation \Yahoo\Model\ConversionTrackerServiceOperation [optional]

Return type

\Yahoo\Model\ConversionTrackerServiceMutateResponse

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]

conversionTrackerServiceGetPost

\Yahoo\Model\ConversionTrackerServiceGetResponse conversionTrackerServiceGetPost($conversionTrackerServiceSelector)

コンバージョントラッカー情報を取得します。
Describes the operation which provide at ConversionTrackerService

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\ConversionTrackerServiceApi(
    // 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
);
$conversionTrackerServiceSelector = new \Yahoo\Model\ConversionTrackerServiceSelector(); // \Yahoo\Model\ConversionTrackerServiceSelector | 

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

Parameters

Name Type Description Notes
conversionTrackerServiceSelector \Yahoo\Model\ConversionTrackerServiceSelector [optional]

Return type

\Yahoo\Model\ConversionTrackerServiceGetResponse

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]

conversionTrackerServiceSetPost

\Yahoo\Model\ConversionTrackerServiceMutateResponse conversionTrackerServiceSetPost($conversionTrackerServiceOperation)

コンバージョントラッカー情報を更新します。
Update ConversionTracker informations.

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\ConversionTrackerServiceApi(
    // 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
);
$conversionTrackerServiceOperation = new \Yahoo\Model\ConversionTrackerServiceOperation(); // \Yahoo\Model\ConversionTrackerServiceOperation | 

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

Parameters

Name Type Description Notes
conversionTrackerServiceOperation \Yahoo\Model\ConversionTrackerServiceOperation [optional]

Return type

\Yahoo\Model\ConversionTrackerServiceMutateResponse

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]