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
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
---
You received this message because you are subscribed to the Google Groups
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/adwords-api/mzXcH000000000000000000000000000000000000000000000PUELOS00IGbqizmySEaGMEEhewHsfA%40sfdc.net.