Hi,

When executing a request 
SELECT campaign_group.id, campaign.name, campaign.advertising_channel_type, 
campaign.target_spend.cpc_bid_ceiling_micros FROM campaign WHERE campaign.id = 
'campaign.id' 

Everything is ok. We receive a response.

[{
    "results": [{
        "campaign": {
            "resourceName": "customers/65****09/campaigns/20****20",
            "advertisingChannelType": "SEARCH",
            "targetSpend": {
                "cpcBidCeilingMicros": "60000000"
            },
            "name": "Закрытие фирмы (Чехия)"
        }
    }],
    "fieldMask": "campaignGroup.id,campaign.name,campaign.
advertisingChannelType,campaign.targetSpend.cpcBidCeilingMicros",
    "requestId": "3n9KA_ExPA1OalS83JHPuw",
    "queryResourceConsumption": "136"
}]

But the mutation does not pass this request:
{ "operations": [ { "update": { "resourceName": 
"customers/**********/campaigns/"***********, "maximizeConversions": { 
"targetCpaMicros": 58000000 } }, "updateMask": 
"maximizeConversions.targetCpaMicros" } ] }

We get an error:
{
    "error": {
        "code": 400,
        "message": "Invalid JSON payload received. Unknown name 
\"maximizeConversions\" at 'operations[0].update': Cannot find field.",
        "status": "INVALID_ARGUMENT",
        "details": [{
            "@type": "type.googleapis.com/google.rpc.BadRequest",
            "fieldViolations": [{
                "field": "operations[0].update",
                "description": "Invalid JSON payload received. Unknown name 
\"maximizeConversions\" at 'operations[0].update': Cannot find field."
            }]
        }]
    }
}

понедельник, 10 марта 2025 г. в 22:00:43 UTC+2, Google Ads API Forum 
Advisor: 

> Hi,
>
> From the provided logs, I could see that the customer Id and campaign Id 
> fields are redacted. Could you please provide us with the complete API 
> logs (*request* 
> <https://developers.google.com/google-ads/api/docs/concepts/field-service#request>
>  and* response* 
> <https://developers.google.com/google-ads/api/docs/concepts/field-service#response>
>  logs with* request-id* 
> <https://developers.google.com/google-ads/api/docs/concepts/call-structure#request-id>
>  and* request header* 
> <https://developers.google.com/google-ads/api/docs/concepts/call-structure#request_headers>)
>  
> without redacting any fields.
>
>
> You can send the details via *Reply privately* to the author option, or 
> direct private reply to this email. 
>
> Thanks,
>   
> [image: Google Logo] Google Ads API Team 
> Feedback
> How was our support today? 
>
> [image: rating1] 
> <https://docs.google.com/forms/d/e/1FAIpQLSeRhIg5VeThVmbcD0c5DTWTDjmpJuSktN8vFelEL7_KV_Orbg/viewform?usp=pp_url&entry.141427034=1&entry.295079254=5004Q00002vH75gQAC>
>   
>   [image: rating2] 
> <https://docs.google.com/forms/d/e/1FAIpQLSeRhIg5VeThVmbcD0c5DTWTDjmpJuSktN8vFelEL7_KV_Orbg/viewform?usp=pp_url&entry.141427034=2&entry.295079254=5004Q00002vH75gQAC>
>   
>   [image: rating3] 
> <https://docs.google.com/forms/d/e/1FAIpQLSeRhIg5VeThVmbcD0c5DTWTDjmpJuSktN8vFelEL7_KV_Orbg/viewform?usp=pp_url&entry.141427034=3&entry.295079254=5004Q00002vH75gQAC>
>   
>   [image: rating4] 
> <https://docs.google.com/forms/d/e/1FAIpQLSeRhIg5VeThVmbcD0c5DTWTDjmpJuSktN8vFelEL7_KV_Orbg/viewform?usp=pp_url&entry.141427034=4&entry.295079254=5004Q00002vH75gQAC>
>   
>   [image: rating5] 
> <https://docs.google.com/forms/d/e/1FAIpQLSeRhIg5VeThVmbcD0c5DTWTDjmpJuSktN8vFelEL7_KV_Orbg/viewform?usp=pp_url&entry.141427034=5&entry.295079254=5004Q00002vH75gQAC>
>
> [2025-03-10 20:00:10Z GMT] This message is in relation to case 
> "ref:!00D1U01174p.!5004Q02vH75g:ref" (ADR-00292245)
>
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/adwords-api/8b62b8ff-e0de-4496-9ca6-c697d5960f5dn%40googlegroups.com.
  • Ma... Сергей Александрович
    • ... Сергей Александрович
      • ... Сергей Александрович
        • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
    • ... Сергей Александрович

Reply via email to