GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — get_products conversion to AdCP 3.1 drops collection_ref from installments · Issue #1895 · adcontextprotocol/adcp-client-python Open Labels DescriptionWhat happensWhen a seller's AdCP 3.1 has no Reproduction (adcp 10.0.0b13)import adcp from adcp.compat.versions import convert_payload installment = { "installment_id": "ep12", "collection_ref": {"publisher_domain": "podcasts.example", "collection_id": "show_b"}, "name": "Episode 12", } product = { "product_id": "network_midrolls", "collections": [{"publisher_domain": "podcasts.example", "collection_ids": ["show_a", "show_b"]}], "installments": [installment], } converted = convert_payload( "get_products", {"products": [product]}, direction="sync", source_version="3.3-beta.5", target_version="3.1", ) print(adcp.__version__) # 10.0.0b13 print(converted.payload["products"][0]["installments"]) # [{'installment_id': 'ep12', 'name': 'Episode 12'}] print(converted.metadata()) # [{'pointer': '/products/0/installments/0/collection_ref', 'source_version': '3.2', # 'target_version': '3.1', 'reason': 'field_unavailable'}] ExpectedWhen an installment has Workaround in the meantimeOur sales agent publishes ActivityMetadataMetadataAssigneesLabelsTypeProjectsMilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |