upload_and_associate_creative
Upload an image creative and link it to a Google Ad Manager line item with a click-through URL, streamlining ad setup in one operation.
Instructions
Upload a creative and associate it with a line item in one step.
Args: file_path: Path to the image file advertiser_id: ID of the advertiser line_item_id: ID of the line item click_through_url: Destination URL when clicked creative_name: Optional name for the creative
Returns the creative and association details.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"file_path": "<file_path>",
"advertiser_id": "<advertiser_id>",
"line_item_id": "<line_item_id>",
"click_through_url": "<click_through_url>"
},
"name": "upload_and_associate_creative"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | ||
| advertiser_id | Yes | ||
| line_item_id | Yes | ||
| click_through_url | Yes | ||
| creative_name | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |