Hi,
Keyword not deleting
$criterion = new Criterion();
$criterion->id = $criterionId;
// Create ad group criterion.
$adGroupCriterion = new BiddableAdGroupCriterion();
$adGroupCriterion->adGroupId = $adGroupId;
$adGroupCriterion->userStatus = "DELETED";
$adGroupCriterion->criterion = new
Criterion($criterionId);
// Create operations.
$operation = new AdGroupCriterionOperation();
$operation->operand = $adGroupCriterion;
$operation->operator = 'SET';
if i pause keyword then it's working
$criterion = new Criterion();
$criterion->id = $criterionId;
// Create ad group criterion.
$adGroupCriterion = new BiddableAdGroupCriterion();
$adGroupCriterion->adGroupId = $adGroupId;
$adGroupCriterion->userStatus = "PAUSED";
$adGroupCriterion->criterion = new
Criterion($criterionId);
// Create operations.
$operation = new AdGroupCriterionOperation();
$operation->operand = $adGroupCriterion;
$operation->operator = 'SET';
reply me
On Apr 5, 8:22 pm, AdWords API Advisor <[email protected]>
wrote:
> Hi,
>
> The AdWords web interface allows you to connect an AdWords account to
> a Local Business Center (LBC) account. Each night all of the
> addresses in the LBC account will be synced with AdWords, resulting in
> a CampaignAdExtension containing a LocationExtension containing the
> address. Linking to an LBC account is currently only possible via the
> web interface, but you can see the resulting CampaignAdExtensions
> using the API.
>
> Best,
> - Eric
>
> On Apr 3, 7:03 am, "[email protected]" <[email protected]>
> wrote:
>
>
>
> > Hi,
>
> > Please explain me Ad extension := Business owners - Use addresses from
> > a Local Business Center account:
>
> > how this functionality will work and what is the api for this.
>
> > how the address will override at create ad level.
>
> > Explain me full functionlaity.
>
> > Thanks
>
> > On Apr 2, 11:50 pm, AdWords API Advisor <[email protected]>
> > wrote:
>
> > > Hi,
>
> > > I was able to replicate this issue, and there seems to be a problem
> > > with the way the backend handles provinceCodes. I'll raise this issue
> > > with the core engineering team.
>
> > > Right now it seems like the service is only storing the provinceName
> > > value. For now, if you populate this field when using the
> > > GeoLocationService you should be able to pass it along to the
> > > CampaignAdExtensionService and get it to show up correctly in the
> > > AdWords web interface.
>
> > > Best,
> > > - Eric
>
> > > On Apr 2, 7:39 am, "[email protected]" <[email protected]>
> > > wrote:
>
> > > > Hi,
>
> > > > // Create address.
> > > > $address = new Address();
> > > > $address->streetAddress = '1600 Amphitheatre Parkway';
> > > > $address->cityName = 'Mountain View';
> > > > $address->provinceCode = 'US-CA';
> > > > $address->postalCode = '94043';
> > > > $address->countryCode = 'US';
>
> > > > when i add campaign ad extension with above fields ... so in
> > > > googleadwords not publishing the province code.
> > > > it showing like
> > > > abc
> > > > 1600 Amphitheatre Parkway
> > > > Mountain View, 94043
>
> > > > reply me ASAP
> > > > Thanks
>
> > > > On Mar 31, 7:35 pm, AdWords API Advisor <[email protected]>
> > > > wrote:
>
> > > > > Hi,
>
> > > > > To delete the old ad extension override you need to use the REMOVE
> > > > > operator.
>
> > > > > Best,
> > > > > - Eric
>
> > > > > On Mar 30, 6:29 am, "[email protected]" <[email protected]>
> > > > > wrote:
>
> > > > > > hi
>
> > > > > > status AdExtensionOverride.Status Status of
> > > > > > ad extension
> > > > > > override at the ad level. The status will start ACTIVE on add and
> > > > > > will
> > > > > > become DELETED on remove (ie. cannot modify status) This field is
> > > > > > read
> > > > > > only and should not be set.
>
> > > > > > 1. Enumerations
> > > > > > 1. ACTIVE
> > > > > > 2. DELETED
>
> > > > > > here for delete the ad extension override ... the set operation is
> > > > > > not
> > > > > > working.
>
> > > > > > On Mar 29, 7:47 pm, AdWords API Advisor
> > > > > > <[email protected]>
> > > > > > wrote:
>
> > > > > > > Hi,
>
> > > > > > > To change the LocationExtension override for an ad you must first
> > > > > > > REMOVE the old AdExtensionOverride and then ADD the new one.
>
> > > > > > > Best,
> > > > > > > - Eric
>
> > > > > > > On Mar 26, 7:12 am, "[email protected]"
> > > > > > > <[email protected]>
> > > > > > > wrote:
>
> > > > > > > > hi
>
> > > > > > > > i have one ad which is already overridden by ad extension. so
> > > > > > > > now i
> > > > > > > > want to override with different local business ad extension.
>
> > > > > > > > request is
>
> > > > > > > > Array
> > > > > > > > (
> > > > > > > > [0] => AdExtensionOverrideOperation Object
> > > > > > > > (
> > > > > > > > [operand] => AdExtensionOverride Object
> > > > > > > > (
> > > > > > > > [adId] => 4609056651
> > > > > > > > [adExtension] => AdExtension Object
> > > > > > > > (
> > > > > > > > [id] => 77669151
> > > > > > > > [AdExtensionType] =>
> > > > > > > > [_parameterMap:private] => Array
> > > > > > > > (
> > > > > > > > [AdExtension.Type] =>
> > > > > > > > AdExtensionType
> > > > > > > > )
>
> > > > > > > > )
>
> > > > > > > > [overrideInfo] =>
> > > > > > > > [status] =>
> > > > > > > > [approvalStatus] =>
> > > > > > > > [stats] =>
> > > > > > > > )
>
> > > > > > > > [operator] => ADD
> > > > > > > > [OperationType] =>
> > > > > > > > [_parameterMap:private] => Array
> > > > > > > > (
> > > > > > > > [Operation.Type] => OperationType
> > > > > > > > )
>
> > > > > > > > )
> > > > > > > > )
>
> > > > > > > > response xml is
>
> > > > > > > > [faultstring] =>
> > > > > > > > [AdExtensionOverrideError.AD_ALREADY_HAS_ADEXTENSION_OVERRIDE @
> > > > > > > > operations[0].operand]
> > > > > > > > [faultcode] => soap:Server
> > > > > > > > [detail] => stdClass Object
> > > > > > > > (
> > > > > > > > [ApiExceptionFault] => stdClass Object
> > > > > > > > (
> > > > > > > > [message] =>
> > > > > > > > [AdExtensionOverrideError.AD_ALREADY_HAS_ADEXTENSION_OVERRIDE @
> > > > > > > > operations[0].operand]
> > > > > > > > [ApplicationException.Type] => ApiException
> > > > > > > > [errors] => SoapVar Object
> > > > > > > > (
> > > > > > > > [enc_type] => 0
> > > > > > > > [enc_value] =>
> > > > > > > > AdExtensionOverrideError
> > > > > > > > Object
> > > > > > > > (
> > > > > > > > [reason] =>
> > > > > > > > AD_ALREADY_HAS_ADEXTENSION_OVERRIDE
> > > > > > > > [fieldPath] =>
> > > > > > > > operations[0].operand
> > > > > > > > [trigger] =>
> > > > > > > > [ApiErrorType] =>
> > > > > > > > AdExtensionOverrideError
> > > > > > > > [_parameterMap:private] =>
> > > > > > > > Array
> > > > > > > > (
> > > > > > > > [ApiError.Type] =>
> > > > > > > > ApiErrorType
> > > > > > > > )
>
> > > > > > > > )
>
> > > > > > > > [enc_stype] =>
> > > > > > > > AdExtensionOverrideError
> > > > > > > > [enc_ns]
> > > > > > > > =>https://adwords.google.com/api/adwords/cm/v200909
> > > > > > > > )
>
> > > > > > > > )
>
> > > > > > > > )
>
> > > > > > > > )
>
> > > > > > > > On Mar 26, 7:00 am, AdWords API Advisor
> > > > > > > > <[email protected]>
> > > > > > > > wrote:
>
> > > > > > > > > Hi,
>
> > > > > > > > > Can you post the SOAP XML request and response that
> > > > > > > > > demonstrates this
> > > > > > > > > behavior?
>
> > > > > > > > > Best,
> > > > > > > > > - Eric Koleda, AdWords API Team
>
> > > > > > > > > On Mar 24, 5:42 am, "[email protected]"
> > > > > > > > > <[email protected]>
> > > > > > > > > wrote:
>
> > > > > > > > > > Hi,
>
> > > > > > > > > > when i editing the ad extension override then i getting the
> > > > > > > > > > error
> > > > > > > > > > AD_ALREADY_HAS_ADEXTENSION_OVERRIDE.
>
> > > > > > > > > > so how to override the ad-extension of ad which have already
> > > > > > > > > > overridden ad extension.
>
> > > > > > > > > > reply ASAP.
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 [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
To unsubscribe, reply using "remove me" as the subject.