Page Summary
-
App campaigns in the Google Ads API support different goals, including getting more installs, finding users likely to install and perform in-app actions, finding users most likely to complete specific in-app actions, driving in-app action value, and driving app pre-registrations.
-
The settings for specific campaign types, such as
advertising_channel_sub_type,app_campaign_setting.bidding_strategy_goal_type, and bidding strategy, vary depending on the chosen campaign focus. -
App campaigns in the Google Ads API have an
advertising_channel_typeofMULTI_CHANNELand cannot use a shared campaign budget or a portfolio bidding strategy. -
Selective optimization is used to indicate the conversion types for which Google Ads should optimize your campaign and is required for
APP_CAMPAIGN_FOR_ENGAGEMENTcampaigns, automatically added forAPP_CAMPAIGN_FOR_PRE_REGISTRATIONcampaigns, and optional otherwise. -
Campaign targeting can be refined by adding
CampaignCriterionobjects for language and location.
Follow these steps to create an ad campaign.
Preparation
The focus of your campaign will determine the values for specific settings as well as which features you can use. Before you start coding, choose and expand one option from the following list and refer to its settings as you go through each step in the campaign creation process.
For more information on the different campaign types and goals, see the Google Ads Help article on App campaigns.
Steps
Using the settings for the selected area of focus, follow these steps to create an App campaign.
Set the
name.Set the
advertising_channel_typetoMULTI_CHANNEL.Set the
campaign_budgetto the resource name of an existing campaign budget. If you need to create a campaign budget, follow the code example in the Create Campaigns guide.Set the
advertising_channel_sub_typebased on your selected goal.Set the
app_campaign_settingto anAppCampaignSettingwith:app_storeset to the appropriateAppCampaignAppStorefor your app.app_idset to the identifier for your app (for example, the package namecom.example.appfor Google Play, or the numeric store ID for Apple App Store).bidding_strategy_goal_typebased on your selected goal.
Set the bidding strategy field according to your selected goal:
- For target-based bidding goals (target CPA or target install cost), set
target_cpawith itstarget_cpa_microsfield specified in micros of your account currency (for example, $1.50 is1500000). - For target ROAS bidding goals, set
target_roaswith itstarget_roasfield specified as a double representing your target return on advertising spend (for example,3.0for 300%). - For non-target bidding goals without target install cost or without
target CPA, set
maximize_conversions. - For non-target bidding goals without target ROAS, set
maximize_conversion_value.
- For target-based bidding goals (target CPA or target install cost), set
Indicate the conversion types for which Google Ads should optimize your campaign by setting its
selective_optimization, where the resource name of each conversion action is in theconversion_actionslist.This is required if the campaign's
advertising_channel_sub_typeisAPP_CAMPAIGN_FOR_ENGAGEMENT, or if optimizing for in-app actions or target ROAS, but optional otherwise.Campaigns with the
advertising_channel_sub_typeofAPP_CAMPAIGN_FOR_PRE_REGISTRATIONwill automatically have conversion actions added to them once the first user pre-registers, and can only track pre-registration conversions.(Optional) Refine your campaign's targeting by adding
CampaignCriterionobjects. App campaigns support campaign-level targeting bylanguageandlocation.You can also attach negative keyword shared sets to App campaigns by creating a
CampaignSharedSetthat links the campaign to aSharedSetof typeNEGATIVE_KEYWORDS.(Optional, starting in v24) Enable view-through conversion (VTC) optimization by setting
view_through_conversion_optimization_enabledtotrue.When enabled, Google Ads optimizes your App campaign for view-through conversions in addition to click-through conversions. This setting is only supported for Android (
GOOGLE_APP_STORE) campaigns with anadvertising_channel_sub_typeofAPP_CAMPAIGN.
Code example
See Add app campaign.