Details
-
Type: Bug
-
Status: Resolved
-
Priority: Minor
-
Resolution: Won't Fix
-
Affects Version/s: Google v201101
-
Fix Version/s: None
-
Component/s: Google
-
Labels:None
-
Environment:
tsa-build-bidmgr-2011-10-27-p66-r30759 (pre-timezone) and later builds
Description
SEA = search engine account (aka Google campaign in AdWords)
SEU = search engine user (aka Google account in AdWords)
compared results of the build specified in Environment (which uses v201101 Google API version) against build tsa-build-bidmgr-2011-06-21-p458-r29728/ (which uses v13 Google API version)
===PREREQUISITE TO REPRODUCE BUG===
verify SEU 3201 is linked to Martian Tourism account
verify SEU 8 is linked to CSC account
verify there is an SEA that has accountID=17 and searchEngineUserID=3201
===STEPS TAKEN===
// with each build (v13 and v201101) you're testing with, do the following...
// use the SEU db shard (as opposed to account db shard)
delete from sync_google.googleAds where searchEngineUserID in (8,3201);
delete from sync_google.googleKeywords where searchEngineUserID in (8,3201);
// use the account db shard
delete from st-tracker.sources where accountID=17;
// link /usr/local/tsa/bidmgr to the build you are testing with
./seupdate.sh -d3 --distribution 3 --groups --listings --accountid 17
// save this resultset for later comparison
select * FROM `st-tracker`.sources where accountID=17 group by searchEngineAccountID;
===PROBLEM===
What you should see from the resultset is that v13 returned data for the SEA that uses accountID=17 and searchEngineUserID=3201, but v201101 does not return data for that
For select * FROM `st-tracker`.sources where accountID=17 group by searchEngineAccountID; gives 20 rows for v13 but only 19 (usually) for v201101. The missing row is:
id altKey accountID siteID searchEngineAccountID keywordID distributionID searchEngineIdentifier searchEngineGroupIdentifier searchEngineMatchType searchEngineGroupID isBiddable campaignID description type keyword sourceURL cost maxCost waypointID landingURL passParams trackPerformance searchEngineStatus searchEngineStatusText lastChecked
296647990 17 0 33948 0 3 Content Network 1430323888 content 3 true 0 Content Network 7 Content Network 0.11 0.11 true ok Content Network 0000-00-00 00:00:00
I did a query on all the SEAs v13 gets back...
mysql> SELECT id,accountID,searchEngineUserID,description,searchEngineIdentifier FROM tsacommon.searchEngineAccounts where id in (43,69,4465,28206,28207,28451,30739,30960,30961,31227,31300,33917,33918,33948,36626,36627,36628,36633,36634,56515);
----------------------------------------------------------------------------------------------------------------
id | accountID | searchEngineUserID | description | searchEngineIdentifier |
----------------------------------------------------------------------------------------------------------------
43 | 17 | 8 | #9765BF - CSC BF with Cost | #993BT - Was Camp #1 - Test | 3279161 |
69 | 17 | 8 | Campaign Number 2 | 3568841 |
4465 | 17 | 8 | Campaign #4 – Site Targeted | 8046491 |
28206 | 17 | 8 | Campaign #5: CPM content with keywords | 31372391 |
28207 | 17 | 8 | Campaign #6 | 31832651 |
28451 | 17 | 8 | Campaign #9 | 32303891 |
30739 | 17 | 8 | Campaign #10 | 35511131 |
30960 | 17 | 8 | Campaign Sync #1 | 35562881 |
30961 | 17 | 8 | Campaign #12 | 35709401 |
31227 | 17 | 8 | Campaign #15 | 37953101 |
31300 | 17 | 8 | Campaign #17 | 38718731 |
33917 | 17 | 8 | Campaign #20 - keywords | 42672791 |
33918 | 17 | 8 | Campaign #20 placements | 42673421 |
33948 | 17 | 3201 | #0000BF - Test No BF | #000BT - Test No BT | 45599278 |
36626 | 17 | 8 | Campaign #30 CPM | 46143101 |
36627 | 17 | 8 | Campaign #31 CPM | 46159301 |
36628 | 17 | 8 | Campaign #20 | 45940421 |
36633 | 17 | 8 | Campaign #22 - auto bidding | 46266401 |
36634 | 17 | 8 | TestSyncCPC2CPM | 46292231 |
56515 | 17 | 8 | Campaign #27 | 61049531 |
----------------------------------------------------------------------------------------------------------------
20 rows in set (0.00 sec)
... the missing SEA in v2011 is that row where searchEngineUserID=3201
SEU 3201 is linked to accountID 618
mysql> SELECT id,accountID,description FROM tsacommon.searchEngineUsers where id in (8,3201);
------------------------------------------------
id | accountID | description |
------------------------------------------------
8 | 17 | WWMW - Cellular Safety Commission |
3201 | 618 | Martian Tourism |
------------------------------------------------
2 rows in set (0.00 sec)
I verified data for SEU 3201 is pulled into the google_sync tables on its shard in v201101
So it seems the issue has to do with the mismatch between the TSA account shard and the SEU shard for creating sources (which get created on the TSA account shard by reading from the SEU shard google_sync tables)