Hi,

You can determine if an ad has had an override in the past by
selecting all AdExtensionsOverrides with the adId:

  <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/
envelope/" xmlns:v20="https://adwords.google.com/api/adwords/cm/
v200909">
     <soapenv:Header>
        <v20:RequestHeader>
           ...
        </v20:RequestHeader>
     </soapenv:Header>
     <soapenv:Body>
        <v20:get>
           <v20:selector>
              <v20:adIds>XXXXXXX</v20:adIds>
           </v20:selector>
        </v20:get>
     </soapenv:Body>
  </soapenv:Envelope>

The returned AdExtensionsOverrides' LocationExtension will contain the
address.  If you want to show the ad with a different address you will
need to delete the ad and recreate it.

Best,
- Eric

On Apr 16, 5:21 pm, SW <ga...@structuredweb.com> wrote:
> I am facing an issue with adding an adextension override.
>
> Here is the sequence of calls I am making.
>
> 1) Delete existing ad extension override (that is tied to the add)
> 2) Add new ad extension override to the same ad (which had ad
> extension override but deleted earlier)
>
> One of your other forum ("edit ad extension error") states that you
> can not change the address of an ad extension once it has been
> assigned once.  I would like to know how can I tell if Ad was assigned
> an adextension address from looking at either ad or extension object.
> And, if can we get previous address?
>
> If these things are not possible, do we have to delete the whole ad
> and recreate the ad?
>
> I am getting following error when trying above 2 steps:
>
> {com.google.api.adwords.lib.AdWordsApiException:
> [AdExtensionOverrideError.ADEXTENSION_LATITUTE_CANNOT_CHANGE_AFTER_BEING_SE 
> T_ONCE
> @ operations[0].operand.adExtension,
> AdExtensionOverrideError.ADEXTENSION_LONGITUDE_CANNOT_CHANGE_AFTER_BEING_SE 
> T_ONCE
> @ operations[0].operand.adExtension] --->
> System.Web.Services.Protocols.SoapException:
> [AdExtensionOverrideError.ADEXTENSION_LATITUTE_CANNOT_CHANGE_AFTER_BEING_SE 
> T_ONCE
> @ operations[0].operand.adExtension,
> AdExtensionOverrideError.ADEXTENSION_LONGITUDE_CANNOT_CHANGE_AFTER_BEING_SE 
> T_ONCE
> @ operations[0].operand.adExtension]
>    at
> System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClien 
> tMessage
> message, WebResponse response, Stream responseStream, Boolean
> asyncCall)
>    at
> System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String
> methodName, Object[] parameters)
>    at com.google.api.adwords.lib.SoapServiceBase.Call(String
> methodName, Object[] parameters)
>    --- End of inner exception stack trace ---
>
> --
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> Have you migrated to v200909 yet?
> The v13 sunset is on April 22, 2010.
>
> Also find us on our blog and discussion 
> group:http://adwordsapi.blogspot.comhttp://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 
> athttp://groups.google.com/group/adwords-api?hl=en

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

Reply via email to