Google Shopping Merchant Conversions API client library for managing conversion sources and tracking.
82
{
"context": "This criteria evaluates how well the engineer uses the google-shopping-merchant-conversions package to implement multi-version API support, specifically testing their proficiency in initializing and working with both stable (v1) and beta (v1beta) API clients.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Stable client initialization",
"description": "Uses ConversionSourcesServiceClient from google.shopping.merchant_conversions_v1 to initialize the stable API client",
"max_score": 25
},
{
"name": "Beta client initialization",
"description": "Uses ConversionSourcesServiceClient from google.shopping.merchant_conversions_v1beta to initialize the beta/preview API client",
"max_score": 25
},
{
"name": "Version-based client retrieval",
"description": "Implements get_client method that correctly returns the appropriate client instance based on the version parameter ('stable' or 'beta')",
"max_score": 20
},
{
"name": "Version parameter validation",
"description": "Validates the version parameter in get_client and list_sources methods, raising ValueError for invalid versions",
"max_score": 10
},
{
"name": "Version-aware list operation",
"description": "Uses the list_conversion_sources method from the correct versioned client based on the version parameter passed to list_sources",
"max_score": 15
},
{
"name": "Merchant account resource",
"description": "Correctly constructs the parent resource path for the merchant account using the merchant_id (e.g., 'accounts/{merchant_id}')",
"max_score": 5
}
]
}Install with Tessl CLI
npx tessl i tessl/pypi-google-shopping-merchant-conversionsevals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10