Re: About create / update Ads via API.

2016-10-13 Thread T.Motodate
Thanks a lot for your kindness, Joyce!

2016年10月14日金曜日 11時11分56秒 UTC+9 Joyce Lava:
>
> Hello,
>
> Glad to hear that I was able to help. Just to add, for second concern, I 
> recommend adding the new ad first before deleting the old one just to make 
> sure that the new ad will be available already before the old one gets 
> removed from the adGroup.
>
> Thanks,
> Joyce, AdWords API Team
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/ac052d88-d4a2-4de0-8b93-0e8302451259%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: About create / update Ads via API.

2016-10-13 Thread 'Joyce Lava' via AdWords API Forum
Hello,

Glad to hear that I was able to help. Just to add, for second concern, I 
recommend adding the new ad first before deleting the old one just to make 
sure that the new ad will be available already before the old one gets 
removed from the adGroup.

Thanks,
Joyce, AdWords API Team

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/ce34848b-2839-4c1e-9db9-06283e2000b5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: About create / update Ads via API.

2016-10-13 Thread T.Motodate
Thank you very much for your answer, Joyce!

About Question1:
I'll try to create according to your answer.

About Question2:
Got it.
The way that removing old ads and creating new ads can realize our 
requirements.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/2aece853-2fcc-4898-8670-c89cf74f3cd0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: About create / update Ads via API.

2016-10-13 Thread 'Joyce Lava' via AdWords API Forum
Hello,

Please see below my answers to the questions:

1) About create banner ad.

There is no example code available that shows how to create banner ad. 
> However, you may use the AddExpandedTextAds.java 
> 
>  (Java 
> client library example code) as a reference to create an ImageAd 
> 
>  or 
> use any Template Ads 
>  
> available 
> in the API. Please follow these steps to help you get started:
>
 

a. create the ImageAd 
> 
>  object; 
> required fields can be seen in the doc.
> b. create the Image 
> 
>  object. 
> Please consider the image requirements 
>  when 
> creating the Image object. Set this image to the ImageAd created in step a. 
> c. set the ImageAd as the ad 
> 
>  of 
> the AdGroupAd 
> ,
>  
> then do the AdGroupAdService.mutate 
> 
>  operation.
>
 

The AddHtml5Ad.java 
> 
>  (Java 
> client library example code) can also be used as a reference when dealing 
> with creation of TemplateAds. Available Template Ads are provided in the 
> link above. Other client libraries example codes are available here 
> .


2) About update ads.

The only field that you can update in an ad is the status field as 
> discussed here 
> .
>  
> There is no available example code that shows how to update the 
> adGroupAdStatus 
> 
>  but 
> you may refer to the below SOAP logs to see how it is being done. 
>
 

http://schemas.xmlsoap.org/soap/envelope/; 
> xmlns:xsd="http://www.w3.org/2001/XMLSchema; 
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance;>
> 
>  xmlns:ns1="https://adwords.google.com/api/adwords/cm/v201609; 
> soapenv:mustUnderstand="0">
> 
> YOUR_CLIENT_CUSTOMER_ID
> YOUR_DEVELOPER_TOKEN
> YOUR_USER_AGENT
> false
> false
> 
> 
> 
> https://adwords.google.com/api/adwords/cm/v201609;>
> 
> SET
> 
> YOUR_ADGROUP_ID
> 
> YOUR_AD_ID
> 
> PAUSED
> 
> 
> 
> 
> 


> Additionally, If you need to update any other fields, then yes, you need 
> to remove the existing ad and create a new one.


Hope this helps.

Best,
Joyce, AdWords API Team 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/28cf94ea-a162-46c3-950b-39b195dedd6c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.