Hello,
I am currently using the API to create and update Campaign Experiments. I
would like to update draft content in the Ad Group and Ad, however am
running into trouble programmatically retrieving the identifiers of the
draft Ad Group to perform modifications. When I create a new draft Campa
Hi Will,
Thanks for reaching out to us.
Kindly note that you may need to differentiate an experiment campaign and a
base campaign in your search query by selecting campaign.experiment_type, which
will be BASE, DRAFT, or EXPERIMENT to differentiate the type of campaign. You
may refer to this gu
If anyone runs into this you need to add the following to your query after
the WHERE clause:
PARAMETERS include_drafts=true
On Thursday, November 25, 2021 at 3:32:25 AM UTC-5 adsapi wrote:
> Hi Will,
>
> Thanks for reaching out to us.
>
> Kindly note that you may need to differentiate an experi
Hi Will,
Is there anything else you need support for in Ads API?
Reminder: Share your feedback about the Google Ads (AdWords) API! Take the 2021
Google Ads API and AdWords API Annual Survey
Regards,
Aryeh Baker
Google Ads API Team
ref:_00D1U1174p._5004Q2Rw2hc:ref
--
--
=~=~=~=~=~=~=~=~=~=~=
Sure, the issue I am currently having trouble with is transitioning a
campaign from a Portfolio Bidding Strategy to a Standard Bidding Strategy.
I am performing an update on the campaign, setting the correct fields for
the standard bidding strategy, and trying various methods of setting the
bid
For reference I am using the
following:
https://developers.google.com/google-ads/api/reference/rpc/v9/CampaignOperation#update
On Wednesday, December 1, 2021 at 3:35:14 PM UTC-5 Will Schymik wrote:
> Sure, the issue I am currently having trouble with is transitioning a
> campaign from a Portfo
Hi Will,
I was able to change from portfolio bidding to standard bidding by just
entering a standard bid and update mask of the standard bid to the new bid
strategy. To address your use case, could you privately send us a request and
response log of API communication that returns this error?
T
Sent a "reply to author" with the requests for creating and updating the
campaign. Let me know if you did not receive it as I cannot seem to figure
out where the message is viewed.
On Thursday, December 2, 2021 at 10:29:26 AM UTC-5 adsapi wrote:
> Hi Will,
>
> I was able to change from portfoli
I am using the python SDK, and it seems as if when I specify manual_cpc on
the campaign it does not appear on the field mask when I use the suggested
protobuf_helpers.field_mask to construct it:
protobuf_helpers.field_mask(None, campaign._pb)
It does however appear in the resulting campaign_ope
Seems as if the issue I am running into is the same one discussed in this
post but for the python
library: https://groups.google.com/g/adwords-api/c/GB4sReLzky4/m/_gk6ifgvBwAJ
Currently trying to figure out how to manually update the field mask to add
these values. If anyone has any pointers as
Was able to update the field mask manually. Am running into issues clearing
the bidding_strategy from the campaign. I had thought getting manual_cpc in
the field mask might resolve this and is has not. I am getting the
following response:
error_code {
field_error: FIELD_CANNOT_BE_CLEARED
Hi Will,
Thank you for sharing your log privately. I replicated your issue using
update_campaign.py. We have a guide to Setting Empty Message Objects as Fields
that shows how to create a manual_cpc strategy without enabling enhanced cpc.
The modification I did based on that guide was I added un
Hi Will,
The 'bidding strategy' field is one of the possible union fields of
campaign_bidding_strategy. That field can only be deleted by replacement with
another of the union fields.
Regards,
Aryeh Baker
Google Ads API Team
ref:_00D1U1174p._5004Q2Rw2hc:ref
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=
Thanks for the response!
Setting "enhanced_cpc_enabled = True" does seem to add it to the field
mask, however I was able to figure out how to do this manually. Even with
it added to the field mask I am getting the issue with removing the
bidding_strategy field as noted above.
In regards to "Th
Hello Will,
I'm checking with someone on the team to see if they know more about this.
Cheers,
Nadine Wang
Google Ads API Team
Reminder: Share your feedback about the Google Ads (AdWords) API! Take the 2021
Google Ads API and AdWords API Annual Survey
ref:_00D1U1174p._5004Q2Rw2hc:ref
--
--
Thank you!
On Monday, December 6, 2021 at 7:50:45 PM UTC-5 adsapi wrote:
> Hello Will,
>
> I'm checking with someone on the team to see if they know more about this.
>
> Cheers,
>
> [image: Google Logo]
> Nadine Wang
> Google Ads API Team
> Reminder: Share your feedback about the Google Ads
I finally figured this out! The key is to not have "bidding_strategy" in
the update mask and only "manual_cpc.enhanced_cpc_enabled". This seems to
work.
For the python library I had to update the protobuf_helper.field_mask
helper method to compare against None instead of the original object and
Hi Will,
Thanks for letting us know. Nadine passed this issue along to me as I'm the
maintainer of the Python client library. I see you also posted a related issue
to that repo, which is great, I'll respond there as well. Meanwhile will let
you know that this is a known behavior of the field ma
Thanks Ben!
Adding the field mask appending to the documentation would be awesome.
It also seems odd to me that using the old campaign as the base object in
the field mask helper caused issues. I would expect this is the intended
way of creating a field mask (comparing the new values to old val
Hey Will,
Yes, the field mask helper is actually pretty simple. You can also pass None as
one of the paramters, and it will compare the other object to a blank version
of the same type. I just did some simple experimentation and it doesn't seem as
though it handles oneof fields (like bidding st
20 matches
Mail list logo