Re: fieldMaskError: "FIELD_HAS_SUBFIELDS" when updating campaign bidding strategy

2023-01-22 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Franklin,

Thank you for reaching out to us.

For our team to further investigate first, could you also please provide us 
with the complete API logs (request and response with request-id) generated on 
your end?

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

And for this, "Before setting a cpc bid limit was optional. I guess now is 
required?"
- This is still an optional field entered by the advertiser and specified in 
local micros. You may check this reference for more details.

Best regards,

Heidi
Google Ads API Team
ref:_00D1U1174p._5004Q2NUqn4: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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
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 adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/I919d0ROX3FL00zxHU4LEYRgaxiIKUODEiHw%40sfdc.net.


Re: fieldMaskError: "FIELD_HAS_SUBFIELDS" when updating campaign bidding strategy

2023-01-20 Thread Franklin Buitron
We are facing the same issue.
Before setting a cpc bid limit was optional.

I guess now is required?

Did you all solved this issue?

On Thursday, November 11, 2021 at 3:05:39 AM UTC-3 adsapi wrote:

> Hi Quan,
>
> To investigate and to provide suggestions to your concern, could you 
> provide the complete request 
> 
>  
> and response 
> 
>  
> logs with request ID 
> 
>  
> and request header 
> 
>  
> generated on your end with error when applying 0 to the 
> *CpcBidCeilingMicros*?
>
> You can provide it via *Reply privately to author* option. If this option 
> is not available, then send it instead on this email address 
> googleadsa...@google.com.
>
>
> Regards,
>
> Reminder: Share your feedback about the Google Ads (AdWords) API! Take the 
> 2021 
> Google Ads API and AdWords API Annual Survey 
> 
>   
> [image: Google Logo] 
> Ernie John Blanca Tacata 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2NUqn4: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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
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 adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/b10d8580-02d5-4872-817b-fbe3787c5d12n%40googlegroups.com.


Re: fieldMaskError: "FIELD_HAS_SUBFIELDS" when updating campaign bidding strategy

2021-11-10 Thread 'Google Ads API Forum Advisor' via AdWords API and Google Ads API Forum
Hi Quan,

To investigate and to provide suggestions to your concern, could you provide 
the complete request and response logs with request ID and request header 
generated on your end with error when applying 0 to the CpcBidCeilingMicros?

You can provide it via Reply privately to author option. If this option is not 
available, then send it instead on this email address 
googleadsapi-supp...@google.com.

Regards,

Reminder: Share your feedback about the Google Ads (AdWords) API! Take the 2021 
Google Ads API and AdWords API Annual Survey

Ernie John Blanca Tacata
Google Ads API Team
ref:_00D1U1174p._5004Q2NUqn4: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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
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 adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/KGGf_0R2E8X000DkLWE8TTQ8CEZewJ36tdwg%40sfdc.net.


Re: fieldMaskError: "FIELD_HAS_SUBFIELDS" when updating campaign bidding strategy

2021-11-10 Thread quan zhang
Hi Ernie,

Thanks for your reply. One more follow-up question. Can I set the  
c*ampaign.TargetSpend.CpcBidCeilingMicros 
= long.MAXVALUE  *instead of 0 if I don't want to have the bid ceiling? 
Setting to 0 still gives me the error I showed in my original post

Quan

On Tuesday, 9 November 2021 at 21:19:52 UTC-8 adsapi wrote:

> Hi Quan,
>
> Thank you for the reply. I am also a member of the Google Ads API team and 
> let me provide support to your concern.
>
> Yes, you may try to set 0 to that field. Let me know how it goes after.
>
> Regards,
>
> Reminder: Share your feedback about the Google Ads (AdWords) API! Take the 
> 2021 
> Google Ads API and AdWords API Annual Survey 
> 
>   
> [image: Google Logo] 
> Ernie John Blanca Tacata 
> Google Ads API Team 
>   
>  
>
> ref:_00D1U1174p._5004Q2NUqn4: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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
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 adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/1412b29f-0a87-4dee-b3ab-27676b4b13f2n%40googlegroups.com.


Re: fieldMaskError: "FIELD_HAS_SUBFIELDS" when updating campaign bidding strategy

2021-11-09 Thread 'Google Ads API Forum Advisor' via AdWords API and Google Ads API Forum
Hi Quan,

Thank you for the reply. I am also a member of the Google Ads API team and let 
me provide support to your concern.

Yes, you may try to set 0 to that field. Let me know how it goes after.

Regards,

Reminder: Share your feedback about the Google Ads (AdWords) API! Take the 2021 
Google Ads API and AdWords API Annual Survey

Ernie John Blanca Tacata
Google Ads API Team
ref:_00D1U1174p._5004Q2NUqn4: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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
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 adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/CZpGc0R2CC4M007RR6y3q2SbKfJP-TVqitvw%40sfdc.net.


Re: fieldMaskError: "FIELD_HAS_SUBFIELDS" when updating campaign bidding strategy

2021-11-09 Thread quan zhang
Hi,

What is the default value of the  *campaign.TargetSpend.CpcBidCeilingMicros 
? * It seems I must set some value to bypass this issue. Can I put the 
value to be 0 if I don't want to specify a  *CpcBidCeilingMicros ?*

Thanks,
Quan

On Thursday, 16 September 2021 at 23:32:01 UTC-7 adsapi wrote:

> Hi Quan,
>
> In order for our team to take a closer look at the error you encountered, 
> could you also provide the complete request 
> 
>  
> and response 
> 
>  
> logs, with the request-id 
> 
> ?
>
> If you haven't yet, logging can be enabled by navigating to the *Client 
> libraries > Your client library (ex. Java) > Logging* documentation, 
> which you can access from this link 
> . 
> For .NET, you can check out this other link 
> 
>  
> instead.
>
> 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.
>
> Best regards,
>
> [image: Google Logo] 
> Peter Laurence Napa Oliquino 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2NUqn4: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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
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 adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/b301227c-4d9e-4462-836f-9ccf13b0789cn%40googlegroups.com.


RE: fieldMaskError: "FIELD_HAS_SUBFIELDS" when updating campaign bidding strategy

2021-09-16 Thread Google Ads API Forum Advisor
Hi Quan,

In order for our team to take a closer look at the error you encountered, could 
you also provide the complete request and response logs, with the request-id?

If you haven't yet, logging can be enabled by navigating to the Client 
libraries > Your client library (ex. Java) > Logging documentation, which you 
can access from this link. For .NET, you can check out this other link instead.

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 googleadsapi-supp...@google.com alias instead.

Best regards,

Peter Laurence Napa Oliquino
Google Ads API Team
ref:_00D1U1174p._5004Q2NUqn4: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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
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 adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/aNSxM0QZKFGT0053mOb0OYTkSPTnEJ4Z2t-A%40sfdc.net.


fieldMaskError: "FIELD_HAS_SUBFIELDS" when updating campaign bidding strategy

2021-09-16 Thread 'Quan Zhang' via AdWords API and Google Ads API Forum
Hi,

I'm using .NET sdk to create and update a Google Campaign and met the 
following issue:

I'm using the following way to create a campaign with MaxClicks bidding 
scheme and everything goes well:
*campaign.BiddingStrategyType = BiddingStrategyType.TargetSpend;*
*campaign.TargetSpend = new TargetSpend();*

However, when I try to update a campaign (without any actual) like:

*campaign.ResourceName = campaignResourceName;*
*campaign.BiddingStrategyType = BiddingStrategyType.TargetSpend;*
*campaign.TargetSpend = new TargetSpend();*

The API returns the *error*:
errors": [
  {
"errorCode": {
  "*fieldMaskError*": "FIELD_HAS_SUBFIELDS"
},
"*message*": "The field mask updated a field with subfields: '
target_spend'.",
"location": {
  "fieldPathElements": [
{
  "fieldName": "operations",
  "index": 0
}
  ]

But I don't receive the error when setting 
"*campaign.TargetSpend.CpcBidCeilingMicros" 
*to some value in the update call. 

I'm using the following way to call:
*return new CampaignOperation()*
*{*
*Update = CampaignToUpdate,*
*UpdateMask = FieldMasks.AllSetFieldsOf(CampaignToUpdate)*
*};*

Is the behavior expected?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
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 adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/ced1ea0a-e8ae-4cfd-bece-4333f1b1a096n%40googlegroups.com.