Re: How to modify Target CPM ?

2021-03-23 Thread Google Ads API Forum Advisor Prod
Hello,

You will need to reach out to the Scripts team to see if this is possible 
through Google Ads Scripts. If it is not, then you will need to use the Google 
Ads UI to update these values. You can use the API to mutate other ad groups 
such as ones found in search or display campaigns.

Regards,
Anthony

Anthony
Google Ads API Team
ref:_00D1U1174p._5004Q2DxeEF: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/3yGvS0QQFBES00wP4rkyw1RD-1HbOgptGvMw%40sfdc.net.


Re: How to modify Target CPM ?

2021-03-22 Thread Klaudia Pietrzyk
Can you give me some advice? Is there any way to achieve this aim? 
For example via some script etc.. ?? 
 Because I understand if I'd try something via  below:
https://googleads.googleapis.com/v6/customers//adGroups/ccc/adGroups:mutate
for video won't work but for another campaign its okay? 

poniedziaƂek, 22 marca 2021 o 18:11:15 UTC+1 adsapiforumadvisor napisaƂ(a):

> Hi Klaudia,
>
> Video campaigns are not mutable in the API. You can only use reporting to 
> get details on these campaigns. More details can be found here 
> 
> .
>
> Regards,
> Anthony
>
> [image: Google Logo] 
> Anthony 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2DxeEF: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/182d282b-8db2-402a-8425-3d59391e77b8n%40googlegroups.com.


RE: How to modify Target CPM ?

2021-03-22 Thread Google Ads API Forum Advisor Prod
Hi Klaudia,

Video campaigns are not mutable in the API. You can only use reporting to get 
details on these campaigns. More details can be found here.

Regards,
Anthony

Anthony
Google Ads API Team
ref:_00D1U1174p._5004Q2DxeEF: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/7wyUa0QQDRQ900nt3NOyWIQoeHAl_7xRdILA%40sfdc.net.


How to modify Target CPM ?

2021-03-22 Thread Klaudia Pietrzyk
   I tried to modify value for "Video Campaign"  for example in Google 
Adword UI I set 30 for Target CPm and I'd like to update it from api: 

bid ="100"
 ad_group_operation = client.get_type("AdGroupOperation", version="v6")
ad_group = ad_group_operation.update
ad_group.resource_name = ad_group_service.ad_group_path(
customer_id, ad_group_id
)
ad_group.status = client.get_type("AdGroupStatusEnum", version="v6").PAUSED
# rechabged value here cpc_bid_micros   target_cpm_micros cpm_bid_micros
ad_group.target_cpm_micros = bid
fm = protobuf_helpers.field_mask(None, ad_group)
ad_group_operation.update_mask.CopyFrom(fm)


I don't know what I' m doing wrong I serached documentation but I didn;t 
find anything useful.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/cf3dd325-f2e4-4b3f-991f-ee54076fe827n%40googlegroups.com.