Modify target cpa on app campaign

47 views
Skip to first unread message

Yudi Xue

unread,
Jun 19, 2019, 6:18:10 AM6/19/19
to AdWords API and Google Ads API Forum
Hello,

We have a few App Campaigns that we would like to update TargetCpa value via API:

campaign {
  resource_name: "customers/xxxxxxxxx/campaigns/xxxxxxxxxx"
  id {
    value: 1748163543
  }
  name {
    value: "App-1"
  }
  status: ENABLED
  campaign_budget {
    value: "customers/xxxxxxxxx/campaignBudgets/xxxxxxxxxx"
  }
  advertising_channel_sub_type: APP_CAMPAIGN
  bidding_strategy_type: TARGET_CPA
  target_cpa {
    target_cpa_micros {
      value: 80000000
    }
  }
}

I found that we could not modify target_cpa with campaign mutate operations from google ads sdk:

AttributeError: Assignment not allowed to field "target_cpa" in protocol message object.

Can we modify target_cpa for app campaign with googleads sdk? 

What can I do to modify that via API?

Thank you!

Yudi

Google Ads API Forum Advisor Prod

unread,
Jun 20, 2019, 10:18:17 AM6/20/19
to yx...@kabaminc.com, adwor...@googlegroups.com
Hello Yudi, 

You will be able to update the App Campaigns TargetCpa value by setting the cpc_bid_floor_micros value. Could you please give this a try and let us know if you have any issues?

Thanks,
Bharani, Google Ads API Team

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