account | object or array of object or MicrosoftAdsAccountItem or string or integer | Yes | - | Destination Microsoft Ads account. |
campaign_ad_group_ids | array of GoogleImportCampaign | No | - | Source campaign/ad-group selection as an array or JSON text, e.g. [{“CampaignId”:123456789,“AdGroupIds”:[987654321]}]. On create, omission makes ALL source campaigns eligible. On update, omission preserves the selection. Microsoft may skip invalid source IDs during import; a submitted job does not prove every selected entity imported. |
campaign_types | array of string | No | - | Optional native GoogleImportJob.CampaignTypes filter. Omit to use Microsoft’s selection; on update omission preserves it. |
frequency | GoogleImportFrequency | No | - | Schedule object or JSON text. Create without a schedule runs immediately. Update without a schedule preserves the existing one. Example: {“Type”:“Scheduling”,“Cron”:“0 16 * * 3 *”,“TimeZone”:“GreenwichMeanTimeDublinEdinburghLisbonLondon”}. Use {“Type”:“RunNow”} for immediate execution. |
import_options | object or string | No | - | Native GoogleImportOption object or JSON text; all API options and ForwardCompatibilityMap are supported. Example: {“PauseNewCampaigns”:true,“UpdateEntities”:false,“DeleteRemovedEntities”:false}. Create defaults PauseNewCampaigns=true and UpdateEntities=false unless explicitly overridden. Other values use Microsoft defaults, which enable most imports. On update, omission preserves existing options; supplied options are forwarded as a partial update. Type defaults to GoogleImportOption. Pausing NEW campaigns does not pause existing campaigns. |
notification_email | string | No | - | Email address for Microsoft’s import-result notifications. |
notification_type | enum (None, Changes, Errors, EveryTime) | No | - | Microsoft import notifications: None, Changes, Errors, EveryTime. Omitted on create means None; omitted on update preserves the setting. |
dry_run | boolean | No | False | Show the request without submitting an import. Local payload preview only, not Microsoft validation or a prediction of imported entities. |
import_job_id | integer | Yes | - | Current Microsoft import job ID from List Import Jobs. A successful update replaces it with a new ID. Source Google account, credential and job name cannot be changed through this API. |
status | enum (Active, Pause, Deleted) | No | - | Change the IMPORT JOB status, not campaign status. Pause stops future scheduled runs; Deleted removes the job. Omit to preserve its status. |