Hi Vinutha,
That's great! Thanks for letting me know. For future reference, since this is a
confusing part of the library, I added a bit of documentation to our developer
site to address this question. In case you run into this again, feel free to
reference this page .
Best,
Ben, Google Ads AP
Hi Ben,
Thank you.
I used it as follows : campaign.manual_cpm.CopyFrom(client.get_type(
'ManualCpm', version='v1')) like you suggested and it seems to work.
Thanks again !
Vinutha Nayak
On Wednesday, 10 July 2019 18:43:10 UTC+5:30, adsapiforumadvisor wrote:
>
> Hi Vinuntha,
>
> You'll want
Hi Vinuntha,
You'll want to use the CopyFrom method that is part of all message classes in
Python, so for example:
manual_cpm = client.get_type('ManualCpm', version='v1')
campaign.manual_cpm.CopyFrom(manual_cpm)
Hope that helps! let me know if you have any additional questions.
Best,
Ben Karl,
Hello,
Sorry for the delay. I'm going to route this issue to someone who has more
familiarity with the python library, who should hopefully be able to assist.
Regards,
Mike, Google Ads API Team
ref:_00D1U1174p._5001UCZl6w:ref
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us
Hi Mike,
Can you please get back on this one please ?
Thanks and Regards,
Vinutha Nayak
On Thursday, 4 July 2019 11:57:09 UTC+5:30, Vinutha Nayak wrote:
>
> Hi Mike,
>
> I tried the syntax as you suggested . It still gives same error :
>
>
> [image: googleadsquery.PNG]
>
>
>
>
>
> File "test.p
Hi Mike,
I tried the syntax as you suggested . It still gives same error :
[image: googleadsquery.PNG]
File "test.py", line 68, in main
*campaign.manual_cpm = client.get_type('ManualCpm', version='v1')*
*AttributeError: Assignment not allowed to field "manual_cpm" in protocol
messag
Hello,
The manual_cpm type doesn't have any parameters. You simply have to instantiate
one like you would any other resource and then attach it to the campaign. I'm
not an expert at the Python library, but from looking at other examples it
looks like it would be something like this:
campaign.m
Hi Mike,
Thanks for responding back .
What should be the value of "campaign.manual_cpm" be set to ? I tried
several combinations but none seems to work .
If I set it to :
campaign.manual_cpm = True
or
campaign.manual_cpm = "ManualCpm"
I get following error
AttributeError: Assignment no
Hello,
It appears my response may have gotten lost. I've reproduced it below:
>From the code you shared:
campaign.manual_cpc.enhanced_cpc_enabled.value = False
campaign.campaign_budget.value =
campaign_budget_response.results[0].resource_name
campaign.bidding_strategy_type =
client.get_type('B
Hi Dannison,
I have sent you the logs requested few days back. Could you please let me
know if you were able to progress ?
At the least I just need a response to convince myself that it is being
looked upon please ?
Thanks and Regards,
Vinutha Nayak
On Friday, 28 June 2019 13:00:29 UTC+5:
Hi Vinutha,
I am a colleague of Ejay. Your concern was passed on to me as this is a Google
Ads API related concern.
It would be hard to troubleshoot the issue given a fragment of code only. I
would need the complete JSON request and response logs that were generated when
you made the API servi
Hi Ejay,
I am using Google Ads API. Above is python code which I am running from
terminal. I am not sure about SOAP request you are asking.
I will try to check and see if I can provide that, meanwhile I think you
could please clarify the syntax that I am using is right ? If theak syntax
is r
Hi Vinutha,
Thanks for posting your concern.
Could you clarify first whether you are using the AdWords API or Google Ads
API? If you are using AdWords API, would you mind providing the complete SOAP
request and response logs together with the customer ID via Reply privately to
author option? Y
Hi,
I have used the following setting in my code :
# Set the bidding strategy and budget.
campaign.manual_cpc.enhanced_cpc_enabled.value = False
campaign.campaign_budget.value =
campaign_budget_response.results[0].resource_name
campaign.bidding_strategy_type = client.get_type('BiddingStrategyTyp
14 matches
Mail list logo