Setting ad group target CPA to default not working

45 views
Skip to first unread message

GDZ

unread,
Feb 28, 2023, 3:55:00 PM2/28/23
to Google Ads API and AdWords API Forum
Hello!

If an individual ad group is using campaign targetCPA API returns its value as 0.

But if ad group has its own target CPA and I try to set it to default campaign's target CPA and setting ad_group.target_cpa_micros = 0 in order to update an ad group, API leaves individual ad group's target CPA intact. Nothing changes. Any other value other than 0 works just fine, changing ad group's target CPA value.

So how can we remove individual target CPA in the ad group to make it use default campaign's target CPA?

No errors are thrown. Logs show everything is OK.

Thank you!

Google Ads API Forum Advisor

unread,
Mar 1, 2023, 3:38:13 AM3/1/23
to pakh...@gmail.com, adwor...@googlegroups.com
Hi,

Thank you for reaching out to us.

For our team to further check and investigate this, could you please provide us with the complete API logs (request and response with request-id) generated on your end? Note that these logs can be requested or provided to the developer handling the Google Ads API transactions when logging of the API requests has been enabled. You may check here and click your client library for the specific guideline to enable it.

For REST interface requests, you can enable logging via the curl command by using the -i flag. This will cause the tool to include the HTTP response headers in the output.

You may then send the requested information via the Reply privately to author option. If this option is not available, you may send the details directly to our googleadsa...@google.com alias instead.

On the other hand, kindly note that the target_cpa_micros field of a TargetCpa bidding scheme (or a MaximizeConversions with its target_cpa field set) can be overridden at the ad group level by setting the ad group's target_cpa_micros field. The other fields of the bidding scheme cannot be overridden.

To remove an override, unset target_cpa_micros of the ad group by sending a mutate request with an empty field value but still supplying the path in a field mask (e.g., PHP).

You may check this documentation for more information on overriding Target CPA at the ad group level.


Best regards,
Google Logo Google Ads API Team


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