Campaign Object


A Google Ads campaign managed through the Wix Promote interface. A campaign can be either a Smart Campaign or a Performance Max campaign, determined by the campaignType field.

Properties
accountIdstringformat GUID

Wix internal account ID associated with this campaign.


actionDatestringRead-onlyformat date-time

Date and time of the most recent lifecycle action (pause, resume, launch, etc.).


adScheduleWeeklyAdSchedule

Weekly ad schedule defining the days and hours when ads can run.


budgetCampaignBudget

Daily budget for the campaign.


One Of

performanceMaxCampaignPerformanceMaxCampaign

Performance Max campaign details. Present when campaignType is PERFORMANCE_MAX or PERFORMANCE_MAX_LEADS.


smartCampaignSmartCampaign

Smart Campaign details. Present when campaignType is SMART.


campaignBriefCampaignBrief

The brief used to generate this campaign. Only present on campaigns created via the GetCampaignSuggestions endpoint of SuggestionsService.


campaignTypestring

createdDatestringRead-onlyformat date-time

Date and time the campaign was created.


idstringRead-onlyformat GUID

Unique campaign ID.


locationsArray <LocationCriterion>maxItems 1000

Geographic locations targeted by this campaign.


namestringmaxLength 1000

Display name of the campaign.


reportingKeystringRead-onlymaxLength 1000

Value used as the utm_campaign parameter for conversion tracking.


resourceNamestringRead-onlymaxLength 1000

Google Ads resource name for this campaign, e.g. customers/{customerId}/campaigns/{campaignId}.


statusstringRead-only

updatedDatestringRead-onlyformat date-time

Date and time the campaign was last updated.

Did this help?