Uploaded image for project: 'Yell'
  1. Yell
  2. YELL-999

On redeployment of inactive account or cancelled campaign then it throws OPERATION_NOT_PERMITTED_FOR_REMOVED_ENTITY error

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: AdWords v201406
    • Fix Version/s: AdWords v201406
    • Component/s: None
    • Labels:
      None
    • Environment:

      Server: Yell-xml1
      Build details
      SMS Core: p8-r2908823ef3b68e274af492e0e3738f63cfd92fd7
      SMS Service: p1-r1a57e1402ac5feb91f31d274ad288097b814d629.ear

    • Epic/Theme:
    • Sprint:
      Sprint 3

      Description

      When we redeploy an inactive account or account having cancelled campaigns then its throwing OPERATION_NOT_PERMITTED_FOR_REMOVED_ENTITY error.

      Snippet of the log

      2014-09-19 06:08:58.687 (2) [pool-3-thread-2]: - com.google.api.ads.adwords.axis.v201406.cm.OperationAccessDenied: OperationAccessDenied.OPERATION_NOT_PERMITTED_FOR_REMOVED_ENTITY: Error Type=OperationAccessDenied field=operations[0], trigger=
      2014-09-19 06:08:58.687 (3) [pool-3-thread-2]: (ExtraInfo) We can't retry.
      2014-09-19 06:08:58.687 (2) [pool-3-thread-2]: com.google.api.ads.adwords.axis.v201406.cm.OperationAccessDenied: ApiError: fieldpath=operations[0], trigger= apierrortype=OperationAccessDenied, reason=OPERATION_NOT_PERMITTED_FOR_REMOVED_ENTITY
      2014-09-19 06:08:58.687 (3) [pool-3-thread-2]: Not retrying exception. message1=[OperationAccessDenied.OPERATION_NOT_PERMITTED_FOR_REMOVED_ENTITY @ operations[0]]
      2014-09-19 06:08:58.687 (3) [pool-3-thread-2]: Caught other/unrecoverable API Error: "com.thesearchagency.adextension.exception.CampaignAdExtensionException"
      2014-09-19 06:08:58.687 (1) [pool-3-thread-2]: Exception [Could not create Location Extension for campaign: OLFDLCT06_1000000024_736_OLFDLCT06-3_GM belonging to 2934563453]:com.thesearchagency.searchengines.SearchEngineCommandException: com.thesearchagency.adextension.exception.CampaignAdExtensionException: Error while adding Location Extension
      at com.thesearchagency.adextension.util.APIExceptionHandler.launderCampaignAdExtensionException(APIExceptionHandler.java:647)
      at com.thesearchagency.adextension.operation.LocationExtensionFeedOperation.add(LocationExtensionFeedOperation.java:47)
      at com.thesearchagency.adextension.operation.LocationExtensionFeedOperation.add(LocationExtensionFeedOperation.java:16)
      at com.thesearchagency.admaxlistener.worker.GoogleAccountWorker.handleAdExtenstions(GoogleAccountWorker.java:731)
      at com.thesearchagency.admaxlistener.worker.GoogleAccountWorker.processGCEResults(GoogleAccountWorker.java:655)
      at com.thesearchagency.admaxlistener.worker.AccountWorker.processResults(AccountWorker.java:253)
      at com.thesearchagency.admaxlistener.worker.AccountWorker.call(AccountWorker.java:136)

      Database details

      Before redeploy
      mysql> select * from locationExtension where campaignName like '%OLFDLCT06%';
      -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+

      id locationIdentifier campaignIdentifier campaignId campaignName streetAddress1 streetAddress2 cityName provinceName countryCode postalCode phoneNumber companyName searchEngineUserIdentifier

      -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+

      2535 1168356611 202679585 1008322 OLFDLCT06_1000000024_736_OLFDLCT06-3_GT Liberty House, 222, Regent Street Oxford Circus, Oxford London United Kingdom GB W1B 5Tr NULL TEST Branch DN 2934563453
      2536 1168398102 202679345 1008320 OLFDLCT06_1000000024_736_OLFDLCT06-2_GT Liberty House, 222, Regent Street Oxford Circus, Oxford London United Kingdom GB W1B 5Tr NULL TEST Branch DN 2934563453
      2537 1168374754 202679705 1008323 OLFDLCT06_1000000024_736_OLFDLCT06-3_GM Liberty House, 222, Regent Street Oxford Circus, Oxford London United Kingdom GB W1B 5Tr NULL TEST Branch DN 2934563453
      2538 1168374757 202679465 1008321 OLFDLCT06_1000000024_736_OLFDLCT06-2_GM Liberty House, 222, Regent Street Oxford Circus, Oxford London United Kingdom GB W1B 5Tr NULL TEST Branch DN 2934563453

      -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+

      After redeploy

      mysql> select * from locationExtension where campaignName like '%OLFDLCT06%';
      Empty set (0.00 sec)

      mysql> select * from locationExtensionFeed where campaignName like '%OLFDLCT06%';
      -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+

      id feedId feedItemId feedMappingId campaignIdentifier campaignId campaignName streetAddress1 streetAddress2 cityName provinceName countryCode postalCode phoneNumber companyName searchEngineUserIdentifier

      -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+

      1038 20384149 844217469 22211220 202679465 1008321 OLFDLCT06_1000000024_736_OLFDLCT06-2_GM Liberty House, 222, Regent Street Oxford Circus, Oxford United Kingdom London GB W1B 5Tr NULL   2934563453
      1039 20384149 843353699 22211220 202679345 1008320 OLFDLCT06_1000000024_736_OLFDLCT06-2_GT Liberty House, 222, Regent Street Oxford Circus, Oxford United Kingdom London GB W1B 5Tr NULL   2934563453

      -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
      2 rows in set (0.00 sec)

      Note: Redeployment goes through and other than cancelled campaigns location extension are migrated to feed extension.

        Attachments

          Activity

            People

            • Assignee:
              ajay.nagaraj Ajay Nagaraj (Inactive)
              Reporter:
              anil.kumar Anil Kumar Halmadgi
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: