Not Setting the Maximum CPC Bid Limit value in Bidding Strategy Type 'Maximise Clicks' using Google API V1

56 views
Skip to first unread message

Chethan Kumar Annaldas

unread,
Jul 4, 2019, 6:58:13 AM7/4/19
to AdWords API and Google Ads API Forum

Maximum CPC Bid Limit Value for Bidding Strategy Type 'Maximise Clicks' is not updating in the Account.  Could anyone help me out... Is this an Issue or not?  Please, Share any examples to solve this type of Issues.

Google Ads API Forum Advisor Prod

unread,
Jul 5, 2019, 4:56:01 AM7/5/19
to adwor...@googlegroups.com
Hi Chetahn,

Before proceeding further, also, so I can better understand the issue, could you send to me the complete JSON logs of your request? You may send your reply using the Reply privately to author option.

Thanks and regards,
Peter
Google Ads API Team

ref:_00D1U1174p._5001UCb3Tg:ref

Chethan Kumar Annaldas

unread,
Jul 9, 2019, 2:22:54 AM7/9/19
to AdWords API and Google Ads API Forum
This is my Google API Request 

GoogleAds.DetailedRequestLogs Verbose: 1 : [2019-07-09 06:04:11Z] - 
---------------BEGIN API CALL---------------

Request
-------

Method Name: /google.ads.googleads.v1.services.CampaignService/MutateCampaigns
Headers: {
  "x-goog-api-client": "gl-dotnet/ gccl/2.2.0 gapic/2.2.0 gax/2.7.0 grpc/1.21.0",
  "developer-token": "REDACTED",
  "login-customer-id": "1604238709"
}

{ "customerId": "4966318427", "operations": [ { "update": { "resourceName": "customers/4966318427/campaigns/2052395459", "id": "2052395459", "networkSettings": { "targetGoogleSearch": true, "targetSearchNetwork": false, "targetContentNetwork": false, "targetPartnerSearchNetwork": false }, "biddingStrategyType": "TARGET_SPEND", "targetSpend": { "targetSpendMicros": "344", "cpcBidCeilingMicros": "344" } }, "updateMask": "resourceName,id,networkSettings.targetGoogleSearch,networkSettings.targetSearchNetwork,networkSettings.targetContentNetwork,networkSettings.targetPartnerSearchNetwork,biddingStrategyType,targetSpend.targetSpendMicros,targetSpend.cpcBidCeilingMicros" } ] }

Response
--------
Headers: {
  "content-disposition": "attachment",
  "request-id": "vg7eYqL9JXaU3D6sU33kzw",
  "date": "Tue, 09 Jul 2019 06:04:11 GMT",
  "alt-svc": "quic=\":443\"; ma=2592000; v=\"46,43,39\""
}

{ "results": [ { "resourceName": "customers/4966318427/campaigns/2052395459" } ] }

Google Ads API Forum Advisor Prod

unread,
Jul 9, 2019, 10:03:08 PM7/9/19
to adwor...@googlegroups.com
Hi,

I think the issue here is that you are specifying the target spend micros as 344, which translates to 344 / 1,000,000 = $0.000344. This value is so small that when the UI shows the rounded value, you see $0.00. However, the underlying value is set:

Query: SELECT campaign.id, campaign.target_spend.target_spend_micros FROM campaign WHERE campaign.id = 2052395459

Result:
    {
      "campaign": {

        "resourceName": "customers/4966318427/campaigns/2052395459",
        "id": "2052395459",
        "targetSpend": {
          "targetSpendMicros": "344"
        }
      }
    }


Values that end in "Micros" should be converted from the currency to micros by multiplying by 1 million, since 1 million micros is equivalent to 1 unit in the account's currency (e.g., $1 for USD). For example, if your intention is to set the value to 3.44 in the account's currency, then you should pass targetSpendMicros of 3440000, since that is 3.44 * 1 million. The same guidelines apply for cpcBidCeilingMicros.

Thanks,
Josh, Google Ads API Team

ref:_00D1U1174p._5001UCb3Tg:ref
Reply all
Reply to author
Forward
Message has been deleted
0 new messages