create_campaign
Automate Google Ad Manager campaign setup by creating advertisers, orders, line items, and uploading creatives in a single workflow to streamline ad operations.
Instructions
Create a complete campaign: find/create advertiser, order, line item, and upload creatives.
Args: advertiser_name: Name of the advertiser order_name: Name for the order line_item_name: Name for the line item end_year: End date year end_month: End date month (1-12) end_day: End date day (1-31) creatives_folder: Path to folder containing creative images click_through_url: Destination URL for all creatives target_ad_unit_id: Ad unit ID to target (find via GAM UI or ad unit tools) goal_impressions: Impression goal (default: 100000) line_item_type: Type of line item (STANDARD, SPONSORSHIP, NETWORK, BULK, PRICE_PRIORITY, HOUSE, etc.) creative_sizes: JSON string of sizes, e.g. '[{"width": 300, "height": 250}, {"width": 728, "height": 90}]'
This is a complete workflow that:
Finds or creates the advertiser
Finds or creates the order
Creates the line item
Uploads all creatives from the folder
Associates creatives with the line item
Returns complete campaign creation results.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| advertiser_name | Yes | ||
| order_name | Yes | ||
| line_item_name | Yes | ||
| end_year | Yes | ||
| end_month | Yes | ||
| end_day | Yes | ||
| creatives_folder | Yes | ||
| click_through_url | Yes | ||
| target_ad_unit_id | Yes | ||
| goal_impressions | No | ||
| line_item_type | No | STANDARD | |
| creative_sizes | No |