Hi Ran,

Based on the logs you've provided, it seems that you are trying to create a 
text ad from this line *<type>TEXT_AD</type>*. This type of ad is no longer 
supported for creation and I suggest you upgrade to expanded text ads 
instead (refer here 
<https://ads-developers.googleblog.com/2017/01/upgrade-to-expanded-text-ads-and.html>
 for 
more information). You may follow the Java (available also in other 
languages) code example on this link 
<https://developers.google.com/adwords/api/docs/samples/java/basic-operations#add-expanded-text-ads-to-an-ad-group>
 to 
create an expanded text ad. If you still encounter any issues after using 
expanded text ads, please provide your clientCustomerId, and the complete 
SOAP request and response logs so I can further investigate the issue on my 
end. you can send it to me via *Reply privately to author*.

Let me know if you have further clarifications.

Thanks,
Luis
AdWords API Team

On Friday, November 9, 2018 at 7:43:58 AM UTC+8, RAN HU wrote:
>
>
> <?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="
> 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";><soap:Header><ns1:RequestHeader 
> xmlns:ns1="https://adwords.google.com/api/adwords/cm/v201809"; xmlns="
> https://adwords.google.com/api/adwords/cm/v201809";><ns1:developerToken>xxxx</ns1:developerToken><ns1:userAgent>xxx</ns1:userAgent><ns1:validateOnly>false</ns1:validateOnly><ns1:clientCustomerId>xxx-xxx-xxxx</ns1:clientCustomerId></ns1:RequestHeader></soap:Header><soap:Body><mutate
>  
> xmlns="https://adwords.google.com/api/adwords/cm/v201809
> "><operations><operator>ADD</operator><operand><adGroupId>64560939249</adGroupId><ad><url>
> www.google.ca</url><displayUrl>www.google.ca</displayUrl><finalUrls>
> www.google.ca
> </finalUrls><type>TEXT_AD</type></ad></operand></operations></mutate></soap:Body></soap:Envelope>
>
>
>
> resopnse [EntityNotFound.INVALID_ID @ operations[0].operand.ad.id; 
> trigger:'<null>']
>
> i am trying to add ads using AdGroupAdService, why i need ad id
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
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 [email protected].
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/60831601-dca6-4d03-9f69-2028bb1320a4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • ... RAN HU
    • ... 'Luis Xander Talag (AdWords API Team)' via AdWords API and Google Ads API Forum

Reply via email to