Re: i want to update ad,but i have a problem

2022-12-01 Thread keji dianfei
thank you for you help

在2022年12月2日星期五 UTC+8 11:26:02 写道:

> Hi Keji,
>
> Thank you for getting back to our team. Please note that I had to delete 
> your post in the forum as it contained your logs.
>
> Moving forward, it appears that you have encountered 2 errors. That said, 
> you may see the items below: 
>
>- *quota_error: RESOURCE_EXHAUSTED* 
>
> >>> Kindly note that Basic access level allows the developer token to 
> execute up to 15,000 operations per day. You may check this API Limits 
> and Quotas 
> 
>  documentation 
> for more information. Also, for more information about the said error, you 
> may check this document 
> 
> .
>
>- * ad_error: CANNOT_MODIFY_AD* 
>
> >>> Upon checking, it appears that the type of this ad is 
> VIDEO_TRUEVIEW_IN_STREAM_AD 
> .
>  
> Having said that, kindly note that mutating video campaigns 
> 
>  including 
> its lower entities such as VIDEO_TRUEVIEW_IN_STREAM_AD cannot be mutated at 
> all from the API. In addition, you can see in this documentation 
> 
>  which 
> shows that the video ad is immutable and the Google Ads API permits only 
> reporting  for 
> this.
>
> Let us know if you have further questions.
>
> Regards,
> [image: Google Logo] 
> Carmela 
> Google Ads API Team 
>   
>
>
> ref:_00D1U1174p._5004Q2ghMxg: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/437c29cb-d72c-4294-998f-f72ea1843259n%40googlegroups.com.


Re: i want to update ad,but i have a problem

2022-12-01 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Keji,

Thank you for getting back to our team. Please note that I had to delete your 
post in the forum as it contained your logs.

Moving forward, it appears that you have encountered 2 errors. That said, you 
may see the items below:

quota_error: RESOURCE_EXHAUSTED

>>> Kindly note that Basic access level allows the developer token to execute 
>>> up to 15,000 operations per day. You may check this API Limits and Quotas 
>>> documentation for more information. Also, for more information about the 
>>> said error, you may check this document.

ad_error: CANNOT_MODIFY_AD

>>> Upon checking, it appears that the type of this ad is 
>>> VIDEO_TRUEVIEW_IN_STREAM_AD. Having said that, kindly note that mutating 
>>> video campaigns including its lower entities such as 
>>> VIDEO_TRUEVIEW_IN_STREAM_AD cannot be mutated at all from the API. In 
>>> addition, you can see in this documentation which shows that the video ad 
>>> is immutable and the Google Ads API permits only reporting for this.

Let us know if you have further questions.

Regards,

Carmela
Google Ads API Team
ref:_00D1U1174p._5004Q2ghMxg: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/Bt4UQ0RM8UUS00yypBkTlARw6pgyOMhHqnNg%40sfdc.net.


Re: i want to update ad,but i have a problem

2022-12-01 Thread keji dianfei

Failure message: errors {
  error_code {
ad_error: CANNOT_MODIFY_AD
  }
  message: "Cannot modify an ad."
  location {
field_path_elements {
  field_name: "operations"
  index: 0
}
  }
}
request_id: "v6jjhrE6qEDJQaPJwsnv_Q"
在2022年12月2日星期五 UTC+8 08:36:25 写道:

> Request
> ---
> MethodName: google.ads.googleads.v10.services.AdService/MutateAds
> Endpoint: googleads.googleapis.com:443
> Headers: {developer-token=REDACTED, login-customer-id=5883563550 
> <(588)%20356-3550>, x-goog-api-client=gl-java/1.8.0_341 gccl/17.0.1 
> gapic/17.0.1 gax/2.6.1 grpc/1.41.0}
> Body: customer_id: "5883563550 <(588)%20356-3550>"
> operations {
>   update {
> resource_name: "customers/5883563550 <(588)%20356-3550>
> /ads/625438768553"
> tracking_url_template: 
> "{lpurl}?df_source=Google_acid={accountid}_cam={campaignid}_grp={adgroupid}_ad={creative}_kw={keyword}"
>   }
>   update_mask {
> paths: "resource_name"
> paths: "tracking_url_template"
>   }
> }
>
> 在2022年12月1日星期四 UTC+8 23:23:43 写道:
>
>> Hi keji,
>>
>> Thank you for reaching out to the Google Ads API support team.
>>
>> To investigate the issue further, could you please 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 
>> .You 
>> can provide it via Reply privately to author option. If this option is not 
>> available, you may send the details directly to our 
>> googleadsa...@google.com 
>> 
>>  alias 
>> instead. Let me know if you have any questions.
>>
>> Thanks, 
>> [image: Google Logo] 
>> Nirmita 
>> Google Ads API Team 
>>   
>>
>> ref:_00D1U1174p._5004Q2ghMxg: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/2a99d45a-9557-4364-9957-aa4f2f2eca2dn%40googlegroups.com.


Re: i want to update ad,but i have a problem

2022-12-01 Thread keji dianfei
Request
---
MethodName: google.ads.googleads.v10.services.AdService/MutateAds
Endpoint: googleads.googleapis.com:443
Headers: {developer-token=REDACTED, login-customer-id=5883563550, 
x-goog-api-client=gl-java/1.8.0_341 gccl/17.0.1 gapic/17.0.1 gax/2.6.1 
grpc/1.41.0}
Body: customer_id: "5883563550"
operations {
  update {
resource_name: "customers/5883563550/ads/625438768553"
tracking_url_template: 
"{lpurl}?df_source=Google_acid={accountid}_cam={campaignid}_grp={adgroupid}_ad={creative}_kw={keyword}"
  }
  update_mask {
paths: "resource_name"
paths: "tracking_url_template"
  }
}

在2022年12月1日星期四 UTC+8 23:23:43 写道:

> Hi keji,
>
> Thank you for reaching out to the Google Ads API support team.
>
> To investigate the issue further, could you please 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 
> .You 
> can provide it via Reply privately to author option. If this option is not 
> available, you may send the details directly to our 
> googleadsa...@google.com 
> 
>  alias 
> instead. Let me know if you have any questions.
>
> Thanks, 
> [image: Google Logo] 
> Nirmita 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2ghMxg: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/5dca671d-5481-437b-bfe6-2eb842fb15cdn%40googlegroups.com.


Re: i want to update ad,but i have a problem

2022-12-01 Thread keji dianfei
Request
---
MethodName: google.ads.googleads.v10.services.AdService/MutateAds
Endpoint: googleads.googleapis.com:443
Headers: {developer-token=REDACTED, login-customer-id=5883563550, 
x-goog-api-client=gl-java/1.8.0_341 gccl/17.0.1 gapic/17.0.1 gax/2.6.1 
grpc/1.41.0}
Body: customer_id: "5883563550"
operations {
  update {
resource_name: "customers/5883563550/ads/625438768553"
tracking_url_template: 
"{lpurl}?df_source=Google_acid={accountid}_cam={campaignid}_grp={adgroupid}_ad={creative}_kw={keyword}"
  }
  update_mask {
paths: "resource_name"
paths: "tracking_url_template"
  }
}


Response

Headers: 
Metadata(content-type=application/grpc,request-id=cgyQVn1VIKk2GCNdwQx3cg,date=Fri,
 
02 Dec 2022 00:32:43 GMT,alt-svc=h3=":443"; ma=2592000,h3-29=":443"; 
ma=2592000,h3-Q050=":443"; ma=2592000,h3-Q046=":443"; 
ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43")
Body: null
Failure message: errors {
  error_code {
quota_error: RESOURCE_EXHAUSTED
  }
  message: "Too many requests. Retry in 23123 seconds."
  details {
quota_error_details {
  rate_scope: DEVELOPER
  rate_name: "Number of operations for basic access"
  retry_delay {
seconds: 23123
  }
}
  }
}
request_id: "cgyQVn1VIKk2GCNdwQx3cg"

Status: Status{code=RESOURCE_EXHAUSTED, description=Resource has been 
exhausted (e.g. check quota)., cause=null}.

在2022年12月1日星期四 UTC+8 23:23:43 写道:

> Hi keji,
>
> Thank you for reaching out to the Google Ads API support team.
>
> To investigate the issue further, could you please 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 
> .You 
> can provide it via Reply privately to author option. If this option is not 
> available, you may send the details directly to our 
> googleadsa...@google.com 
> 
>  alias 
> instead. Let me know if you have any questions.
>
> Thanks, 
> [image: Google Logo] 
> Nirmita 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2ghMxg: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/62a89712-0629-4f2b-b6bb-e7ca4f9b148an%40googlegroups.com.


i want to update ad,but i have a problem

2022-12-01 Thread keji dianfei
  When I use the ad updated interface,Responsive search ad  can be updated 
successfully.
But other types of ads will show some error messages.as follows:
Failure message: errors {
  error_code {
ad_error: CANNOT_MODIFY_AD
  }
  message: "Cannot modify an ad."
  location {
field_path_elements {
  field_name: "operations"
  index: 0
}
  }
}
request_id: "v6jjhrE6qEDJQaPJwsnv_Q"

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/6cd8f5b5-7ad6-49d1-b4d2-36198d252276n%40googlegroups.com.


RE: About update ad group ad

2022-04-22 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi,

Thanks for reaching out to the Google Ads API Support team.

With regard to your concern,  I can refer you to this documentation that not 
all campaign types in the Google Ads UI are supported in the API, such as Video 
Campaigns. Video campaign metrics are available for retrieval in the API. This 
is the reason why the error occurred as mutating video campaign entities such 
as videos is not supported in the Google Ads API.

Regards,

Darwin
Google Ads API Team
ref:_00D1U1174p._5004Q2a5Rv0: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/5ogbc0RAQE9900Zb5sxgRURF6qmSo9jA32kQ%40sfdc.net.


About update ad group ad

2022-04-21 Thread 李虎
Hello,
Can I use google ads api to update assets under an ad group ad? because 
when I tried to update an ad group ad, I got the error below:
{"result": {"error_code": 8001, "error_message": "Request with ID 
\"-jrle0w165IPk0Hsg6tY-w\" failed with status \"INVALID_ARGUMENT\" and 
includes the following errors:{Error with message \"Field 
'ad.app_ad.youtube_videos' cannot be modified by 'UPDATE' operation.\". On 
field: operations On field: update On field: ad On field: app_ad On field: 
youtube_videos}"}}
any help is appreciated.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/15b2682d-5f54-45da-b335-fc0b784cca65n%40googlegroups.com.


Re: update ad with REST throws fieldMask error

2021-01-08 Thread Google Ads API Forum Advisor Prod
Hi Antonio,

Thank you for reaching out. Please send the requested information to our email 
alias googleadsapi-supp...@google.com.

Thanks and regards,
Xiaoming, Google Ads API Team


Xiaoming
Google Ads API Team
ref:_00D1U1174p._5004Q2AH7Zp: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/ve5-y0QMMVRE00udwYYwW5S0W_DVUGSNaKqg%40sfdc.net.


Re: update ad with REST throws fieldMask error

2021-01-08 Thread Antonio Cortina

Hi,

Thanks for your response.

I cant reply privately to author, system says that I have not permission to 
reply author on this group


El jueves, 7 de enero de 2021 a las 23:23:00 UTC+1, adsapiforumadvisor 
escribió:

> Hi Antonio,
>
> Thank you for reaching out. Could you confirm that the ad you were 
> updating was the expandedTextAd type? If so, could you please share the 
> complete request and response logs along with the client customer id and 
> the ad id via the *Reply privately to author* option for us to further 
> investigate?
>
> Thanks and regards,
> Xiaoming, Google Ads API Team
>  
> [image: Google Logo] 
> Xiaoming 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2AH7Zp: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/8ed01817-3e72-4e48-a6d7-02e196a4e67fn%40googlegroups.com.


Re: update ad with REST throws fieldMask error

2021-01-07 Thread Google Ads API Forum Advisor Prod
Hi Antonio,

Thank you for reaching out. Could you confirm that the ad you were updating was 
the expandedTextAd type? If so, could you please share the complete request and 
response logs along with the client customer id and the ad id via the Reply 
privately to author option for us to further investigate?

Thanks and regards,
Xiaoming, Google Ads API Team

Xiaoming
Google Ads API Team
ref:_00D1U1174p._5004Q2AH7Zp: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/59thO0QML4TO00VZ3KTQg7SXWCEpx5wEfXAw%40sfdc.net.


Re: update ad with REST throws fieldMask error

2021-01-07 Thread Antonio Cortina
Hi,

Thanks for your response, but i think that i cant do so much with this info:

"GoogleAdsGoogleadsV6Services__AdOperation": { "id": 
"GoogleAdsGoogleadsV6Services__AdOperation", "properties": { "update": { 
"$ref": "GoogleAdsGoogleadsV6Resources__Ad", "description": "Update 
operation: The ad is expected to have a valid resource name in this format: 
`customers/{customer_id}/ads/{ad_id}`" }, "updateMask": { "format": 
"google-fieldmask", "description": "FieldMask that determines which 
resource fields are modified in an update.", "type": "string" } }, "type": 
"object", "description": "A single update operation on an ad." },

I read this google groups 
thread https://www.mail-archive.com/adwords-api@googlegroups.com/msg83318.html 
where in fieldMask uses () to name all fields of a compound object. If I do 
this i dont receive an error response but the fields doesnt update:

const url = 'https://googleads.googleapis.com/v6/customers/' + 
dataIn.customerId + '/ads:mutate';

let data = {
  "operations": [
{
  "updateMask": "finalUrls, expandedTextAd()",
  "update": {
"resourceName": dataIn.advert['ad']['resourceName'],
"finalUrls": dataIn.advert['ad']['finalUrls'],
"expandedTextAd": {
  "description": 
dataIn.advert['ad']['expandedTextAd']['description'],
  "description2": 
dataIn.advert['ad']['expandedTextAd']['description2'],
  "headlinePart1": 
dataIn.advert['ad']['expandedTextAd']['headlinePart1'],
  "headlinePart2": 
dataIn.advert['ad']['expandedTextAd']['headlinePart2'],
  "headlinePart3": 
dataIn.advert['ad']['expandedTextAd']['headlinePart3']
}
  }
}
  ]
};

Do you have any idea?

Thanks




El miércoles, 6 de enero de 2021 a las 6:58:49 UTC+1, adsapiforumadvisor 
escribió:

> Hi Antonio,
>
> Thank you for sending these details.
>
> You can try and review this documentation 
>  for more 
> information on how you can implement REST and include the necessary 
> fields/details for your request.
>
> Let me know if this helps.
>
> Best regards,
>
> [image: Google Logo] 
> Peter Laurence Napa Oliquino 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2AH7Zp: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/484f179f-0896-4ecf-a53a-f669cd229baen%40googlegroups.com.


Re: update ad with REST throws fieldMask error

2021-01-05 Thread Google Ads API Forum Advisor Prod
Hi Antonio,

Thank you for sending these details.

You can try and review this documentation for more information on how you can 
implement REST and include the necessary fields/details for your request.

Let me know if this helps.

Best regards,

Peter Laurence Napa Oliquino
Google Ads API Team
ref:_00D1U1174p._5004Q2AH7Zp: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/94u1L0QMI0L400cp3VljkaTSuRo4HzuR1y_w%40sfdc.net.


Re: update ad with REST throws fieldMask error

2021-01-05 Thread Antonio Cortina
Thanks for your response.

Im not using Node.js client library, Im just using REST.

The payload sended is something like this:

{"operations":[{"updateMask":"final_urls, 
expanded_text_ad","update":{"resourceName":"customers/193635/ads/4897XXX","final_urls":["http://x.es/anuncio-ed"],"expanded_text_ad":{"description":"Mejor
 
pollo a domicilio en 30 minutos 1"}}}]}

And this is the response:

{"code":400,"message":"Request contains an invalid 
argument.","status":"INVALID_ARGUMENT","details":[{"@type":"type.googleapis.com/google.ads.googleads.v6.errors.GoogleAdsFailure","errors":[{"errorCode":{"fieldMaskError":"FIELD_NOT_FOUND"},"message":"The
 
field mask contained an invalid field: ' 
expanded_text_ad'.","location":{"fieldPathElements":[{"fieldName":"operations","index":0}]}}]}]}

Is possible check generated fieldMasks client libraries by resource or 
something like this?

Thanks
 

El lunes, 4 de enero de 2021 a las 23:51:32 UTC+1, adsapiforumadvisor 
escribió:

> Hi Antonio,
>
> Thank you for reaching out. Could you please confirm you are not making 
> API calls using the third party Node.js client library? Please make sure 
> the resource name you are using is following this pattern: 
> customers/{customer_id}/ads/{ad_id}. Please also give it a try to use 
> expanded_text_ad instead of expanded_text_ad.description for the updateMask 
> field. 
>
> Thanks and regards,
> Xiaoming, Google Ads API Team
>
>  
> [image: Google Logo] 
> Xiaoming 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2AH7Zp: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/659e5f69-a743-4625-b1f4-088e7874a63bn%40googlegroups.com.


RE: update ad with REST throws fieldMask error

2021-01-04 Thread Google Ads API Forum Advisor Prod
Hi Antonio,

Thank you for reaching out. Could you please confirm you are not making API 
calls using the third party Node.js client library? Please make sure the 
resource name you are using is following this pattern: 
customers/{customer_id}/ads/{ad_id}. Please also give it a try to use 
expanded_text_ad instead of expanded_text_ad.description for the updateMask 
field.

Thanks and regards,
Xiaoming, Google Ads API Team


Xiaoming
Google Ads API Team
ref:_00D1U1174p._5004Q2AH7Zp: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/uB2U70QMFM4X001fW_lCBLRH-VWvLvriHlXA%40sfdc.net.


update ad with REST throws fieldMask error

2021-01-04 Thread Antonio Cortina
Hi,

Im using google ads api REST in an angular + node app.

I can modify final_urls from google ads but not expanded_text_ad 
properties. I tried several paths and I cant achieve it.

This is part of my code in node with the endpoint and payload object:

const url = 'https://googleads.googleapis.com/v6/customers/' + 
dataIn.customerId + '/ads:mutate';

let data = { 
  "operations": [
{ 
  "updateMask": "final_urls, expanded_text_ad.description",
  "update": {
"resourceName": dataIn.advert['ad']['resourceName'],
"final_urls": dataIn.advert['ad']['finalUrls'],
"expanded_text_ad": {
  "description": 
dataIn.advert['ad']['expandedTextAd']['description']
} 
  } 
} 
  ] 
};

This is the error:
{"code":400,"message":"Request contains an invalid 
argument.","status":"INVALID_ARGUMENT","details":[{"@type":"type.googleapis.com/google.ads.googleads.v6.errors.GoogleAdsFailure","errors":[{"errorCode":{"fieldMaskError":"FIELD_NOT_FOUND"},"message":"The
 
field mask contained an invalid field: ' 
expanded_text_ad.description'.","location":{"fieldPathElements":[{"fieldName":"operations","index":0}]}}]}]}

I read this documentation about fieldMask but i dont know what im doing 
wrong:
https://github.com/protocolbuffers/protobuf/blob/master/php/src/Google/Protobuf/FieldMask.php

Can you help me?

PD: I know that client libraries generates fieldMasks path but i cant use 
them.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/0e3c8563-cc1c-4dea-a5da-6fa076361fafn%40googlegroups.com.


Update ad with REST, fieldMask error

2021-01-04 Thread Antonio Cortina
Hi,

Im using google ads api REST in an angular + node app.

I can modify final_urls from google ads but not expanded_text_ad 
properties. I tried several paths and I cant achieve it.

This is part of my code in node with the endpoint and payload object:

const url = 'https://googleads.googleapis.com/v6/customers/' + 
dataIn.customerId + '/ads:mutate';

let data = { 
  "operations": [
{ 
  "updateMask": "final_urls, expanded_text_ad.description",
  "update": {
"resourceName": dataIn.advert['ad']['resourceName'],
"final_urls": dataIn.advert['ad']['finalUrls'],
"expanded_text_ad": {
  "description": 
dataIn.advert['ad']['expandedTextAd']['description']
} 
  } 
} 
  ] 
};

I read this documentation about fieldMask but i dont know what im doing 
wrong:
https://github.com/protocolbuffers/protobuf/blob/master/php/src/Google/Protobuf/FieldMask.php

Can you help me?

PD: I know that client libraries generates fieldMasks path but i cant use 
them.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/8de90d2e-de5f-4697-8507-78fa8170c0d0n%40googlegroups.com.


RE: Update Ad

2019-08-09 Thread Google Ads API Forum Advisor Prod
Hi Dan,

Thank you for reaching out to support. The AdService supports mutability of ads 
for the Ad types that are available here. The Gmail ads are not yet supported 
for this feature. Please keep an eye on our blog for more updates.

Regards,
Bharani, Google Ads API Team
ref:_00D1U1174p._5001UEIUmo: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/CAzOe0PVZ3VR00Dk8neGKXTKS5Rkskc9AP7g%40sfdc.net.


Update Ad

2019-08-09 Thread Dan


I try to update an ad using AdService/MutateAds
if the ad type is EXTENDED_TEXT_AD the service works correctly.
if the ad type is GMAIL_AD the service fails.
By the following the request and the response:
Request

MethodName: google.ads.googleads.v2.services.AdService/MutateAds
Endpoint: googleads.googleapis.com:443
Headers: {developer-token=REDACTED, login-customer-id=XX, 
x-goog-api-client=gl-java/1.8.0_201 gapic/ gax/ grpc/}
Body: customer_id: "XX"
operations {
update {
final_urls {
value: "XX"
}
type: GMAIL_AD
tracking_url_template {
value: "XX"
}
resource_name: "customers/XX/ads/XX"
}
update_mask {
paths: "resource_name"
paths: "final_urls"
paths: "tracking_url_template"
paths: "type"
}
}
Response

Headers: 
Metadata(content-type=application/grpc,request-id=r1ZL8RaOBYJpVdl-3dvpEA,date=Thu,
 
08 Aug 2019 14:54:14 GMT,alt-svc=quic=":443"; ma=2592000; v="46,43,39")
Body: null
Failure message: errors {
error_code {
ad_error: INVALID_AD_TYPE
}
message: "Invalid Ad type. A specific type of Ad is required."
trigger {
string_value: ""
}
location {
field_path_elements {
field_name: "operations"
index {
}
}
field_path_elements {
field_name: "update"
}
field_path_elements {
field_name: "resource_name"
}
}
}

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/b7e8be60-d87b-4ac9-ba0b-268469bf8038%40googlegroups.com.


RE: Update Ad status to Approved/Paused for YouTube campaigns

2019-06-13 Thread Google Ads API Forum Advisor Prod
Hi Avia,

Thanks for reaching out.

The YouTube campaigns have yet to be supported in AdWords API and Google Ads 
API so I am afraid that updating the Ad status that belongs to this type to 
Approved/Paused is currently not possible. For now, you may continue to follow 
our blog for announcements or updates regarding this feature.

Hope this helps.

Regards,
Ejay
Google Ads API Team
ref:_00D1U1174p._5001UBmzSa: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/OyLg20PT0Y2uChqKiSSZeqZ8B19eT9Fg%40sfdc.net.


Update Ad status to Approved/Paused for YouTube campaigns

2019-06-12 Thread 'Avia Zharia' via AdWords API and Google Ads API Forum
Hi,
There is a way for updating Ad Status to Approved/Paused for YouTube 
campaigns?

Thanks,
Avia

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/62878fd8-4b62-4f28-97a4-b9ce99980a7e%40googlegroups.com.


Re: Try to update ad group keyword

2018-12-11 Thread 'Dannison Yao (AdWords API Team)' via AdWords API and Google Ads API Forum
Hi Rahat,

If you have concerns or issue with the AdWords API, could you open your 
concern in a new thread and elaborate further so I could better assist you?

Regards,
Dannison
AdWords API Team

On Tuesday, December 11, 2018 at 11:19:52 PM UTC+8, Rahat wrote:
>
> 
> 
>   (adsbygoogle = window.adsbygoogle || []).push({
> google_ad_client: "ca-pub-5768703770817569",
> enable_page_level_ads: true
>   });
> 
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/7a9144aa-7f1c-42bc-a1ef-e5cf72dc719e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Try to update ad group keyword

2018-12-11 Thread Rahat


  (adsbygoogle = window.adsbygoogle || []).push({
google_ad_client: "ca-pub-5768703770817569",
enable_page_level_ads: true
  });


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/6c81493d-40a7-471b-b88a-dea62af57a6f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Try to update ad group keyword

2018-12-02 Thread Rahat


On Tuesday, November 13, 2018 at 2:33:35 PM UTC-8, RAN HU wrote:
>
> Hi Google,
>
> Try to update ad group keywords
>
> folowing is soap request
>
> http://schemas.xmlsoap.org/soap/envelope/; xmlns:xsi="
> http://www.w3.org/2001/XMLSchema-instance;  xmlns:tns="
> https://adwords.google.com/api/adwords/cm/v201809; xmlns:jaxb="
> http://java.sun.com/xml/ns/jaxb;> xmlns:ns1="https://adwords.google.com/api/adwords/cm/v201809; xmlns="
> https://adwords.google.com/api/adwords/cm/v201809;>false466-486-9756  
> xmlns="https://adwords.google.com/api/adwords/cm/v201809;>SET  
> xsi:type="BiddableAdGroupCriterion">67565296692  
> xsi:type="Keyword">570779695132KEYWORDKeywordTEST1
>  
> PHRASEENABLED
> http://www.example.com/mars
> 
>
> but it does NOT update keyword of criterion
>
> Thanks,
> Ran
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/8a451256-6c3f-454e-a355-e8013d4b15cf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Try to update ad group keyword

2018-11-14 Thread 'Dannison Yao (AdWords API Team)' via AdWords API and Google Ads API Forum
Hi Ran,

I have received the requested information you provided privately on another 
thread. For better communication, I will respond in this thread.

Upon my investigation, I was not able to find the adGroupId you are using. 
Could you confirm that this adGroupId (63567506098) still exists in your 
account? You may confirm this by running the AdGroupService.get() 
<https://developers.google.com/adwords/api/docs/reference/v201809/AdGroupService#get>
 and 
see if the adGroupId (63567506098) is returned in this service.  I asked 
this because upon checking from my end, it appears that this adGroup 
doesn't belong to any campaign and might have caused the issue why the 
keyword update is not working properly.

If it was not returned, could you change the adGroupId to a valid or 
existing one before doing your service call again? After changing the 
adGroupId and it still did not update your keyword, kindly provide the 
complete SOAP request and response logs that were generated by using the *reply 
privately to author* in this thread so I could investigate further. 
However, if it returns the specified adGroupId, kindly inform me the 
campaignId it belongs to so I could check on this further.

Regards,
Dannison
AdWords API Team

On Wednesday, November 14, 2018 at 6:33:35 AM UTC+8, RAN HU wrote:
>
> Hi Google,
>
> Try to update ad group keywords
>
> folowing is soap request
>
> http://schemas.xmlsoap.org/soap/envelope/; xmlns:xsi="
> http://www.w3.org/2001/XMLSchema-instance;  xmlns:tns="
> https://adwords.google.com/api/adwords/cm/v201809; xmlns:jaxb="
> http://java.sun.com/xml/ns/jaxb;> xmlns:ns1="https://adwords.google.com/api/adwords/cm/v201809; xmlns="
> https://adwords.google.com/api/adwords/cm/v201809;>false466-486-9756  
> xmlns="https://adwords.google.com/api/adwords/cm/v201809;>SET  
> xsi:type="BiddableAdGroupCriterion">67565296692  
> xsi:type="Keyword">570779695132KEYWORDKeywordTEST1
>  
> PHRASEENABLED
> http://www.example.com/mars
> 
>
> but it does NOT update keyword of criterion
>
> Thanks,
> Ran
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/5f875dfa-4918-40ce-b5ca-245a0de2b1b7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Try to update ad group keyword

2018-11-13 Thread 'Dannison Yao (AdWords API Team)' via AdWords API and Google Ads API Forum
Hi Ran,

Could you provide the complete SOAP request and response logs that show it 
does not update the keyword via *reply privately to author* so I could 
investigate this further?

Regards,
Dannison
AdWords API Team

On Wednesday, November 14, 2018 at 6:33:35 AM UTC+8, RAN HU wrote:
>
> Hi Google,
>
> Try to update ad group keywords
>
> folowing is soap request
>
> http://schemas.xmlsoap.org/soap/envelope/; xmlns:xsi="
> http://www.w3.org/2001/XMLSchema-instance;  xmlns:tns="
> https://adwords.google.com/api/adwords/cm/v201809; xmlns:jaxb="
> http://java.sun.com/xml/ns/jaxb;> xmlns:ns1="https://adwords.google.com/api/adwords/cm/v201809; xmlns="
> https://adwords.google.com/api/adwords/cm/v201809;>false466-486-9756  
> xmlns="https://adwords.google.com/api/adwords/cm/v201809;>SET  
> xsi:type="BiddableAdGroupCriterion">67565296692  
> xsi:type="Keyword">570779695132KEYWORDKeywordTEST1
>  
> PHRASEENABLED
> http://www.example.com/mars
> 
>
> but it does NOT update keyword of criterion
>
> Thanks,
> Ran
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/71c6d8a7-5560-4e0a-ae4d-d8196f902008%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Try to update ad group keyword

2018-11-13 Thread RAN HU
Hi Google,

Try to update ad group keywords

folowing is soap request

http://schemas.xmlsoap.org/soap/envelope/; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance;  
xmlns:tns="https://adwords.google.com/api/adwords/cm/v201809; 
xmlns:jaxb="http://java.sun.com/xml/ns/jaxb;>https://adwords.google.com/api/adwords/cm/v201809; 
xmlns="https://adwords.google.com/api/adwords/cm/v201809;>false466-486-9756https://adwords.google.com/api/adwords/cm/v201809;>SET67565296692570779695132KEYWORDKeywordTEST1
 
PHRASEENABLEDhttp://www.example.com/mars

but it does NOT update keyword of criterion

Thanks,
Ran

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/ebd38ceb-84fe-48e3-a48e-9a6b8a502efd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: how can I update ad ?

2015-12-16 Thread Yin Niu
Hi Jonathan, 

Ad group ad fields are not mutable 

 
except for *status *field. 

Thanks,
Yin

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/436b1f87-e731-46c1-8fba-2703420a5979%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


how can I update ad ?

2015-12-15 Thread jonathan
I'm trying to update and ad, I'm using the ad AdgroupAdService, with the 
SET operation but this doesn´t work.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/2ddf8567-3eb3-499b-90f7-73e60f858e0d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Update ad fields

2014-07-04 Thread adwords
Hi, 

i want to update headline, description 1, description 2, url etc... of an 
AD... 

I have to delete / pause then create a new one ? or can i update directly 
an ad  ? 

I don't find any code.

thanks

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups AdWords 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 Forum group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Update ad fields

2014-07-04 Thread Danial Klimkin
Hello,


Ads in AdWords are immutable. To update an Ad you need to create a new one 
and delete the old one. The same happens if you update an Ad via the User 
Interface.


-Danial, AdWords API Team.


On Thursday, July 3, 2014 11:44:57 PM UTC+4, adw...@web2roi.com wrote:

 Hi, 

 i want to update headline, description 1, description 2, url etc... of an 
 AD... 

 I have to delete / pause then create a new one ? or can i update directly 
 an ad  ? 

 I don't find any code.

 thanks


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups AdWords 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 Forum group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Is there a way to update ad extensions through the API?

2013-08-16 Thread Paul Matthews (AdWords API Team)
Hi Herb,

Yes, you can update ad extensions through the API. If you're interested in 
updating upgraded ad extensions, then you'll need the Feed 
Serviceshttps://developers.google.com/adwords/api/docs/guides/feed-services. 
If you're looking to update legacy ad extensions, then you'll need the 
CampaignAdExtensionServicehttps://developers.google.com/adwords/api/docs/reference/v201306/CampaignAdExtensionService
.

Regards,

- Paul, AdWords API Team.

On Thursday, 15 August 2013 09:53:58 UTC-4, Herb Brittner wrote:

 Is there a way to update ad extensions through the API or can you only do 
 it through the AdWords interface?  Or if I create an upgraded sitelink 
 through the API will AdWords consider that an upgrade and only use the 
 newly created extension?


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups AdWords 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 Forum group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Is there a way to update ad extensions through the API?

2013-08-15 Thread Herb Brittner
Is there a way to update ad extensions through the API or can you only do 
it through the AdWords interface?  Or if I create an upgraded sitelink 
through the API will AdWords consider that an upgrade and only use the 
newly created extension?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups AdWords 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 Forum group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Update Ad

2011-07-27 Thread AdWords API Advisor
Hi Doug,

Once you create an Ad, only a few fields like cpc and status can be updated. 
If you need to update destination url, heading, etc., then you need to 
delete the old ad and create a copy of the Ad. This is how AdWords work, the 
behaviour is not specific to AdWords API.

Cheers,
Anash P. Oommen,
AdWords API Advisor.

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups AdWords 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


Re: Update Ad

2011-07-26 Thread Doug
Ok so I have tried updating $adGroupAd-ad-url 

  $adGroupAd-ad-url = http://www.google.com;;

It says it was successful, but when I get the Ad again it is still the old 
URL.

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups AdWords 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


Re: Update Ad

2011-07-26 Thread Doug
Can only STATUS be updated with the SET operator?

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups AdWords 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


Update Ad

2011-07-25 Thread Doug
Hello!

I have found UpdateAd but I have been doing some research on the act of 
updating an Ad. You cannot modify an Ad, correct? It sets the old ad's 
status as DISABLED and creates an entirely new one. This process removes all 
the statistics associated with the old Ad right?

Here under UpdateAd I have found this:

  // Create ad with updated status.
  $ad = new Ad();
  $ad-id = $adId;

  $adGroupAd = new AdGroupAd();
  $adGroupAd-adGroupId = $adGroupId;
  $adGroupAd-ad = $ad;
  $adGroupAd-status = 'PAUSED';

Is it possible to change the destination URL of the Ad using this? Something 
like:

  $adGroupAd-ad-destinationUrl = myNEWurl.com?blah=foo;

Any advice would be REALLY helpful! :)

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups AdWords 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


Re: HOW TO UPDATE AD PARAMETER?

2011-06-21 Thread Reeta Malik
Here is the code:  Here id's and other things are correct.

// Get the AdGroupAdService.
  $adGroupAdService = $userGetAdGroupAdService();

  $adGroupId = (float) $engineAdGroupId;
  $adId = (float) $engineAdvertisementId;
 
  
  // Create text ad.
  $textAd = new TextAd();
  $textAd-id = $adId;
  $textAd-headline = $title;
  $textAd-description1 = $desc1;
  $textAd-description2 = $desc2;
  $textAd-displayUrl = $displayURL;
  $textAd-url = $destinationURL;
  
 
  $adGroupAd = new AdGroupAd();
  $adGroupAd-adGroupId = $adGroupId;
  $adGroupAd-ad = $textAd;
  $adGroupAd-status = $status;

  // Create operations.
  $operation = new AdGroupAdOperation();
  $operation-operand = $adGroupAd;
  $operation-operator = 'SET';

  $operations = array($operation);

  // Update ad.
  $result = $adGroupAdService-mutate($operations);

  // Display ads.
  if (isset($result-value)) {
foreach ($result-value as $adGroupAd) {
return $adGroupAd;
}
  } else {
print No ads were updated.;
  }

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups AdWords 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


Re: HOW TO UPDATE AD PARAMETER?

2011-06-20 Thread Sanju
Can u provide the code how U r updating the fields.

On Jun 19, 2:09 pm, Reeta Malik reetama...@gmail.com wrote:
 Hi,

 I am using v11 to update all text ads.

 When I update status field of my text ad, then it updated successfully, but
 when try to
 update others ad parameters like headline, description1, description2,
 displayUrl and url field, it is not updated? why?

 Please help me how to update these text ad's parameters along with status of
 text ad.
 Any help would be appreciated.
 Thanks.

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups AdWords 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