Google Shopping Merchant Conversions API client library for managing conversion sources and tracking.
82
{
"context": "This criteria evaluates how well an engineer uses the google-shopping-merchant-conversions package to update conversion source configurations. The focus is on correct usage of the ConversionSourcesServiceClient, the update_conversion_source() method, and field mask operations for selective updates.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Client Initialization",
"description": "Correctly initializes ConversionSourcesServiceClient (or ConversionSourcesServiceAsyncClient) to interact with the API",
"max_score": 15
},
{
"name": "update_conversion_source() Usage",
"description": "Properly calls the update_conversion_source() method with correct parameters including parent resource name and conversion source object",
"max_score": 25
},
{
"name": "Field Mask Construction",
"description": "Correctly constructs and uses field_mask.FieldMask (or google.protobuf.field_mask_pb2.FieldMask) to specify which fields to update (e.g., 'merchant_center_destination.display_name', 'merchant_center_destination.currency_code', 'merchant_center_destination.attribution_settings.attribution_model')",
"max_score": 30
},
{
"name": "ConversionSource Object",
"description": "Properly constructs or modifies ConversionSource object with the MerchantCenterDestination field populated with the fields being updated",
"max_score": 20
},
{
"name": "Resource Naming",
"description": "Correctly formats resource names following the pattern 'accounts/{merchant_id}/conversionSources/{conversion_source_id}' for the name field",
"max_score": 10
}
]
}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