Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: Extensions
-
Fix Version/s: None
-
Component/s: AdMax
-
Labels:None
-
Environment:
BUILD Details
BidMgr : p1-r2855
Description
When there are more than one campaigns with ad extension feature then it throws AdExtensionError.CANNOT_HAVE_MULTIPLE_MOBILE_EXTENSIONS_PER_CAMPAIGN exception.
Call Extensions for all campaigns are created in adwords, but the same number of entries are not shown in the table.
Entries in the table.
mysql> select * from mobileExtension where campaignName like '%TGEX25%';
---------------------------------------------------------------------------------------------------------
id | mobileIdentifier | campaignIdentifier | campaignId | campaignName | phoneNumber | countryCode |
---------------------------------------------------------------------------------------------------------
1468 | 289490842 | 145513642 | 1007072 | TGEX25_1000000410_691_TGEX25-3_GT | 01924441423 | GB |
1469 | 289491202 | 145513162 | 1007068 | TGEX25_1000000007_691_TGEX25-1_GT | 01924441421 | GB |
1470 | 289491442 | 145513762 | 1007073 | TGEX25_1000000410_691_TGEX25-3_GM | 01924441423 | GB |
1471 | 289491682 | 145513282 | 1007069 | TGEX25_1000000007_691_TGEX25-1_GM | 01924441421 | GB |
1472 | 289491922 | 145514002 | 1007075 | TGEX25_1000000024_691_TGEX25-4_GM | 01924441423 | GB |
1473 | 289492282 | 145513402 | 1007070 | TGEX25_1000000049_691_TGEX25-2_GT | 01924441422 | GB |
---------------------------------------------------------------------------------------------------------
6 rows in set (0.00 sec)
Snap shot attached for adwords.
Snippet of the log
2013-08-16 07:51:42.540 (1) [pool-9-thread-1]: Error while creating Mobile Extension for Campaign Id: 1007071
2013-08-16 07:51:42.541 (2) [pool-9-thread-1]: ApiErrors: 1 ApiError(s) found:
2013-08-16 07:51:42.541 (2) [pool-9-thread-1]: - com.google.api.ads.adwords.axis.v201302.cm.AdExtensionError: AdExtensionError.CANNOT_HAVE_MULTIPLE_MOBILE_EXTENSIONS_PER_CAMPAIGN: Error Type=AdExtensionError field=operations[0].operand.adExtension, trigger=
2013-08-16 07:51:42.541 (3) [pool-9-thread-1]: (ExtraInfo) We can't retry.
2013-08-16 07:51:42.541 (2) [pool-9-thread-1]: com.google.api.ads.adwords.axis.v201302.cm.AdExtensionError: ApiError: fieldpath=operations[0].operand.adExtension, trigger= apierrortype=AdExtensionError, reason=CANNOT_HAVE_MULTIPLE_MOBILE_EXTENSIONS_PER_CAMPAIGN
2013-08-16 07:51:42.541 (3) [pool-9-thread-1]: Not retrying exception. message1=[AdExtensionError.CANNOT_HAVE_MULTIPLE_MOBILE_EXTENSIONS_PER_CAMPAIGN @ operations[0].operand.adExtension]
2013-08-16 07:51:42.541 (3) [pool-9-thread-1]: Caught other/unrecoverable API Error: "com.thesearchagency.adextension.exception.CampaignAdExtensionException"
2013-08-16 07:51:42.541 (1) [pool-9-thread-1]: Exception [Could not create Adextension]:com.thesearchagency.searchengines.SearchEngineCommandException: com.thesearchagency.adextension.exception.CampaignAdExtensionException: Error while adding Mobile Extension
at com.thesearchagency.admaxlistener.worker.GoogleAccountWorker.createMobileAdExtension(GoogleAccountWorker.java:788)
at com.thesearchagency.admaxlistener.worker.GoogleAccountWorker.handleAdExtenstions(GoogleAccountWorker.java:699)
at com.thesearchagency.admaxlistener.worker.GoogleAccountWorker.processGCEResults(GoogleAccountWorker.java:622)
Caused by: [AdExtensionError.CANNOT_HAVE_MULTIPLE_MOBILE_EXTENSIONS_PER_CAMPAIGN @ operations[0].operand.adExtension]
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at java.lang.Class.newInstance0(Class.java:350)
at java.lang.Class.newInstance(Class.java:303)
Steps to reprodude
Step 1: Deploy a deployment request with more than one campaign.
Step 2: Check the deployment listener log.
Step 3: Check database and adwords.
Actual Result : Throws AdExtensionError.CANNOT_HAVE_MULTIPLE_MOBILE_EXTENSIONS_PER_CAMPAIGN while creating mobile extension, creates in adwords and doesnt make entry in database.
Expected Result : Should not throw exception.
Note : Call extensions are created in adwords and entries are missing in tables.