how to create app campaign using google ads api

83 views
Skip to first unread message

Kim Hung

unread,
Jul 3, 2019, 3:27:28 AM7/3/19
to AdWords API and Google Ads API Forum
How can I create App Campaign in google ads API in python?
refer from this link https://developers.google.com/google-ads/api/docs/app-campaigns/create-campaign.
I got error as follows for app campaign (but the Search Campaign is no problem)
  create {
  name {
    value: "uac_android_city_state_test"
  }
  status: PAUSED
  campaign_budget {
    value: "customers/1792**6327/campaignBudgets/21186***01"
  }
  advertising_channel_type: MULTI_CHANNEL
  advertising_channel_sub_type: APP_CAMPAIGN
  start_date {
    value: "20190702"
  }
  bidding_strategy_type: TARGET_CPA
  target_cpa {
    target_cpa_micros {
      value: 1500000
    }
  }
  app_campaign_setting {
    bidding_strategy_goal_type: OPTIMIZE_INSTALLS_TARGET_INSTALL_COST
    app_id {
      value: "com.particlenews.newsbreak"
    }
    app_store: GOOGLE_APP_STORE
  }
}
No handlers could be found for logger "google.ads.google_ads.client"
Request with ID "LzvtDNej1mg6-hTGDamz1g" failed with status "INVALID_ARGUMENT" and includes the following errors:
        Error with message "A mutate action is not allowed on this campaign, from this client.".
                On field: operations


Google Ads API Forum Advisor Prod

unread,
Jul 3, 2019, 9:43:51 PM7/3/19
to adwor...@googlegroups.com
Hi Kim,

Thank you for reaching out in this forum.

The reason you are encountering an error in creating app campaigns in Google Ads API is probably because you are not yet whitelisted for this feature. Creating and managing of app campaigns is only available for whitelisted customers as stated in this guide.

Can you confirm if you have already been whitelisted? If not, you may contact your Google representative to assist you with the whitelisting. You may refer to this blog post for more details.

Regards,
Dannison
Google Ads API Team

ref:_00D1U1174p._5001UCalsd:ref
Reply all
Reply to author
Forward
0 new messages