final_urls | string or array of string | No | - | Keyword landing-page URLs as an array, JSON array, or a single URL, e.g. [“https://www.example.com/products”]. Omitted: uses the ad landing page. For bulk creation, acts as a default for rows without final_urls; each row can override it. |
final_mobile_urls | string or array of string | No | - | Mobile landing-page URLs as an array, JSON array, or a single URL. Microsoft requires final_urls too. Bulk rows override this default. |
tracking_url_template | string | No | - | Keyword tracking template, e.g. ‘{lpurl}?source={_source}’. Bulk rows override this default. |
final_url_suffix | string | No | - | Tracking parameters appended to the landing page, e.g. ‘utm_source=bing&utm_medium=cpc’. Bulk rows override this default. |
url_custom_parameters | object or string | No | - | Native Microsoft custom-parameters object or JSON string, e.g. {“Parameters”:[{“Key”:“source”,“Value”:“bing”}]}. Microsoft requires a final URL when custom parameters or a tracking template are set. Bulk rows override this default. |
account | object or array of object or MicrosoftAdsAccountItem or string or integer | Yes | - | Select the Microsoft Ads account that owns the ad group. |
update_type | string or SelectableOption | Yes | - | Choose whether to add a single keyword or multiple keywords at once. Options: ‘single’ or ‘bulk’. |
ad_group_id | string or SelectItem | No | - | Enter the ad group ID to add the keyword to. Required for single add. |
keyword | string | No | - | The keyword text to add. Required for single add. |
match_type | string or SelectableOption | No | - | Keyword match type. Options: Broad, Phrase, or Exact. Required for single add. |
status | string or SelectableOption | No | - | Initial keyword status. Options: Active or Paused. Required for single add. |
bid | number or string | No | - | Optional max CPC bid for the keyword in the account currency. If omitted, the keyword uses the ad group default bid. |
structured_data | array (also accepts a comma-separated string) | No | - | Structured data for bulk add. Required columns: ‘ad_group_id’, ‘keyword’, ‘match_type’, ‘status’. Optional columns: ‘bid’, ‘final_urls’, ‘final_mobile_urls’, ‘tracking_url_template’, ‘final_url_suffix’, ‘url_custom_parameters’. URL/tracking fields accept the same values as the top-level inputs; a row value (including null) overrides the top-level default. Required for bulk add. |