Share your feedback about the Google Ads (AdWords) API. Take the 2021 AdWords API and Google Ads API Annual Survey.

CampaignError

Enum describing possible campaign errors.

Enums

UNSPECIFIED

Enum unspecified.

UNKNOWN

The received error code is not known in this version.

CANNOT_TARGET_CONTENT_NETWORK

Cannot target content network.

CANNOT_TARGET_SEARCH_NETWORK

Cannot target search network.

CANNOT_TARGET_GOOGLE_SEARCH_FOR_CPM_CAMPAIGN

Cannot target Google Search network for a CPM campaign.

CAMPAIGN_MUST_TARGET_AT_LEAST_ONE_NETWORK

Must target at least one network.

CANNOT_TARGET_PARTNER_SEARCH_NETWORK

Only some Google partners are allowed to target partner search network.

CANNOT_TARGET_CONTENT_NETWORK_ONLY_WITH_CRITERIA_LEVEL_BIDDING_STRATEGY

Cannot target content network only as campaign has criteria-level bidding strategy.

CAMPAIGN_DURATION_MUST_CONTAIN_ALL_RUNNABLE_TRIALS

Cannot modify the start or end date such that the campaign duration would not contain the durations of all runnable trials.

CANNOT_MODIFY_FOR_TRIAL_CAMPAIGN

Cannot modify dates, budget or status of a trial campaign.

DUPLICATE_CAMPAIGN_NAME

Trying to modify the name of an active or paused campaign, where the name is already assigned to another active or paused campaign.